Commit graph

12 commits

Author SHA1 Message Date
George Harker
cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00
Amaan Qureshi
5a87bc98da feat: add @comment.documentation where applicable 2023-03-05 17:15:32 -05:00
Yochem van Rosmalen
190561df89 v(injections): inject regex for some methods in re module 2023-03-03 15:14:58 -05:00
dundargoc
4612212c72 docs: fix typos 2023-02-23 11:39:43 -08:00
lfenzo
c784720917 Split func/method definition from calls in several programming language queries 2022-08-03 12:05:30 -07:00
Stephan Seitz
4da1d0702a highlights(vlang): add attribute_declaration and specialize some keywords 2022-05-21 13:48:58 +02:00
tami5
ad77a80813 feat: highlight string_interpolation identifiers
functions call work without issues
2022-05-21 13:48:58 +02:00
tami5
d039b4d0a4 chore: add more builtin variables 2022-05-21 13:48:58 +02:00
tami5
b34aadbcb3 chore: add $else keyword 2022-05-21 13:48:58 +02:00
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