meson/data/syntax-highlighting/vim
Laurent Pinchart 80bdc71c0e syntax-highlighting: vim: Allow overriding shiftwidth and softtabstop
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-11-30 01:19:10 +02:00
..
ftdetect Move shell completions and text editor helpers to data/ 2017-11-11 19:03:22 +03:00
ftplugin syntax-highlighting: vim: Allow overriding shiftwidth and softtabstop 2018-11-30 01:19:10 +02:00
indent syntax-highlighting: vim: Allow overriding shiftwidth and softtabstop 2018-11-30 01:19:10 +02:00
syntax Test that vim syntax highlighting is up-to-date 2018-08-07 12:54:56 -07:00
README syntax-highlighting: vim: Allow overriding shiftwidth and softtabstop 2018-11-30 01:19:10 +02:00

README

ftdetect sets the filetype
ftplugin sets Meson indentation rules
indent does Meson indentation
syntax does Meson syntax highlighting