aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/json_functions_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-04-13 02:40:41 +0300
committerZyX <kp-pav@yandex.ru>2016-04-13 03:06:34 +0300
commit0cb2c39ec4b5649667619441b2ef3407e0bf9759 (patch)
treea5ce47fa46e9346ad3116d2369872fac19f47e85 /test/functional/eval/json_functions_spec.lua
parentf47a20a266f89be31e20f727de59708759795345 (diff)
downloadrneovim-0cb2c39ec4b5649667619441b2ef3407e0bf9759.tar.gz
rneovim-0cb2c39ec4b5649667619441b2ef3407e0bf9759.tar.bz2
rneovim-0cb2c39ec4b5649667619441b2ef3407e0bf9759.zip
clint: Add diagnostics for things like `char* foo` or `(char*)`
Asterisk should be preceded by a space except the following cases: 1. `foo[*idx_ptr]` 2. `++*foo` (though I would prefer to write this as `++(*foo)`) 3. `(*foo)->bar`, `if (*p)` 4. `char **foo` 5. `/* comment */` 6. `!*p` Note: `[^ (*/![]` is followed by `+` to make error position easier to find. It is not needed to find location of the problem.
Diffstat (limited to 'test/functional/eval/json_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions