summaryrefslogtreecommitdiff
path: root/data/syntax-highlighting
Commit message (Collapse)AuthorAgeFilesLines
* syntax-highlighting: vim: add license header [skip ci]Liam Beguin2019-10-183-0/+3
| | | Add a license header before getting them in the Vim runtime.
* syntax-highlighting: vim: set comment stringLiam Beguin2019-10-141-0/+3
| | | | | | | Vim can automatically comment and format comments. Set the necessary variable to enable that feature. See `:help format-comments` for more information.
* Add is_disabler functionJames Hilliard2019-08-121-0/+1
| | | | | | This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
* Add alias_target() functionXavier Claessens2019-07-101-0/+1
|
* syntax-highlighting: vim: Allow overriding shiftwidth and softtabstopLaurent Pinchart2018-11-303-5/+17
| | | | | | | | | | | | | | 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>
* Test that vim syntax highlighting is up-to-dateNirbheek Chauhan2018-08-071-0/+3
| | | | | | | Needs a `mock` kwarg to Interpreter to not do any parsing of build files, but only setup the builtins and functions. Also consolidate the documentation and data tests into one class.
* meson.vim: Add missing disabler() entry [skip ci]Nirbheek Chauhan2018-07-021-0/+1
|
* Add feature footerJuergen Hoetzel2018-06-301-0/+2
|
* Setup mode-specific `comment-start' and `'comment-end'Juergen Hoetzel2018-06-301-15/+2
| | | | Get rid of meson.comment-dwim workaround.
* Trivial update to meson vim syntax + typo in snippet [skip ci]Nirbheek Chauhan2018-04-111-0/+1
|
* Re-link remaining github wiki urls to mesonbuild.com siteSami Kerola2018-02-111-2/+2
|
* A few small improvements to meson.elJon Turney2018-01-161-6/+5
| | | | | | | | Add some missing statements to list of keywords Derive from prog-mode, so any prog-mode hooks are run Automatically use this mode for meson.build files [ci skip]
* vim: Add warning function to list of builtinsDylan Baker2017-12-141-0/+1
|
* Move shell completions and text editor helpers to data/Arseny Maslennikov2017-11-115-0/+387