mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.1421: Nu files are not recognized
Problem: Nu files are not recognized. Solution: Add a pattern for Nu files. (Amaan Qureshi, closes #12172)
This commit is contained in:
parent
aa26153b6c
commit
8aa2a37f89
@ -1399,6 +1399,9 @@ au BufNewFile,BufRead *.nse setf lua
|
||||
" 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
|
||||
|
||||
|
@ -412,6 +412,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1421,
|
||||
/**/
|
||||
1420,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user