diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-05-19 11:26:44 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-19 11:26:44 +0200 |
commit | 5f1b115afd92544ce64d563da0d8ee9844abb10a (patch) | |
tree | 74c693dd155b6655dbaecfe7effb6c4870365782 /runtime/filetype.vim | |
parent | 4d7892bfb1dbcc8ba19d9c60c63b3d11b758553f (diff) |
patch 9.1.0421: filetype: hyprlang files are not recognizedv9.1.0421
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: #14803
Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 3fc2e159de..35c9e20313 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1044,6 +1044,9 @@ au BufRead,BufNewFile *.hurl setf hurl " Hyper Builder au BufNewFile,BufRead *.hb setf hb +" Hyprlang +au BufNewFile,BufRead hypr\(land\|paper\|idle\|lock\).conf setf hyprlang + " Httest au BufNewFile,BufRead *.htt,*.htb setf httest |