diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-11-19 22:30:50 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-11-20 09:31:15 +0100 |
commit | 4c85c217d384c79013401f09b329467c53c8a01c (patch) | |
tree | 61f66e9449587f5dafd558842f9b418a7acecb78 /runtime/lua/vim | |
parent | de9ed1ca5478481679df23f894b92b6756be7aed (diff) | |
download | rneovim-4c85c217d384c79013401f09b329467c53c8a01c.tar.gz rneovim-4c85c217d384c79013401f09b329467c53c8a01c.tar.bz2 rneovim-4c85c217d384c79013401f09b329467c53c8a01c.zip |
vim-patch:9.1.0875: filetype: hyprlang detection can be improved
Problem: filetype: hyprlang detection can be improved
Solution: detect '/hypr/*.conf' files as hyprlang filetype,
include basic syntax highlighting (Luca Saccarola)
fixes: vim/vim#15875
closes: vim/vim#16064
https://github.com/vim/vim/commit/a13bd294ab2d9ab38634c9ec51fa76205af6eb62
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 9010adf777..c23beb960c 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -2214,6 +2214,7 @@ local pattern = { ['/screengrab/.*%.conf$'] = 'dosini', ['^${GNUPGHOME}/gpg%.conf$'] = 'gpg', ['/boot/grub/grub%.conf$'] = 'grub', + ['/hypr/.*%.conf$'] = 'hyprlang', ['^lilo%.conf'] = starsetf('lilo'), ['^named.*%.conf$'] = 'named', ['^rndc.*%.conf$'] = 'named', |