doc: import a configuration example for VIM

This improves syntax highlighting in VIM for project.conf files.
This commit is contained in:
Pierre Pronchery 2025-02-12 23:33:07 +01:00
parent fe7c93dd91
commit f4680e9fe0
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
targets=configure.1,configure.html,configure-update.1,configure-update.html,project.conf.5,project.conf.html
dist=Makefile,configure.css.xml,configure.xml,configure-update.css.xml,configure-update.xml,manual.css.xml,project.conf.css.xml,project.conf.xml
dist=Makefile,configure.css.xml,configure.xml,configure-update.css.xml,configure-update.xml,manual.css.xml,project.conf.css.xml,project.conf.xml,vimrc
#targets
[configure.1]

3
doc/vimrc Normal file
View File

@ -0,0 +1,3 @@
if has("autocmd")
autocmd BufNewFile,BufRead project.conf setlocal syntax=dosini
endif "has("autocmd")