summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-02-01 15:31:23 +0000
committerBram Moolenaar <Bram@vim.org>2023-02-01 15:31:23 +0000
commite8d4ae0d1153ecb45ebf48030be60640e8800540 (patch)
tree8e1ceb095935de1da873437d391ef358668769c0 /runtime
parent1b438a8228a415720efb5ca1c0503f5467292e8e (diff)
downloadvim-git-e8d4ae0d1153ecb45ebf48030be60640e8800540.tar.gz
patch 9.0.1272: typo in pattern for filetype detectionv9.0.1272
Problem: Typo in pattern for filetype detection. Solution: Fix the typo. (closes #11924)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a06b450d0..7810077cd 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1024,7 +1024,7 @@ au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc setf json
" JSONC (JSON with comments)
au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc
-au BufNewFile,BufRead .jshintc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc
+au BufNewFile,BufRead .jshintrc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc
" JSON
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json