diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-09-20 23:42:25 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-09-21 00:32:35 +0200 |
commit | 473d0aa3e6ab22eb8e10c88c3971764f1b069825 (patch) | |
tree | faced88cc4771b60cc17f84cda4c245a54c22e0b | |
parent | 23c21e763074d401e8b36a91e6568bebc1655ce9 (diff) | |
download | rneovim-473d0aa3e6ab22eb8e10c88c3971764f1b069825.tar.gz rneovim-473d0aa3e6ab22eb8e10c88c3971764f1b069825.tar.bz2 rneovim-473d0aa3e6ab22eb8e10c88c3971764f1b069825.zip |
vim-patch:9.0.1918
patch 9.0.1918: No filetype detection for Authzed filetypes
Problem: No filetype detection for Authzed filetypes
Solution: Detect the *.zed file extension as authzed filetype
closes: vim/vim#13129
https://github.com/vim/vim/commit/5790a54166793554d16f6a85d8824632860b8b37
Co-authored-by: Matt Polzin <mpolzin@workwithopal.com>
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 | ||||
-rw-r--r-- | test/old/testdir/test_filetype.vim | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index c7f025f9e7..5ae4e508ef 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -210,6 +210,7 @@ local extension = { astro = 'astro', atl = 'atlas', as = 'atlas', + zed = 'authzed', ahk = 'autohotkey', au3 = 'autoit', ave = 'ave', diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index e2b977c2b8..e5d7085d71 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -97,6 +97,7 @@ func s:GetFilenameChecks() abort \ 'asterisk': ['asterisk/file.conf', 'asterisk/file.conf-file', 'some-asterisk/file.conf', 'some-asterisk/file.conf-file'], \ 'astro': ['file.astro'], \ 'atlas': ['file.atl', 'file.as'], + \ 'authzed': ['file.zed'], \ 'autohotkey': ['file.ahk'], \ 'autoit': ['file.au3'], \ 'automake': ['GNUmakefile.am', 'makefile.am', 'Makefile.am'], |