Patch 9.0.1421

5 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 21, 2023, 5:28:47 PM3/21/23
to vim...@googlegroups.com

Patch 9.0.1421
Problem: Nu files are not recognized.
Solution: Add a pattern for Nu files. (Amaan Qureshi, closes #12172)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1420/runtime/filetype.vim 2023-03-21 19:57:29.617747748 +0000
--- runtime/filetype.vim 2023-03-21 21:25:05.157687821 +0000
***************
*** 1399,1404 ****
--- 1399,1407 ----
" NSIS
au BufNewFile,BufRead *.nsi,*.nsh setf nsis

+ " Nu
+ au BufNewFile,BufRead {env,config}.nu setf nu
+
" Oblivion Language and Oblivion Script Extender
au BufNewFile,BufRead *.obl,*.obse,*.oblivion,*.obscript setf obse

*** ../vim-9.0.1420/src/testdir/test_filetype.vim 2023-03-21 19:57:29.617747748 +0000
--- src/testdir/test_filetype.vim 2023-03-21 21:25:05.157687821 +0000
***************
*** 412,417 ****
--- 412,418 ----
\ 'nqc': ['file.nqc'],
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
\ 'nsis': ['file.nsi', 'file.nsh'],
+ \ 'nu': ['env.nu', 'config.nu'],
\ 'obj': ['file.obj'],
\ 'obse': ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
\ 'ocaml': ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit', 'file.mlt', 'file.mlp', 'file.mlip', 'file.mli.cppo', 'file.ml.cppo'],
*** ../vim-9.0.1420/src/version.c 2023-03-21 20:04:54.829967258 +0000
--- src/version.c 2023-03-21 21:26:11.505490130 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1421,
/**/

--
An extraordinary TALL KNIGHT in all black (possibly John with Mike on his
shoulders) walks out from the dark trees. He is extremely fierce and
gruesome countenance. He walks towards KING ARTHUR and PATSY, who are
wazzing like mad. (Salopian slang, meaning very scared. almost to the
point of wetting oneself, e.g. before an important football match or
prior to a postering. Salopian slang meaning a beating by the school
praeposters. Sorry about the Salopian slant to this stage direction - Ed.)
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// 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