Commit graph

1391 commits

Author SHA1 Message Date
Luxed
dad4903048 highlights(c_sharp): Add preprocessor directives queries 2021-06-04 23:56:26 +02:00
Luxed
fde9521f9e folds(c_sharp): Add basic folding 2021-06-04 23:56:26 +02:00
Luxed
7e40537769 highlights(c_sharp): lots of improvements 2021-06-04 23:56:26 +02:00
napmn
8e53e706e5 JSX components with capital first letter highlighted as constructor rather than type 2021-06-04 08:30:16 +02:00
derekstride
e98e2eafa2 downcase! directive to use with ruby injections
```
(#downcase! "language")
```

downcase! will ensure the metadata value for the specified key will be
downcased. If the value is a node, it will downcase the text specified
by the node.

```
(#downcase! @node "key")
```

You can also namespace the key with a specific capture, similar to how
you can call `(#set! @node "key" "value")`
2021-06-04 07:47:21 +02:00
Stephan Seitz
ee2266993b Fix 1359: nil check for version in health-check 2021-06-04 07:46:11 +02:00
GitHub
99ea1fc22a Update lockfile.json 2021-06-03 17:28:57 +02:00
Stephan Seitz
871d6d9f92 fix: return when no node found during installation
Ref: https://github.com/nvim-treesitter/nvim-treesitter/issues/1324#issuecomment-853418596
2021-06-03 14:24:25 +02:00
Stephan Seitz
31f1125827 Fix #1324: tree-sitter CLI requires node 2021-06-03 14:24:25 +02:00
David Bernheisel
ad28bbf04c Add regex injection for Elixir 2021-06-01 22:04:52 +02:00
Stephan Seitz
e52de2ca80 highlights(c_sharp): highlight namespaces 2021-06-01 21:53:21 +02:00
Stephan Seitz
96c3512549 highlights(c_sharp): add heuristic for type highlight 2021-06-01 21:53:21 +02:00
Stephan Seitz
40b749f7c0 highlights(c_sharp): highlight verbatim_string_literal 2021-06-01 21:53:21 +02:00
Stephan Seitz
ac5bd10633 highlights(c#): highlight calls of methods 2021-06-01 21:53:21 +02:00
Stephan Seitz
44e44c31a4 highlights(c_sharp): improve highlighting of interpolations 2021-06-01 21:53:21 +02:00
GitHub
fb5a2882df Update lockfile.json 2021-06-01 21:52:20 +02:00
Stephan Seitz
66f75c58d9 chore: show errors output during async installation 2021-06-01 21:38:17 +02:00
GitHub
8f6c13dd03 Update lockfile.json 2021-05-31 20:03:10 +02:00
Santos Gallegos
c1f61d4ca1
Improve check-queries (#1253)
- Add checks for injections.
- Allow queries that start with [A-Z] for highlights only.
- Don't stop on the first error, finish checking all queries.
2021-05-31 17:03:27 +00:00
GitHub
972f70956a Update lockfile.json 2021-05-28 07:43:10 +02:00
Daniel Kempkens
ea8482621e Elixir: Highlight with as conditional
`with` is also considered a conditional in Elixir. Highlight it
accordingly.
2021-05-27 22:02:30 +02:00
Github Actions
6c2ff319b3 [docgen] Update README.md
skip-checks: true
2021-05-26 07:47:58 +02:00
elianiva
11bc69305f feat: use the original scss parser
..and add myself as the maintainer
2021-05-26 07:47:58 +02:00
Stephan Seitz
db7f10370d highlights(rust): highlight fields with shorthand_field_initializer 2021-05-24 20:43:31 +02:00
GitHub
078a08440b Update lockfile.json 2021-05-24 19:14:29 +02:00
oponkork
a1b0e9ebb5 Update lockfile.json 2021-05-23 10:23:49 +02:00
oponkork
038fe717ea feat(fortran): Support indentation 2021-05-23 10:23:49 +02:00
oponkork
6b6bf4db3f feat(fortran): Improve highlighting 2021-05-23 10:23:49 +02:00
Santos Gallegos
9742f188ff HTML: remove @combined from injections 2021-05-23 10:13:41 +02:00
Santos Gallegos
9d1d9b1b94 Rust: highlight constants 2021-05-22 13:17:15 +02:00
GitHub
9a3acbc48d Update lockfile.json 2021-05-20 19:53:03 +02:00
Stephan Seitz
b57194325c indents(c/cpp): let C++ use the C indents and add class_specifier
Fixes #1320
2021-05-20 19:37:42 +02:00
Akin Sowemimo
0efa1ec83a feat(dart): add late & required keywords 2021-05-19 23:13:37 +02:00
GitHub
aa512ebca8 Update lockfile.json 2021-05-19 20:06:19 +02:00
Github Actions
c0e83d1574 [docgen] Update README.md
skip-checks: true
2021-05-19 19:41:21 +02:00
elianiva
88bd7f5cb3 fix(php): highlights function call expression 2021-05-19 19:41:21 +02:00
GitHub
a01edfbdfb Update lockfile.json 2021-05-18 23:13:11 +02:00
Akin Sowemimo
db31158fda fix: uppercase variables being highlighted as type 2021-05-18 23:12:56 +02:00
Akin Sowemimo
3633684b47 feat: replace match with any-of 2021-05-18 23:12:56 +02:00
Akin Sowemimo
d3f5802fba fix: remove duplicate type identifier queries 2021-05-18 23:12:56 +02:00
Akin Sowemimo
bd5fc9a3c9 feat(dart): add async/sync* to highlights 2021-05-18 23:12:56 +02:00
Stephan Seitz
945c93c1ad parsers: generate_requires_npm for commonlisp 2021-05-18 21:34:24 +02:00
GitHub
c6c7e0435e Update lockfile.json 2021-05-18 19:35:07 +02:00
Daniel Kempkens
ba45e0d3ed CI: Improved parser installation logic 2021-05-18 19:10:06 +02:00
Daniel Kempkens
06f8689aea CI: Install tree-sitter 2021-05-18 19:10:06 +02:00
Daniel Kempkens
a98e5c1f4f Refactor highlights and locals queries 2021-05-18 19:10:06 +02:00
Daniel Kempkens
a04b0abf21 Use #any-of? in locals 2021-05-18 19:10:06 +02:00
Daniel Kempkens
9f0f594ab8 Add requires_generate_from_grammar 2021-05-18 19:10:06 +02:00
Daniel Kempkens
616d459860 Revert README.md change 2021-05-18 19:10:06 +02:00
Daniel Kempkens
e7e1db38cd Initial Elixir support 2021-05-18 19:10:06 +02:00