]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1803: runtime(filetype): Add norg language detection v9.0.1803
authorNTBBloodbath <bloodbathalchemist@protonmail.com>
Sun, 27 Aug 2023 17:15:20 +0000 (19:15 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 27 Aug 2023 17:15:20 +0000 (19:15 +0200)
runtime(filetype): Add norg markup language detection

closes: #12913

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 9dc4811053bb29eb13bec666e18c6964144630f7..81764c1b590a5dbd44805d96df4268573d58c594 100644 (file)
@@ -1407,6 +1407,9 @@ au BufNewFile,BufRead *.ninja                     setf ninja
 " Nix
 au BufRead,BufNewFile *.nix                    setf nix
 
+" Norg
+au BufNewFile,BufRead *.norg           setf norg
+
 " NPM RC file
 au BufNewFile,BufRead npmrc,.npmrc             setf dosini
 
index 4fdbac5dcc5110c2dae136e9657f28e4c50b5e27..0bd6453be76e0eeba587e1137a1935821f1ae9f9 100644 (file)
@@ -482,6 +482,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     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'],
index 39afebd6642398074b1372fa04e1f49b67fea7db..08fcbeb4e9887ddb5619e9d4d4daaa4a9117fc5a 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1803,
 /**/
     1802,
 /**/