Patch 9.0.0808
Problem:    jsonnet filetype detection has a typo.
Solution:   Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0807/runtime/filetype.vim        2022-10-19 15:39:45.296658667 
+0100
--- runtime/filetype.vim        2022-10-20 20:48:06.611322885 +0100
***************
*** 1004,1010 ****
  au BufNewFile,BufRead *.jsonc                 setf jsonc
  
  " Jsonnet
! au BufNewFile,BufRead *.jsonnet,*.libjsonnet  setf jsonnet
  
  " Julia
  au BufNewFile,BufRead *.jl                    setf julia
--- 1004,1010 ----
  au BufNewFile,BufRead *.jsonc                 setf jsonc
  
  " Jsonnet
! au BufNewFile,BufRead *.jsonnet,*.libsonnet   setf jsonnet
  
  " Julia
  au BufNewFile,BufRead *.jl                    setf julia
*** ../vim-9.0.0807/src/testdir/test_filetype.vim       2022-10-19 
15:39:45.296658667 +0100
--- src/testdir/test_filetype.vim       2022-10-20 20:48:06.611322885 +0100
***************
*** 289,295 ****
      \ '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'],
--- 289,295 ----
      \ '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.libsonnet'],
      \ 'jsp': ['file.jsp'],
      \ 'julia': ['file.jl'],
      \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
*** ../vim-9.0.0807/src/version.c       2022-10-20 20:15:40.991639310 +0100
--- src/version.c       2022-10-20 20:50:58.527478237 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     808,
  /**/

-- 
We apologise again for the fault in the subtitles.  Those responsible for
sacking the people who have just been sacked have been sacked.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/20221020195323.A13251C06ED%40moolenaar.net.

Raspunde prin e-mail lui