vim-patch:9.0.1803: runtime(filetype): Add norg language detection (#24948)

runtime(filetype): Add norg markup language detection

closes: vim/vim#12913

03e44a1d70

Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
This commit is contained in:
zeertzjq 2023-08-31 04:38:01 +08:00 committed by GitHub
parent b2c3e9c72e
commit 497cf996eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -695,6 +695,7 @@ local extension = {
nimble = 'nim',
ninja = 'ninja',
nix = 'nix',
norg = 'norg',
nqc = 'nqc',
roff = 'nroff',
tmac = 'nroff',

View File

@ -442,6 +442,7 @@ func s:GetFilenameChecks() abort
\ 'nim': ['file.nim', 'file.nims', 'file.nimble'],
\ 'ninja': ['file.ninja'],
\ 'nix': ['file.nix'],
\ 'norg': ['file.norg'],
\ 'nqc': ['file.nqc'],
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
\ 'nsis': ['file.nsi', 'file.nsh'],