mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
b16b287b8f
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
5f1b115afd
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
14 lines
257 B
VimL
14 lines
257 B
VimL
" 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<'
|