# HG changeset patch # User Christian Brabandt # Date 1693157403 -7200 # Node ID 81003b78347b27a45f2bd864375799e8526fb259 # Parent 3323967355c330b774e02fbf6ee1d4a7b9e971e3 patch 9.0.1803: runtime(filetype): Add norg language detection Commit: https://github.com/vim/vim/commit/03e44a1d70e914504e6151fe88ad1e574cbf0a59 Author: NTBBloodbath 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 Co-authored-by: NTBBloodbath diff --git a/runtime/filetype.vim b/runtime/filetype.vim --- 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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -482,6 +482,7 @@ def s:GetFilenameChecks(): dict