aboutsummaryrefslogtreecommitdiff
path: root/data/syntax-highlighting
AgeCommit message (Collapse)AuthorFilesLines
2020-11-03vim: Drop backwards compatibility with Vim 5.Aman Verma1-30/+15
2020-07-22vim: Syntax-highlight continue and break statementsNirbheek Chauhan1-1/+2
2020-03-12syntax-highlighting/vim: Add `in` as an operatorNirbheek Chauhan1-1/+1
This was missed. Ages ago.
2020-01-14Add .wrap file syntax detection for vimLuke Drummond1-0/+1
wrap files are ini syntax, and vim has support for this via the `dosini` syntax type [skip ci]
2019-12-12Add a summary() function for configuration summarizationXavier Claessens1-0/+1
Based on patch from Dylan Baker. Fixes #757
2019-11-07syntax-highlighting: vim: fix setting cpo [skip ci]Liam Beguin1-1/+1
since 'cpo' is global, use `set` instead of `setlocal`. Reported-By: Bram Moolenaar <Bram@vim.org> Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2019-10-18syntax-highlighting: vim: add license header [skip ci]Liam Beguin3-0/+3
Add a license header before getting them in the Vim runtime.
2019-10-14syntax-highlighting: vim: set comment stringLiam Beguin1-0/+3
Vim can automatically comment and format comments. Set the necessary variable to enable that feature. See `:help format-comments` for more information.
2019-08-12Add is_disabler functionJames Hilliard1-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>
2019-07-10Add alias_target() functionXavier Claessens1-0/+1
2018-11-30syntax-highlighting: vim: Allow overriding shiftwidth and softtabstopLaurent Pinchart3-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>
2018-08-07Test that vim syntax highlighting is up-to-dateNirbheek Chauhan1-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.
2018-07-02meson.vim: Add missing disabler() entry [skip ci]Nirbheek Chauhan1-0/+1
2018-06-30Add feature footerJuergen Hoetzel1-0/+2
2018-06-30Setup mode-specific `comment-start' and `'comment-end'Juergen Hoetzel1-15/+2
Get rid of meson.comment-dwim workaround.
2018-04-11Trivial update to meson vim syntax + typo in snippet [skip ci]Nirbheek Chauhan1-0/+1
2018-02-11Re-link remaining github wiki urls to mesonbuild.com siteSami Kerola1-2/+2
2018-01-16A few small improvements to meson.elJon Turney1-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]
2017-12-14vim: Add warning function to list of builtinsDylan Baker1-0/+1
2017-11-11Move shell completions and text editor helpers to data/Arseny Maslennikov5-0/+387