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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220908134226.E3DA91C0B4B%40moolenaar.net.