diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-11-27 21:10:47 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-11-30 01:19:10 +0200 |
commit | 80bdc71c0ed44f63e0f2f45f8e264e2022cc6658 (patch) | |
tree | 8f0153eefd9eaae7841bad486c82b8fbce500b15 /mesonbuild/wrap/wrap.py | |
parent | 0c23e6545711802be279566946983310ca11c1d8 (diff) | |
download | meson-80bdc71c0ed44f63e0f2f45f8e264e2022cc6658.zip meson-80bdc71c0ed44f63e0f2f45f8e264e2022cc6658.tar.gz meson-80bdc71c0ed44f63e0f2f45f8e264e2022cc6658.tar.bz2 |
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>
Diffstat (limited to 'mesonbuild/wrap/wrap.py')
0 files changed, 0 insertions, 0 deletions