diff options
author | =?UTF-8?q?Cezary=20Dro=C5=BCak?= <cezdro@alatek.com.pl> | 2022-09-08 14:41:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-08 14:41:48 +0100 |
commit | 2a4c885d54171f68ec2c2d6eb4ae281c7fefb802 (patch) | |
tree | 58240613828e4b7cd30773a575043e9c0a359102 /runtime | |
parent | 58a3cae3eb590c375bf4823052e8d9d4165050de (diff) |
patch 9.0.0417: Jsonnet files are not recognizedv9.0.0417
Problem: Jsonnet files are not recognized.
Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073,
closes #11081)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index e79bbba35e..f445d7cb05 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -978,6 +978,9 @@ au BufNewFile,BufRead .babelrc,.eslintrc,.prettierrc,.firebaserc setf json " JSONC au BufNewFile,BufRead *.jsonc setf jsonc +" Jsonnet +au BufNewFile,BufRead *.jsonnet,*.libjsonnet setf jsonnet + " Julia au BufNewFile,BufRead *.jl setf julia |