mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 19:39:53 +10:00
vim-patch:9.1.1763: filetype: kitty config files are not recognized
Problem: filetype: kitty config files are not recognized
Solution: Detect */kitty/*.conf as kitty filetype, include a syntax
script (Shawon).
closes: vim/vim#18280
a946ccf5ff
Co-authored-by: Shawon <mdmoinulhossainshawon@gmail.com>
This commit is contained in:
@@ -1702,6 +1702,7 @@ local filename = {
|
||||
Kconfig = 'kconfig',
|
||||
['Kconfig.debug'] = 'kconfig',
|
||||
['Config.in'] = 'kconfig',
|
||||
['kitty.conf'] = 'kitty',
|
||||
['ldaprc'] = 'ldapconf',
|
||||
['.ldaprc'] = 'ldapconf',
|
||||
['ldap.conf'] = 'ldapconf',
|
||||
@@ -2302,6 +2303,7 @@ local pattern = {
|
||||
['^${GNUPGHOME}/gpg%.conf$'] = 'gpg',
|
||||
['/boot/grub/grub%.conf$'] = 'grub',
|
||||
['/hypr/.*%.conf$'] = 'hyprlang',
|
||||
['/kitty/.*%.conf$'] = 'kitty',
|
||||
['^lilo%.conf'] = starsetf('lilo'),
|
||||
['^named.*%.conf$'] = 'named',
|
||||
['^rndc.*%.conf$'] = 'named',
|
||||
|
||||
Reference in New Issue
Block a user