changeset 33023:81003b78347b v9.0.1803

patch 9.0.1803: runtime(filetype): Add norg language detection Commit: https://github.com/vim/vim/commit/03e44a1d70e914504e6151fe88ad1e574cbf0a59 Author: NTBBloodbath <bloodbathalchemist@protonmail.com> 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 <cb@256bit.org> Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2023 19:30:03 +0200
parents 3323967355c3
children e5b8fc37e882
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1407,6 +1407,9 @@ au BufNewFile,BufRead *.ninja			setf nin
 " Nix
 au BufRead,BufNewFile *.nix			setf nix
 
+" Norg
+au BufNewFile,BufRead *.norg		setf norg
+
 " NPM RC file
 au BufNewFile,BufRead npmrc,.npmrc		setf dosini
 
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -482,6 +482,7 @@ def s:GetFilenameChecks(): dict<list<str
     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'],
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1803,
+/**/
     1802,
 /**/
     1801,