Patch 9.0.0417

4 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 8, 2022, 9:42:36 AM9/8/22
to vim...@googlegroups.com

Patch 9.0.0417
Problem: Jsonnet files are not recognized.
Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073,
closes #11081)
Files: runtime/filetype.vim src/testdir/test_filetype.vim


*** ../vim-9.0.0416/runtime/filetype.vim 2022-09-07 14:13:27.570136882 +0100
--- runtime/filetype.vim 2022-09-08 14:37:17.019380320 +0100
***************
*** 978,983 ****
--- 978,986 ----
" JSONC
au BufNewFile,BufRead *.jsonc setf jsonc

+ " Jsonnet
+ au BufNewFile,BufRead *.jsonnet,*.libjsonnet setf jsonnet
+
" Julia
au BufNewFile,BufRead *.jl setf julia

*** ../vim-9.0.0416/src/testdir/test_filetype.vim 2022-09-07 14:13:27.574136878 +0100
--- src/testdir/test_filetype.vim 2022-09-08 14:37:17.019380320 +0100
***************
*** 285,290 ****
--- 285,291 ----
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'],
\ 'json5': ['file.json5'],
\ 'jsonc': ['file.jsonc'],
+ \ 'jsonnet': ['file.jsonnet', 'file.libjsonnet'],
\ 'jsp': ['file.jsp'],
\ 'julia': ['file.jl'],
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
*** ../vim-9.0.0416/src/version.c 2022-09-08 13:42:50.296283575 +0100
--- src/version.c 2022-09-08 14:40:57.066919217 +0100
***************
*** 705,706 ****
--- 705,708 ----
{ /* Add new patch number below this line */
+ /**/
+ 417,
/**/

--
How To Keep A Healthy Level Of Insanity:
17. When the money comes out the ATM, scream "I won!, I won! 3rd
time this week!!!!!"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages