summaryrefslogtreecommitdiff
path: root/data/syntax-highlighting/vim/indent/meson.vim
AgeCommit message (Collapse)Author
2021-09-30syntax-highlighting: vim: set b:undo_indentDoug Kearns
The b:undo_indent variable gets executed to undo the effects of the options set earlier in the file. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2021-05-06syntax-highlighting: vim: add myself as a maintainerLiam Beguin
Add myself as a maintainer of these files since I'll be keeping them in sync with the Vim repository. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2021-05-06syntax-highlighting: vim: fix setting cpoLiam Beguin
Since 'cpo' is global, use `set` instead of `setlocal`. See: b66f0372cc11 Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2019-10-18syntax-highlighting: vim: add license header [skip ci]Liam Beguin
Add a license header before getting them in the Vim runtime.
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>
2017-11-11Move shell completions and text editor helpers to data/Arseny Maslennikov