summaryrefslogtreecommitdiff
path: root/data/syntax-highlighting/vim/ftplugin
AgeCommit message (Collapse)Author
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>
2019-10-18syntax-highlighting: vim: add license header [skip ci]Liam Beguin
Add a license header before getting them in the Vim runtime.
2019-10-14syntax-highlighting: vim: set comment stringLiam Beguin
Vim can automatically comment and format comments. Set the necessary variable to enable that feature. See `:help format-comments` for more information.
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>