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/ftplugin/hyprlang.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/ftplugin/hyprlang.vim')
-rw-r--r-- | runtime/ftplugin/hyprlang.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/hyprlang.vim b/runtime/ftplugin/hyprlang.vim new file mode 100644 index 0000000000..5c186c3c5e --- /dev/null +++ b/runtime/ftplugin/hyprlang.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: hyprlang +" Maintainer: ribru17 <ribru17@gmail.com> +" Last Change: 2024 May 18 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:# commentstring=#\ %s + +let b:undo_ftplugin = 'setl com< cms<' |