0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.2131: not all nushell files detected

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>
This commit is contained in:
Daniel Buch Hansen
2023-11-27 20:00:56 +01:00
committed by Christian Brabandt
parent c6754de5dd
commit b9efc72c24
3 changed files with 4 additions and 2 deletions

View 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

View 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'],

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2131,
/**/
2130,
/**/