Mercurial > vim
comparison runtime/filetype.vim @ 34844:810cfae88ac7 v9.1.0291
patch 9.1.0291: filetype: libreoffice config files are not recognized
Commit: https://github.com/vim/vim/commit/73c89bcf79df280b8698f77374afabd9494dc741
Author: Wu, Zhenyu <wuzhenyu@ustc.edu>
Date: Tue Apr 9 22:20:55 2024 +0200
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: #14453
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 09 Apr 2024 22:30:04 +0200 |
parents | 87c0152e321c |
children | 34564bd8093f |
comparison
equal
deleted
inserted
replaced
34843:9300af6eed7d | 34844:810cfae88ac7 |
---|---|
511 au BufNewFile,BufRead *s6*/\(up\|down\|run\|finish\) setf execline | 511 au BufNewFile,BufRead *s6*/\(up\|down\|run\|finish\) setf execline |
512 au BufNewFile,BufRead s6-* setf execline | 512 au BufNewFile,BufRead s6-* setf execline |
513 | 513 |
514 " Fontconfig config files | 514 " Fontconfig config files |
515 au BufNewFile,BufRead fonts.conf setf xml | 515 au BufNewFile,BufRead fonts.conf setf xml |
516 | |
517 " Libreoffice config files | |
518 au BufNewFile,BufRead *.xcu,*.xlb,*.xlc,*.xba setf xml | |
519 au BufNewFile,BufRead psprint.conf,sofficerc setf dosini | |
516 | 520 |
517 " Lynx config files | 521 " Lynx config files |
518 au BufNewFile,BufRead lynx.cfg setf lynx | 522 au BufNewFile,BufRead lynx.cfg setf lynx |
519 | 523 |
520 " LyRiCs | 524 " LyRiCs |