summaryrefslogtreecommitdiff
path: root/data/syntax-highlighting/vim
AgeCommit message (Collapse)Author
2018-11-30syntax-highlighting: vim: Allow overriding shiftwidth and softtabstopLaurent Pinchart
The vim syntax indentation rules stored in indent/meson.vim set the local shiftwidth and softtabstop variables. As the file is loaded last, after ~/.vim/after/ftplugin/meson.vim (when present), this prevents overriding the default values for shiftwidth and softtabstop in a local configuration. Fix this by setting shiftwidth and softtabstop in ftplugin/meson.vim instead (as done by the python indentiation rules in upstream vim for instance) to allow local overrides. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2018-08-07Test that vim syntax highlighting is up-to-dateNirbheek Chauhan
Needs a `mock` kwarg to Interpreter to not do any parsing of build files, but only setup the builtins and functions. Also consolidate the documentation and data tests into one class.
2018-07-02meson.vim: Add missing disabler() entry [skip ci]Nirbheek Chauhan
2018-04-11Trivial update to meson vim syntax + typo in snippet [skip ci]Nirbheek Chauhan
2018-02-11Re-link remaining github wiki urls to mesonbuild.com siteSami Kerola
2017-12-14vim: Add warning function to list of builtinsDylan Baker
2017-11-11Move shell completions and text editor helpers to data/Arseny Maslennikov