ftdetect/pypi.vim¶
Enforce vim script implementation to reduce ambiguities and improve robustness:
scriptversion 4
For simple usage dosini is useful for the PyPI configuration data:
" vint: -ProhibitAutocmdWithNoGroup
autocmd BufRead,BufNewFile ~/.pypirc setfiletype FALLBACK dosini
" vint: +ProhibitAutocmdWithNoGroup
Caution
Packages that use .pypirc will process it with
RawConfigParser which is far more powerful than the
format defined by dosini’s filetype, so be wary of trusting the
highlighting too much.