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: #14803

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Riley Bruins
2024-05-19 11:26:44 +02:00
committed by Christian Brabandt
parent 4d7892bfb1
commit 5f1b115afd
5 changed files with 20 additions and 0 deletions

View File

@ -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<'