summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-04-19 15:13:38 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-19 15:13:38 +0200
commitce736033ae86e14e8b1a56a3e4843c7ab24e48d2 (patch)
treea926b98469af96b4f95cc5460fe41fa311ae22d8 /runtime/filetype.vim
parent4b3fab14dbde971f15d8783e9ef125b19fdbc829 (diff)
patch 9.1.0355: filetype: flake.lock files are not recognizedv9.1.0355
Problem: filetype: flake.lock files are not recognized Solution: Detect 'flake.lock' as json filetype (Riley Bruins) closes: #14589 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index c7fc331963..8c7c015ef3 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1167,7 +1167,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 setf json
+au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc,flake.lock setf json
" JSONC (JSON with comments)
au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc