mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
vim-patch:9.1.0291: filetype: libreoffice config files are not recognized
Problem: filetype: libreoffice config files are not recognized
Solution: Detect Libreoffice config fils as xml/dosini
(Wu, Zhenyu)
closes: vim/vim#14453
73c89bcf79
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
@@ -1167,6 +1167,10 @@ local extension = {
|
||||
xpfm = 'xml',
|
||||
spfm = 'xml',
|
||||
bxml = 'xml',
|
||||
xcu = 'xml',
|
||||
xlb = 'xml',
|
||||
xlc = 'xml',
|
||||
xba = 'xml',
|
||||
xpm = detect_line1('XPM2', 'xpm2', 'xpm'),
|
||||
xpm2 = 'xpm2',
|
||||
xqy = 'xquery',
|
||||
@@ -1326,6 +1330,8 @@ local filename = {
|
||||
['setup.cfg'] = 'dosini',
|
||||
['pudb.cfg'] = 'dosini',
|
||||
['.coveragerc'] = 'dosini',
|
||||
['psprint.conf'] = 'dosini',
|
||||
sofficerc = 'dosini',
|
||||
['/etc/pacman.conf'] = 'confini',
|
||||
['mpv.conf'] = 'confini',
|
||||
dune = 'dune',
|
||||
|
||||
Reference in New Issue
Block a user