comparison runtime/filetype.vim @ 35000:0a61dc6391d8 v9.1.0355

patch 9.1.0355: filetype: flake.lock files are not recognized Commit: https://github.com/vim/vim/commit/ce736033ae86e14e8b1a56a3e4843c7ab24e48d2 Author: Riley Bruins <ribru17@hotmail.com> Date: Fri Apr 19 15:13:38 2024 +0200 patch 9.1.0355: filetype: flake.lock files are not recognized 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>
author Christian Brabandt <cb@256bit.org>
date Fri, 19 Apr 2024 15:30:05 +0200
parents f4511bd98310
children 4d5026e1c0e1
comparison
equal deleted inserted replaced
34999:feffaaeaf744 35000:0a61dc6391d8
1165 1165
1166 " Sublime config 1166 " Sublime config
1167 au BufNewFile,BufRead *.sublime-project,*.sublime-settings,*.sublime-workspace setf json 1167 au BufNewFile,BufRead *.sublime-project,*.sublime-settings,*.sublime-workspace setf json
1168 1168
1169 " Other files that look like json 1169 " Other files that look like json
1170 au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc setf json 1170 au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc,flake.lock setf json
1171 1171
1172 " JSONC (JSON with comments) 1172 " JSONC (JSON with comments)
1173 au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc 1173 au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc
1174 au BufNewFile,BufRead .jshintrc,.jscsrc,.vsconfig,.hintrc,.swrc,[jt]sconfig*.json setf jsonc 1174 au BufNewFile,BufRead .jshintrc,.jscsrc,.vsconfig,.hintrc,.swrc,[jt]sconfig*.json setf jsonc
1175 1175