Commit graph

2644 commits

Author SHA1 Message Date
tami5
08092ecc06 chore(vlang): rename set! > #set! 2022-05-21 13:48:58 +02:00
Stephan Seitz
c19d14f395 parser(vlang): fix location of remote repo 2022-05-21 13:48:58 +02:00
tami5
010f364295 feat(vlang): initial support
Add support for vlang filetypes.

- [ ] Highlight `C` as builtin variable. This is FFI in vlang land,
  where C act like extern and access c functions. The vlang parser does
  some extension between C function calls and arguments but I believe
  highlighting C as builtin variable is sufficient indicator for now. I
  tried to use offset! but failed. Any suggestions?
- [ ] Set up parser url. the vlang parser is located within [vls] repo. Is
  installing from nested repo supported? `tree_sitter_v/src/parser.c`?

[vls]: https://github.com/vlang/vls/tree/master/tree_sitter_v

cc @elianiva @theHamsta
2022-05-21 13:48:58 +02:00
TerseTears
f0f75b6c54 Add wiki link to information on languages 2022-05-21 13:31:47 +02:00
Stephan Seitz
d605120dcc highlights(latex): only highlight command name, not whole command 2022-05-21 13:13:59 +02:00
Stephan Seitz
30b9ba1fef highlights(slint): highlight operators and more punctuation 2022-05-21 13:05:59 +02:00
GitHub
d7b7ca4a82 Update lockfile.json 2022-05-20 08:53:27 +02:00
GitHub
c004155676 Update lockfile.json 2022-05-17 08:59:39 +02:00
Stephan Seitz
c9ebd16c28 python(folds): fold whole functions not only body 2022-05-15 19:14:52 +02:00
przepompownia
910743c77a Don't expect any change on reindenting the whole unfinished-call.php 2022-05-15 14:52:43 +02:00
przepompownia
d4d77b315f unfinished-call.php: expect 0-column indentation 2022-05-15 14:52:43 +02:00
przepompownia
c43d2cec08 Remove unused XFAIL 2022-05-15 14:52:43 +02:00
przepompownia
afd74f4ccf Change test expectation 2022-05-15 14:52:43 +02:00
przepompownia
1cec3899f5 indents(php): @auto on comment and ERROR
Currently with
```vim
setlocal autoindent
setlocal smartindent
```
in `after/indent/php.vim` it allows correct indentation
inside PHP docblocks.
2022-05-15 14:52:43 +02:00
Stephan Seitz
a401f6ce7d highlights(cuda): add __grid_constant__ 2022-05-15 10:37:14 +02:00
GitHub
1ba47771f3 Update lockfile.json 2022-05-15 10:33:57 +02:00
GitHub
1341729f74 Update lockfile.json 2022-05-14 22:13:40 +02:00
William Mathewson
57f4dbd47b Use @definition.function for method & func definitions 2022-05-14 20:35:09 +02:00
William Mathewson
81dd6c988c Add method to definitions in ECMA locals
In Telescope, function declarations were being exposed in the selector,
but not method definitions which are also a form of function
declaration.
2022-05-14 20:35:09 +02:00
GitHub
9ff4953f40 Update lockfile.json 2022-05-14 13:06:28 +02:00
kiyan
c2ec0cac81 fix(commands): add -bar to allow other commands
addresses #2920
2022-05-14 12:58:07 +02:00
6cdh
b30a830c88
highlights(scheme): some fix (#2932)
* Add block comment
* Add λ highlight
2022-05-14 09:25:45 +02:00
Santos Gallegos
f1373051e5
Python: highlight future import (#2936)
* Python: highlight future import

* Use constant.builtin
2022-05-13 21:46:06 +00:00
nsfisis
4d53ee5c05 highlights(php): improve highlight for attributes 2022-05-13 18:46:32 +02:00
GitHub
446a0538d6 Update lockfile.json 2022-05-13 09:25:28 +02:00
GitHub
10d57b3ec1 Update lockfile.json 2022-05-11 20:51:49 +02:00
GitHub
a8bf745e4a Update lockfile.json 2022-05-11 18:58:53 +02:00
GitHub
aaf5d370f4 Update lockfile.json 2022-05-10 09:06:26 +02:00
GitHub
9069849533 Update lockfile.json 2022-05-08 10:37:27 +02:00
Stephan Seitz
a4f9539a0c highlights(cpp): make "::" @punctuation.delimiter
Fixes #2902
2022-05-07 13:30:36 +02:00
GitHub
f6d38f6f54 Update lockfile.json 2022-05-07 11:49:28 +02:00
GitHub
868053edf5 Update lockfile.json 2022-05-06 18:21:59 +02:00
Pau Ruiz Safont
09efcdb049 highlights(ocaml): highlight units as such
Units were shadowed by the punctuation highlights in all situations.
Restrict the context where parentheses are highlighted as punctuation so
() can be highlighted as constants.

Signed-off-by: Pau Ruiz Safont <unduthegun@gmail.com>
2022-05-06 10:31:12 +02:00
GitHub
a31bd39a40 Update lockfile.json 2022-05-06 09:06:07 +02:00
Github Actions
cf3e963e50 Update README 2022-05-05 08:03:37 +02:00
GitHub
ab510a3901 Update lockfile.json 2022-05-05 07:55:18 +02:00
Nick Pezza
bcf091d865 Add embedded template to support ERB files 2022-05-05 01:34:59 +02:00
GitHub
755bfaf287 Update lockfile.json 2022-05-03 09:36:52 +02:00
GitHub
4067351ffd Update lockfile.json 2022-05-01 19:31:00 +02:00
Thomas Vigouroux
6619432dd3 feat(vim): add support for const 2022-05-01 19:21:40 +02:00
kiyan
44d2898f0f chore: add github sponsors to FUNDING.yml
fixes #2879
2022-05-01 14:28:30 +02:00
Santos Gallegos
132405f18f Python: highlight raise from statement 2022-05-01 10:06:13 +02:00
GitHub
c2b2fef3e4 Update lockfile.json 2022-04-30 19:46:43 +02:00
Luke Bakken
4a67de217a
docs: fix checkhealth command in README (#2884)
Health check command should be `:checkhealth nvim-treesitter`
2022-04-30 17:39:16 +00:00
Christian Clason
1f508ff394 fixup: separate augroups for modules 2022-04-30 16:08:01 +02:00
Christian Clason
07eb437bb1 refactor!: update to Neovim 0.7 APIs
* set highlight groups via nvim_set_hl
* define autocommands via nvim_create_autocmd
* port plugin/nvim-treesitter.vim to Lua
* port healthcheck to Lua
2022-04-30 16:08:01 +02:00
Christian Clason
bc25a6a5c4 chore!: remove ensure_installed='maintained'
Removes all support (and tests) for the parser category "maintained", as
this is no longer a useful category.

BREAKING CHANGE: replace `ensure_installed='maintained'` by an explicit
list of parsers, or use `'all'` (not recommended).
2022-04-30 11:42:46 +02:00
GitHub
808473cfbb Update lockfile.json 2022-04-30 09:33:50 +02:00
GitHub
94255915e6 Update lockfile.json 2022-04-29 09:11:57 +02:00
GitHub
b4ab9daed1 Update lockfile.json 2022-04-28 08:59:08 +02:00