Commit graph

370 commits

Author SHA1 Message Date
David Hotham
35dec1ceeb remove duplication of query for number 2020-12-25 15:56:06 +01:00
David Hotham
0c19049023 match test for regex 2020-12-25 15:56:06 +01:00
David Hotham
026314f2a9 fixes to bash highlighting 2020-12-25 15:56:06 +01:00
Jędrzej Boczar
ac42192e19 Improve python/indents.scm 2020-12-21 22:58:17 +01:00
delphinus
0fc8ea0035 Add lacked Javascript operators 2020-12-21 08:55:04 +01:00
Tormod Alf Try Tufteland
a8438b8bbf stricter regex kotlin constants 2020-12-20 22:59:40 +01:00
Santos Gallegos
1ad1f3b35a Python: fix self highlighing 2020-12-18 20:33:04 +01:00
Kassio Borges
a5f2970d7a Add more ruby built-in constants 2020-12-18 17:10:14 +01:00
Evan
01baa52899 Update indents.scm 2020-12-18 16:42:05 +01:00
Evan
c200de65aa Create indents.scm for python 2020-12-18 16:42:05 +01:00
Corey Williamson
cfc68f929c Update for teal-0.9 2020-12-17 00:44:01 +01:00
El Piloto
775021cbd5 Remove duplicate capture for function_definition 2020-12-16 11:44:39 +01:00
El Piloto
6182c2b0a6 Capture anonymous functions assigned to variables
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/709
2020-12-16 11:44:39 +01:00
Stephan Seitz
5f20329e96 Ruby highlights: Unify call and method_call (follow tree-sitter-ruby) 2020-12-16 10:08:50 +01:00
Stephan Seitz
b4d91a340e Bash highlights: reset highlighting in expansion 2020-12-14 07:38:38 +01:00
Dave Lage
ff1c77b206
Javascript unary expression (#712)
* javascript: Move unary_expression matching.

* javascript: Move unary_expression matching.

* javascript: Update unary to operator

* javascript: Update qnary to be more specific
2020-12-12 14:47:09 -06:00
rockerBOO
9279ff5065 go: Add package_identifier as variable 2020-12-10 23:56:01 +01:00
Tormod Alf Try Tufteland
855df2d0cc type and identifer defaults. fixed const keyword 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
e63f81ec0a @annotation -> @attribute 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
c071454a18 add more builtin functions 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
18fadcfd4b add readme and more correct highlight captures 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
558d938c2e move divide to punctiation.special 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
d90a4621a3 add kotlin parser and highligh-queries 2020-12-06 15:08:51 +01:00
Kassio Borges
b8bbfceca7 Add some ruby exception keywords 2020-12-05 22:49:42 +01:00
Stephan Seitz
c76709fd36 Update Teal queries and parser 2020-12-03 21:13:02 +01:00
Thanabodee Charoenpiriyakij
37da1c0a30 css: add indent support 2020-12-03 14:32:59 +01:00
Stephan Seitz
b3a3403e25 Update Python queries 2020-11-30 11:19:22 +01:00
Stephan Seitz
47fae4eff8 Update teal queries 2020-11-30 11:19:22 +01:00
Bryan Kegley
3f617edd50 graphql: add missing highlights
* enum values
* comment
* input parameters
* 'implements' keyword
* include '@' in directive name
* fragment definition and spread
2020-11-30 11:17:44 +01:00
Stephan Seitz
382e09aa56 Fix #724: Add (initializer_list) to C folds 2020-11-30 11:13:20 +01:00
Luis Carlos Cruz Carballo
7cea298144 graphql: add injection to javascript and add comment query 2020-11-29 20:20:04 +01:00
rockerBOO
299b874d2f typescript: Use javascript shorthand_property_identifier 2020-11-27 22:20:32 +01:00
rockerBOO
a0b2fab978 javascript: Mark shorthand_property_identifier as variable 2020-11-27 22:20:32 +01:00
Bryan Kegley
322a4690c5 graphql: add highlights 2020-11-27 14:06:27 +01:00
Thomas Vigouroux
d5a8ff94cd lua: update to pull shebang fix 2020-11-25 21:47:38 +01:00
Dave Lage
9dd0e3b456
javascript: Add operator to / for division (#689) 2020-11-25 14:37:18 -06:00
elianiva
118ace68fe feat(injections): add injections to HTML 2020-11-24 13:27:49 +01:00
shirasaka
1b7cfc1b71 Add injections to PHP 2020-11-24 08:03:16 +01:00
Thomas Vigouroux
809b95ddb1 lua: fix "then" highlighting 2020-11-23 23:17:28 +01:00
Stephan Seitz
8c4eb15886 Python highlights: Fix #688 (definition.associated -> field) 2020-11-23 21:45:05 +01:00
Thomas Vigouroux
90d6ef96d2 fix(injections): update to new API 2020-11-23 21:08:09 +01:00
Dave Lage
3c07232d07
javascript: : in pairs as punctuation.delimiter (#684)
* javascript: : in pairs as punctuation.delimiter

* javascript: Change pair : to operator

* javascript: Set pair : as punctuation.delimiter

* javacscript: Move pair : to punctuation
2020-11-23 11:07:31 -06:00
Thomas Vigouroux
049028ef3e c highlights: fix define/undef arguments 2020-11-22 22:33:56 +01:00
leo60228
e45ab15cf3 Nix escape sequences 2020-11-22 22:29:55 +01:00
leo60228
30acaf5b77 null 2020-11-22 22:29:55 +01:00
leo60228
a0e14a5672 Fix unary - precedence 2020-11-22 22:29:55 +01:00
leo60228
5a25817884 Correct or comment 2020-11-22 22:29:55 +01:00
leo60228
c172b34f84 indented_str -> indented_string 2020-11-22 22:29:55 +01:00
leo60228
4f1dd5c151 Add fields to Nix highlighting 2020-11-22 22:29:55 +01:00
leo60228
ee0e8e8518 Initial Nix queries 2020-11-22 22:29:55 +01:00