diff options
author | İlyas Akın <ilyas.akin@kuika.com> | 2024-06-02 16:57:00 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-02 16:57:00 +0200 |
commit | 7577afd5efd0f7ebf0dbbca09713185024263ed7 (patch) | |
tree | 3344ed12baf22acf153b6b4f27a070403c6d42b2 /runtime | |
parent | 36b66767195f1e39e6cc997f825bedc6c823183b (diff) |
patch 9.1.0460: filetype: lintstagedrc files are not recognizedv9.1.0460
Problem: filetype: lintstagedrc files are not recognized
Solution: recognize '.lintstagedrc' files as json filetype
(İlyas Akın)
see: https://github.com/lint-staged/lint-staged
closes: #14897
Signed-off-by: İlyas Akın <ilyas.akin@kuika.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 27879d4976..801a8f346d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1177,7 +1177,7 @@ au BufNewFile,BufRead *.ipynb,*.jupyterlab-settings setf json au BufNewFile,BufRead *.sublime-project,*.sublime-settings,*.sublime-workspace setf json " Other files that look like json -au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc,flake.lock setf json +au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc,.lintstagedrc,flake.lock setf json " JSONC (JSON with comments) au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc |