vim-patch:9.0.2098: No filetype support for xcompose files (#25983)

Problem:  No filetype support for xcompose files
Solution: Add filetype detection

closes: vim/vim#13508

4f9074b96c
This commit is contained in:
ObserverOfTime
2023-11-12 01:51:25 +02:00
committed by GitHub
parent 2494009885
commit c23dd7c9ef
4 changed files with 53 additions and 0 deletions

View File

@@ -721,6 +721,7 @@ func s:GetFilenameChecks() abort
\ 'wsh': ['file.wsf', 'file.wsc'],
\ 'wsml': ['file.wsml'],
\ 'wvdial': ['wvdial.conf', '.wvdialrc'],
\ 'xcompose': ['.XCompose', 'Compose'],
\ 'xdefaults': ['.Xdefaults', '.Xpdefaults', '.Xresources', 'xdm-config', 'file.ad', '/Xresources/file', '/app-defaults/file', 'Xresources', 'Xresources-file', 'any/Xresources/file', 'any/app-defaults/file'],
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
\ 'xhtml': ['file.xhtml', 'file.xht'],