]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.2131: not all nushell files detected v9.0.2131
authorDaniel Buch Hansen <boogiewasthere@gmail.com>
Mon, 27 Nov 2023 19:00:56 +0000 (20:00 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 27 Nov 2023 19:00:56 +0000 (20:00 +0100)
Problem:  not all nushell files detected
Solution: use *.nu to detect nushell files

closes: #13586

Signed-off-by: Daniel Buch Hansen <boogiewasthere@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 5e9e015290d00ca39b314027c0561137ff1ef139..7033daddea1dfc1935f75f5dfa2fd3c29f47c6cd 100644 (file)
@@ -1460,7 +1460,7 @@ au BufNewFile,BufRead *.nse                       setf lua
 au BufNewFile,BufRead *.nsi,*.nsh              setf nsis
 
 " Nu
-au BufNewFile,BufRead {env,config}.nu          setf nu
+au BufNewFile,BufRead *.nu             setf nu
 
 " Oblivion Language and Oblivion Script Extender
 au BufNewFile,BufRead *.obl,*.obse,*.oblivion,*.obscript  setf obse
index 0018bbabfc5184126d7db07c7f4e956cd2c424b3..9aa440318b33822f9ba6f14299a773bf7ef1d2e9 100644 (file)
@@ -494,7 +494,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     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'],
+    nu: ['file.nu'],
     obj: ['file.obj'],
     objdump: ['file.objdump', 'file.cppobjdump'],
     obse: ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
index f1452de7603b2a83d09c674760491ccd959b6d8b..cfbe2fe3d1fed527188c22c2e8ab3332cb3c2d26 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2131,
 /**/
     2130,
 /**/