aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-05-19 11:36:11 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-05-20 00:13:40 +0200
commitb16b287b8f36a8e25b27f3009d7fdd0d39348894 (patch)
treef92f1c4d090807c4be387b60e3cb6c119b29eb5a /runtime/lua
parentee3c49a44ea0e8b42984cbbed83ac444c3d8ca2e (diff)
downloadrneovim-b16b287b8f36a8e25b27f3009d7fdd0d39348894.tar.gz
rneovim-b16b287b8f36a8e25b27f3009d7fdd0d39348894.tar.bz2
rneovim-b16b287b8f36a8e25b27f3009d7fdd0d39348894.zip
vim-patch:9.1.0421: filetype: hyprlang files are not recognized
Problem: filetype: hyprlang files are not recognized Solution: recognize 'hypr{land,paper,idle,lock}.conf' files as 'hyprlang' filetype, add hyprlang ftplugin (Riley Bruins) closes: vim/vim#14803 https://github.com/vim/vim/commit/5f1b115afd92544ce64d563da0d8ee9844abb10a Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 0ae0f9ca92..ba4667129e 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1431,6 +1431,10 @@ local filename = {
['/etc/host.conf'] = 'hostconf',
['/etc/hosts.allow'] = 'hostsaccess',
['/etc/hosts.deny'] = 'hostsaccess',
+ ['hyprland.conf'] = 'hyprlang',
+ ['hyprpaper.conf'] = 'hyprlang',
+ ['hypridle.conf'] = 'hyprlang',
+ ['hyprlock.conf'] = 'hyprlang',
['/.icewm/menu'] = 'icemenu',
['.indent.pro'] = 'indent',
indentrc = 'indent',