Xavier Claessens
6e865a2330
Add a summary() function for configuration summarization
...
Based on patch from Dylan Baker.
Fixes #757
5 years ago
Liam Beguin
30acd94e68
syntax-highlighting: vim: fix setting cpo [skip ci]
...
since 'cpo' is global, use `set` instead of `setlocal`.
Reported-By: Bram Moolenaar <Bram@vim.org>
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
5 years ago
Liam Beguin
af11f92071
syntax-highlighting: vim: add license header [skip ci]
...
Add a license header before getting them in the Vim runtime.
5 years ago
James Hilliard
b21fd95f73
Add is_disabler function
...
This is useful if one needs to check if a variable is a disabler.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Xavier Claessens
12d4031f52
Add alias_target() function
5 years ago
Nirbheek Chauhan
8402a22233
Test that vim syntax highlighting is up-to-date
...
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.
6 years ago
Nirbheek Chauhan
5714ba2534
meson.vim: Add missing disabler() entry [skip ci]
7 years ago
Nirbheek Chauhan
487526bfff
Trivial update to meson vim syntax + typo in snippet [skip ci]
7 years ago
Sami Kerola
70a7cf30a1
Re-link remaining github wiki urls to mesonbuild.com site
7 years ago
Dylan Baker
54d0faa3dd
vim: Add warning function to list of builtins
7 years ago
Arseny Maslennikov
abbf2f4fab
Move shell completions and text editor helpers to data/
7 years ago
Nirbheek Chauhan
f0ccbc649c
Vim syntax: new function add_test_setup()
...
Also remove is_subproject; it's not a global function
8 years ago
Jussi Pakkanen
6f5a5622b9
Vim syntax highlighting fixes. Closes #1241 .
8 years ago
Nirbheek Chauhan
2897b7d3b0
syntax-highlighting: Update list of builtin functions
...
Also put them on one line each for easy updates.
8 years ago
Nirbheek Chauhan
ce09c5bb8c
Add basic syntax and indentation files for ViM
...
The syntax file does syntax highlighting for numbers, string literals,
comments, etc. Also maintains a list of valid function names.
The plugin does auto-indentation for Meson with two spaces by default.
TODO: explicit errors for decimal numbers (right now, it's just
unhighlighted), check kwargs, default options, etc.
8 years ago