mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 08:02:38 +00:00
vim-patch:9.0.2131: not all nushell files detected (#26260)
Problem: not all nushell files detected
Solution: use *.nu to detect nushell files
closes: vim/vim#13586
b9efc72c24
Co-authored-by: Daniel Buch Hansen <boogiewasthere@gmail.com>
This commit is contained in:
@@ -716,6 +716,7 @@ local extension = {
|
||||
tr = 'nroff',
|
||||
nsi = 'nsis',
|
||||
nsh = 'nsis',
|
||||
nu = 'nu',
|
||||
obj = 'obj',
|
||||
objdump = 'objdump',
|
||||
cppobjdump = 'objdump',
|
||||
@@ -1387,8 +1388,6 @@ local filename = {
|
||||
Neomuttrc = 'neomuttrc',
|
||||
['.netrc'] = 'netrc',
|
||||
NEWS = detect.news,
|
||||
['env.nu'] = 'nu',
|
||||
['config.nu'] = 'nu',
|
||||
['.ocamlinit'] = 'ocaml',
|
||||
['.octaverc'] = 'octave',
|
||||
octaverc = 'octave',
|
||||
|
||||
@@ -454,7 +454,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
|
||||
Reference in New Issue
Block a user