diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-02-24 17:50:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 17:50:37 +0100 |
commit | 15cce77b383d0b0bfdaa1415cdde005cc43267d0 (patch) | |
tree | 2d88c42445d28ea84f79324f5bda6a6b8f26b850 | |
parent | 4297127f14fa1b9062db7de0d63981887ebed063 (diff) | |
download | rneovim-15cce77b383d0b0bfdaa1415cdde005cc43267d0.tar.gz rneovim-15cce77b383d0b0bfdaa1415cdde005cc43267d0.tar.bz2 rneovim-15cce77b383d0b0bfdaa1415cdde005cc43267d0.zip |
vim-patch:9.0.1351: Dhall files are not recognized (#22393)
Problem: Dhall files are not recognized.
Solution: Add patterns for Dhall files. (Amaan Qureshi, closes vim/vim#12052)
https://github.com/vim/vim/commit/def5521752abefe12db8cc3111a3b205ad1ac929
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 | ||||
-rw-r--r-- | src/nvim/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 5475f09444..a4e078fd04 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -296,6 +296,7 @@ local extension = { desc = 'desc', directory = 'desktop', desktop = 'desktop', + dhall = 'dhall', diff = 'diff', rej = 'diff', Dockerfile = 'dockerfile', diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index f77c926319..96ab5620ec 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -157,6 +157,7 @@ let s:filename_checks = { \ 'denyhosts': ['denyhosts.conf'], \ 'desc': ['file.desc'], \ 'desktop': ['file.desktop', '.directory', 'file.directory'], + \ 'dhall': ['file.dhall'], \ 'dictconf': ['dict.conf', '.dictrc'], \ 'dictdconf': ['dictd.conf', 'dictdfile.conf', 'dictd-file.conf'], \ 'diff': ['file.diff', 'file.rej'], |