mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.1803: runtime(filetype): Add norg language detection
runtime(filetype): Add norg markup language detection closes: #12913 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
This commit is contained in:
parent
e3daa06be1
commit
03e44a1d70
@ -1407,6 +1407,9 @@ au BufNewFile,BufRead *.ninja setf ninja
|
|||||||
" Nix
|
" Nix
|
||||||
au BufRead,BufNewFile *.nix setf nix
|
au BufRead,BufNewFile *.nix setf nix
|
||||||
|
|
||||||
|
" Norg
|
||||||
|
au BufNewFile,BufRead *.norg setf norg
|
||||||
|
|
||||||
" NPM RC file
|
" NPM RC file
|
||||||
au BufNewFile,BufRead npmrc,.npmrc setf dosini
|
au BufNewFile,BufRead npmrc,.npmrc setf dosini
|
||||||
|
|
||||||
|
@ -482,6 +482,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
nim: ['file.nim', 'file.nims', 'file.nimble'],
|
nim: ['file.nim', 'file.nims', 'file.nimble'],
|
||||||
ninja: ['file.ninja'],
|
ninja: ['file.ninja'],
|
||||||
nix: ['file.nix'],
|
nix: ['file.nix'],
|
||||||
|
norg: ['file.norg'],
|
||||||
nqc: ['file.nqc'],
|
nqc: ['file.nqc'],
|
||||||
nroff: ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
|
nroff: ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
|
||||||
nsis: ['file.nsi', 'file.nsh'],
|
nsis: ['file.nsi', 'file.nsh'],
|
||||||
|
@ -699,6 +699,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1803,
|
||||||
/**/
|
/**/
|
||||||
1802,
|
1802,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user