mirror of
https://github.com/neovim/neovim.git
synced 2026-04-27 09:44:07 +00:00
vim-patch:9.0.2061: not able to detect xkb filetypes
Problem: not able to detect xkb filetypes
Solution: Detect files below /u/s/X11/xkb as xkb files (without adding
an extra filetype)
Those files are used from the X11 xkb extension
closes: vim/vim#13401
ae9021a840
Co-authored-by: Guido Cella <guido@guidocella.xyz>
This commit is contained in:
@@ -1982,6 +1982,11 @@ local pattern = {
|
||||
['.*/Xresources/.*'] = starsetf('xdefaults'),
|
||||
['.*/app%-defaults/.*'] = starsetf('xdefaults'),
|
||||
['.*/etc/xinetd%.conf'] = 'xinetd',
|
||||
['.*/usr/share/X11/xkb/compat/.*'] = starsetf('xkb'),
|
||||
['.*/usr/share/X11/xkb/geometry/.*'] = starsetf('xkb'),
|
||||
['.*/usr/share/X11/xkb/keycodes/.*'] = starsetf('xkb'),
|
||||
['.*/usr/share/X11/xkb/symbols/.*'] = starsetf('xkb'),
|
||||
['.*/usr/share/X11/xkb/types/.*'] = starsetf('xkb'),
|
||||
['.*/etc/blkid%.tab'] = 'xml',
|
||||
['.*/etc/blkid%.tab%.old'] = 'xml',
|
||||
['.*%.vbproj%.user'] = 'xml',
|
||||
|
||||
Reference in New Issue
Block a user