Commit graph

362 commits

Author SHA1 Message Date
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
rockerBOO
e59a789289 typescript: Add optional_parameter ? 2020-11-22 16:59:58 +01:00
zegervdv
6731bcbf7b Add locals for verilog 2020-11-21 14:43:08 +01:00
zegervdv
6cc1c28f68 Add missing verilog keywords 2020-11-21 14:43:08 +01:00
zegervdv
d59b4810a6 Improve highlighting of port declarations in verilog 2020-11-21 14:43:08 +01:00
John Drouhard
33ffdce690 c/cpp highlights: Fix field declarations and initializers
After a recent fix for #446, declarations in class/struct definitions
stopped being marked as properties or methods. This fix will add
property highlights to field declarations, and method highlight to field
function declarations.
2020-11-20 14:03:06 +01:00
Chinmay Dalal
d2b8b49ce5 Ternary 2020-11-19 12:45:10 +01:00
Stephan Seitz
289cdc9da8 Do not highlight Uppercase function as type 2020-11-18 21:54:04 +01:00
Stephan Seitz
3674ad89df fix(predicates): Fix #446: highlight property only if not a method 2020-11-18 21:54:04 +01:00