mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-07-03 05:30:44 +08:00

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>
5 lines
133 B
Plaintext
5 lines
133 B
Plaintext
ftdetect sets the filetype
|
|
ftplugin sets Meson indentation rules
|
|
indent does Meson indentation
|
|
syntax does Meson syntax highlighting
|