Chinmay
d262d4101e
Add operators
2020-06-15 22:45:56 +05:30
Kiyan Yazdani
dd7e67ddb4
Merge pull request #79 from steelsojka/feat/typescript-queries
...
feat(queries): add typescript and javascript queries
2020-06-15 18:28:10 +02:00
Chinmay
042464c1c5
Fix method highlighting
2020-06-15 21:48:50 +05:30
Thomas Vigouroux
91d0c60a98
Merge pull request #83 from theHamsta/fixup-cpp-locals
...
Fixup: Introduce base languages for queries
2020-06-15 16:48:33 +02:00
Steven Sojka
a600be80b6
chore(queries): use inherited queries for ts/js
2020-06-15 08:53:49 -05:00
Steven Sojka
4551b0e1c9
Merge branch 'master' into feat/typescript-queries
...
* master:
Change regexes in C/C++ highlights
Update C/C++ highlights to new query syntax
Add better highlighting for preprocessor functions in C highlights
Add operators /=,*=,|=,&= to C highlights
Add compound_statement to c queries
Add punctuation.bracket/punctuation.delimiter to C highlights
Make =,~,! operators in C highlights
Add cpp/locals.scm
Add @error highlight to c/highlights.scm
Add C++ highlights.scm
Introduce base languages for queries
Add tree-sitter-regex
feat(queries): allow for user overrides
Update issue templates
2020-06-15 07:05:20 -05:00
Stephan Seitz
0671c0c6a2
Fixup: Introduce base languages for queries
...
Use same argument for nvim_get_runtime_file for base language
2020-06-15 12:09:51 +02:00
Kiyan Yazdani
c452d4a91c
Merge pull request #63 from theHamsta/cpp-locals
...
Introduce base languages for queries (for C++ locals)
2020-06-15 12:07:16 +02:00
Stephan Seitz
8bc00cf02a
Change regexes in C/C++ highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
a5fc7b13cc
Update C/C++ highlights to new query syntax
2020-06-15 11:51:28 +02:00
Stephan Seitz
e46baab8ca
Add better highlighting for preprocessor functions in C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
d88db9d718
Add operators /=,*=,|=,&= to C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
95f4e10a62
Add compound_statement to c queries
2020-06-15 11:51:28 +02:00
Stephan Seitz
a0b912ff8a
Add punctuation.bracket/punctuation.delimiter to C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
148ad160e8
Make =,~,! operators in C highlights
2020-06-15 11:51:28 +02:00
Stephan Seitz
1badceea81
Add cpp/locals.scm
2020-06-15 11:51:28 +02:00
Stephan Seitz
b95e0af73b
Add @error highlight to c/highlights.scm
2020-06-15 11:51:28 +02:00
Stephan Seitz
167ce6339f
Add C++ highlights.scm
2020-06-15 11:51:28 +02:00
Stephan Seitz
df06026110
Introduce base languages for queries
...
Some treesitter grammars just extend another treesitter grammar.
This enables us to use the C queries also for C++.
We only need to put additional queries in the C++ files.
2020-06-15 11:51:28 +02:00
Kiyan Yazdani
6b26674ba0
Merge pull request #80 from steelsojka/feat/user-query-overrides
...
feat(queries): allow user query overrides
2020-06-15 11:43:42 +02:00
Steven Sojka
ac8ae3b1c7
feat(queries): add typescript and javascript queries
2020-06-14 13:41:23 -05:00
Thomas Vigouroux
90ec2d5250
Merge pull request #70 from theHamsta/regex
...
Add tree-sitter-regex
2020-06-14 14:34:55 +02:00
Stephan Seitz
45ea0df21a
Add tree-sitter-regex
...
This might be interesting for injected highlighting
2020-06-14 13:09:38 +02:00
Steven Sojka
44108fe03e
feat(queries): allow for user overrides
2020-06-14 05:58:09 -05:00
Thomas Vigouroux
a067924507
Update issue templates
...
Add some issue templates
2020-06-14 11:57:09 +02:00
Thomas Vigouroux
ca438b7b2e
Merge pull request #77 from TravonteD/76-syntax-update
...
- #76 update the predicate syntax for ruby and css
2020-06-12 09:49:39 +02:00
Chinmay
d9639e1e5e
Add highlights.scm and locals.scm
2020-06-11 22:31:45 +05:30
TravonteD
37f9866f66
- #76 update the predicate syntax for ruby and css
2020-06-11 10:38:19 -04:00
Thomas Vigouroux
85645f5720
Merge pull request #69 from theHamsta/go-highlights
...
Go highlights
2020-06-07 13:58:38 +02:00
Stephan Seitz
8436f2b90b
Update CONTRIBUTING.md for @doc
2020-06-07 12:39:58 +02:00
Stephan Seitz
5a096cb3f1
Add call references for Go
2020-06-07 12:39:58 +02:00
Stephan Seitz
452447694a
Add go locals.scm
2020-06-07 12:39:58 +02:00
Stephan Seitz
04040c61c7
Add highlights.scm for Go
2020-06-07 12:39:58 +02:00
Kiyan Yazdani
a76c7b3b70
Merge pull request #75 from theHamsta/html-quoted_attribute_value
...
html: Highlight (quoted_attribute_value) as @string
2020-06-05 19:01:29 +02:00
Stephan Seitz
0ad3872fde
html: Highlight (quoted_attribute_value) as @string
2020-06-05 18:21:01 +02:00
Thomas Vigouroux
c934ea694c
Merge pull request #68 from TravonteD/html
...
Add html highlight queries
2020-06-02 21:15:48 +02:00
Thomas Vigouroux
8763a3163f
Merge pull request #67 from TravonteD/css
...
Add css highlight queries
2020-06-02 21:13:43 +02:00
TravonteD
d32d5abb4a
Add html highlight queries
2020-06-02 15:13:36 -04:00
TravonteD
58f5bdbe01
Add css highlight queries
2020-06-02 15:11:35 -04:00
Thomas Vigouroux
2c7b416441
Merge pull request #73 from theHamsta/python-locals
...
Update python locals: `list_splat` and `dictionary_splat` define vari…
2020-06-02 21:08:17 +02:00
Stephan Seitz
92417aa4ea
Update python locals: list_splat and dictionary_splat define variables as parameters
2020-06-02 21:13:09 +02:00
Kiyan Yazdani
9feae9c054
Merge pull request #71 from stsewd/fix-exampple
...
Fix example mappings
2020-06-02 11:20:45 +02:00
Santos Gallegos
53284f311a
Fix example mappings
2020-06-01 19:15:28 -05:00
Thomas Vigouroux
d73988a907
Merge pull request #66 from theHamsta/python-kw-highlight
...
Improve Python highlights
2020-06-01 08:49:18 +02:00
Stephan Seitz
807d6e11fa
Improve Python highlights
...
- Highlight types in attributes as @type (**Foo**.a)
- Highlight superclasses @type
- Highlight ^[A-Z] as @type
- Highlight isinstance(*, type) as @type
- Highlight default_parameter and keyword_argument as @parameter
- Highlight *args, **kwargs as @parameter
- Highlight -> as @operator
2020-05-28 10:42:45 +02:00
Kiyan Yazdani
cdc92965d6
Merge pull request #65 from theHamsta/typo-foldexpr
...
Fix typo in README.md: foldexr -> foldexpr
2020-05-26 19:59:13 +02:00
Stephan Seitz
43b30d571a
Fix typo in README.md: foldexr -> foldexpr
2020-05-26 19:32:33 +02:00
Kiyan Yazdani
c35d8ac4d5
Merge pull request #64 from vigoux/feature/folding
...
Treesitter based code folding.
2020-05-25 11:31:24 +02:00
Thomas Vigouroux
c035fb9f5d
docs: document folding
2020-05-25 11:19:38 +02:00
Thomas Vigouroux
fbade728fe
feat: add syntax-based folding
2020-05-25 11:19:38 +02:00