Mercurial > vim
comparison runtime/filetype.vim @ 34811:905a6fa22f3e v9.1.0278
patch 9.1.0278: filetype: zathurarc files not recognized
Commit: https://github.com/vim/vim/commit/72d81a66edd835aeff3f539ccd0f97afb1ebd63c
Author: Wu, Zhenyu <wuzhenyu@ustc.edu>
Date: Mon Apr 8 22:19:06 2024 +0200
patch 9.1.0278: filetype: zathurarc files not recognized
Problem: filetype: zathurarc files not recognized
Solution: Detect '.zathurarc' files as zathurarc filetype,
add zathurarc filetype (Wu, Zhenyu)
closes: #14380
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 08 Apr 2024 22:30:05 +0200 |
parents | 7f709fa537df |
children | 207487eb4f4e |
comparison
equal
deleted
inserted
replaced
34810:46d05cad28c4 | 34811:905a6fa22f3e |
---|---|
2978 \ endif | 2978 \ endif |
2979 | 2979 |
2980 " Yarn lock | 2980 " Yarn lock |
2981 au BufNewFile,BufRead yarn.lock setf yaml | 2981 au BufNewFile,BufRead yarn.lock setf yaml |
2982 | 2982 |
2983 " Zathurarc | |
2984 au BufNewFile,BufRead zathurarc setf zathurarc | |
2983 | 2985 |
2984 " If the GUI is already running, may still need to install the Syntax menu. | 2986 " If the GUI is already running, may still need to install the Syntax menu. |
2985 " Don't do it when the 'M' flag is included in 'guioptions'. | 2987 " Don't do it when the 'M' flag is included in 'guioptions'. |
2986 if has("menu") && has("gui_running") | 2988 if has("menu") && has("gui_running") |
2987 \ && !exists("did_install_syntax_menu") && &guioptions !~# "M" | 2989 \ && !exists("did_install_syntax_menu") && &guioptions !~# "M" |