aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/lua/vim/filetype.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 6974b6508d..3e6b99435d 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -2150,11 +2150,6 @@ local pattern = {
['/usr/.*/gnupg/options%.skel$'] = 'gpg',
['/usr/share/upstart/.*%.conf$'] = 'upstart',
['/usr/share/upstart/.*%.override$'] = 'upstart',
- ['/usr/share/X11/xkb/compat/'] = detect_xkb,
- ['/usr/share/X11/xkb/geometry/'] = detect_xkb,
- ['/usr/share/X11/xkb/keycodes/'] = detect_xkb,
- ['/usr/share/X11/xkb/symbols/'] = detect_xkb,
- ['/usr/share/X11/xkb/types/'] = detect_xkb,
},
['/var/'] = {
['/var/backups/group%.bak$'] = 'group',
@@ -2329,6 +2324,13 @@ local pattern = {
['^Neomuttrc'] = detect_neomuttrc,
['%.neomuttdebug'] = 'neomuttlog',
},
+ ['/%.?xkb/'] = {
+ ['/%.?xkb/compat/'] = detect_xkb,
+ ['/%.?xkb/geometry/'] = detect_xkb,
+ ['/%.?xkb/keycodes/'] = detect_xkb,
+ ['/%.?xkb/symbols/'] = detect_xkb,
+ ['/%.?xkb/types/'] = detect_xkb,
+ },
['^%.'] = {
['^%.cshrc'] = detect.csh,
['^%.login'] = detect.csh,