Stephan Seitz
bcf421b4e7
Fix #307 : Use and document TSVariable/TSVariableBuiltin in all languages
2020-09-14 18:27:20 +02:00
Santos Gallegos
50991e370b
Folds: rename query files to folds.scm to be consistent
...
We use plural names for all query files except folds.
2020-09-14 18:26:30 +02:00
Steven Sojka
3f86d08390
Merge pull request #452 from kyazdani42/jsx-folds
...
Jsx fold
2020-09-14 06:54:20 -05:00
Santos Gallegos
fe06e6fbec
Bash: fix hl capture groups
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
2020-09-13 17:55:37 +02:00
Stephan Seitz
da6bc7be20
fix(cpp highlights): Use @include for preproc_include ( fix #445 )
2020-09-13 12:46:52 +02:00
Pau Ruiz Safont
b4d7ea7e66
fix ocaml highlights
...
Function matching was wrongly parenthesized, parameter detection was too
eager and it was wrongly matching all + and - as delimiters
2020-09-12 23:11:05 +02:00
kyazdani42
b024072ded
add jsx fold on jsx_element only
2020-09-12 14:14:28 +02:00
Shirasaka
8be4fb059e
Update PHP query
2020-09-12 13:15:48 +02:00
TravonteD
e1434ff68b
- Fix TSType and TSPunctuationSpecial
...
Move class and module names to @type to be consistent with the other
languages. (fixes #448 )
Use @punction.special for interpolation brackets. (fixes #449 )
2020-09-12 09:36:55 +02:00
Pau Ruiz Safont
7be8e6ca5c
maintenance(ocaml): adapt queries to nvim-treesitter
2020-09-11 12:10:31 +02:00
Pau Ruiz Safont
ddc200768e
feat(queries): pull ocaml queries from upstream
2020-09-11 12:10:31 +02:00
Thomas Vigouroux
b90e520ccd
ci: fix wrong queries
2020-09-11 12:02:35 +02:00
Steven Sojka
649fe1a842
Merge pull request #421 from steelsojka/add-missing-js-ops
...
fix(highlights): add missing js operators
2020-09-10 10:09:46 -05:00
Steven Sojka
2fd3236a92
fix(highlights): add missing js operators
2020-09-10 09:57:09 -05:00
Nolan Prochnau
10848ca5bd
Add folding for local functions in lua
2020-09-10 09:20:23 +02:00
Stephan Seitz
39d5b97bc5
feat(C++ highlights): highlight operator_name as function
2020-09-08 22:03:57 +02:00
Stephan Seitz
985c5def34
C/C++ locals: Deduplicate C++ locals contained in C
2020-09-08 22:02:39 +02:00
Stephan Seitz
8bc5d1ff3f
Add C++ folds and C comment/preproc folds
2020-09-08 22:02:39 +02:00
kyazdani42
3a3a1bb252
use keyword.function instead of function
2020-09-08 19:23:04 +02:00
kyazdani42
b10a09ebc3
fix function/end keywords not applied for every scope
2020-09-08 19:23:04 +02:00
kyazdani42
8d6c40ce24
fix using highlight query extension for every query type
2020-09-07 21:57:56 +02:00
Stephan Seitz
f37d94699f
go locals: remove unused strip! directive
2020-09-07 01:47:53 +02:00
Santos Gallegos
c719e60266
rst: remove unused captures
...
This is causing an error.
2020-09-06 21:57:32 +02:00
Pau Ruiz Safont
4db39e27c9
fix: ocaml highlight
...
The string.special group was removed from highlight.lua, replace its
uses by the string group.
2020-09-06 20:52:56 +02:00
kyazdani42
b69b43b712
fix: contional > conditional in lua hl.scm
2020-09-06 18:32:14 +02:00
kyazdani42
15b182b2a9
fix bash highlight
2020-09-06 17:59:16 +02:00
Santos Gallegos
0928b918a0
Lua: update highlights
2020-09-06 17:25:03 +02:00
Santos Gallegos
5504b84d21
Lua: fix loop and conditional keywords highlights
2020-09-06 17:24:34 +02:00
Steven Sojka
02735aae55
feat(folds): add ts and js folds
2020-09-06 17:20:43 +02:00
kiyan42
feead20c04
change @meta to @type for derive directives because @meta is not defined
2020-09-06 17:00:41 +02:00
Steven Sojka
881eff1c60
fix(highlights): fix ts parameter highlights
2020-09-06 16:59:03 +02:00
Pieter Goetschalckx
9ef264a733
Fix filename
2020-09-05 10:02:42 +02:00
Santos Gallegos
fa5aa080dc
Query: update highlights
...
More color!
2020-09-04 21:21:48 +02:00
Santos Gallegos
f85dd99b5d
Query: add program as scope
2020-09-04 13:49:04 -05:00
Santos Gallegos
fcdb3eb35d
Python: update folds
...
Missed one
2020-09-03 19:03:05 +02:00
Santos Gallegos
bdf43b15df
Python: add folds
2020-09-03 18:14:28 +02:00
Steven Sojka
fd356a2670
fix(locals): js add arrow function parameter as definition
2020-09-02 17:26:17 +02:00
Thomas Vigouroux
d5e11c41cf
fold(c): ignore compound statements
2020-09-01 21:51:17 +02:00
Thomas Vigouroux
545e5c479a
fix(fold): revamp fold
...
fix(fold): typo
fix(fold): remove debug and add queries
fix(fold): fallback to local scopes for folds
2020-09-01 21:51:17 +02:00
Stephan Seitz
1cdf8bf750
C highlights: make preproc_defined @function.macro
2020-08-30 10:53:41 +02:00
Stephan Seitz
5f37847dd8
C highlights: add bitwise-xor operator
2020-08-27 07:30:02 +02:00
Steven Sojka
a8ec43da64
fix(locals): add js namespace import as definition
2020-08-26 14:14:20 +02:00
Pau Ruiz Safont
3fe5a067b3
feat(highlights): add ocaml
2020-08-24 10:16:38 +02:00
Stephan Seitz
32fdbe519e
feat(c/cpp highlights): highlight pointer/reference parameters
2020-08-24 09:54:26 +02:00
Stephan Seitz
627a1e558f
C++ highlights: Add initial support for attributes
2020-08-22 19:32:59 +02:00
Stephan Seitz
5c0ca925af
Python highlights: add additional operators
...
This is applies the upstream PR to our repo:
https://github.com/tree-sitter/tree-sitter-python/pull/73
2020-08-20 11:51:30 +02:00
Avi Dessauer
d2538ab7a7
Change self back to variable.builtin
2020-08-20 09:03:58 +02:00
Avi Dessauer
aacca0abf1
Deduplicate queries/rust/highlights.scm
...
Co-authored-by: TravonteD <tman1300@aol.com>
2020-08-20 09:03:58 +02:00
Avi Dessauer
df37483e3a
Highlight operators + improve consistency with Vim syntax
2020-08-20 09:03:58 +02:00
Santos Gallegos
fe8d91b748
Python: fix some highlights
...
These aren't valid lua patterns
2020-08-18 10:31:42 -05:00