patch 9.0.1803: runtime(filetype): Add norg language detection
Commit:
https://github.com/vim/vim/commit/03e44a1d70e914504e6151fe88ad1e574cbf0a59
Author: NTBBloodbath <[email protected]>
Date: Sun Aug 27 19:15:20 2023 +0200
patch 9.0.1803: runtime(filetype): Add norg language detection
runtime(filetype): Add norg markup language detection
closes: #12913
Signed-off-by: Christian Brabandt <[email protected]>
Co-authored-by: NTBBloodbath <[email protected]>
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 9dc481105..81764c1b5 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 4fdbac5dc..0bd6453be 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
diff --git a/src/version.c b/src/version.c
index 39afebd66..08fcbeb4e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1803,
/**/
1802,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qaJaN-003Puo-Mt%40256bit.org.