Commit graph

1425 commits

Author SHA1 Message Date
tk-shirasaka
fe47dbe02b
Adds support for PHP's arrow funcion (#1427)
Co-authored-by: shirasaka <shirasaka@n-create.co.jp>
2021-06-28 10:10:58 -05:00
Folke Lemaitre
90024c24aa perf: cache has_query_files: fixes TS slowness 2021-06-28 16:17:23 +02:00
Jaehwang Jerry Jung
c04aa172a3 fix typo in query 2021-06-26 12:19:08 +02:00
elianiva
f9bce468a0 feat(haskell): improve highlight query
Co-authored-by: Farbod Salamat-Zadeh <12140044+farbodsz@users.noreply.github.com>
2021-06-26 12:10:52 +02:00
elianiva
684b74bea1 feat: add haskell highlights 2021-06-26 12:10:52 +02:00
GitHub
5e500cbc88 Update lockfile.json 2021-06-25 04:18:10 +02:00
Joakker
c699cc2e47 Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
GitHub
55c5620aa3 Update lockfile.json 2021-06-23 01:03:35 +02:00
GitHub
f5e1e64757 Update lockfile.json 2021-06-22 13:57:04 +02:00
kmarius
8adb2e0352 fix typo: Enviroment -> Environment 2021-06-22 07:27:00 +02:00
tami5
89b1254cde rust: inject html to html! macro 2021-06-21 08:52:38 +02:00
Folke Lemaitre
d1f6a2a3d8 feat: added self as builtin keyword for Lua 2021-06-17 15:53:20 +02:00
GitHub
10f7f04c1b Update lockfile.json 2021-06-17 09:34:43 +02:00
Stephan Seitz
44a8c6937a fix(parsers): cuda requires npm 2021-06-17 08:49:24 +02:00
GitHub
84015ac3c7 Update lockfile.json 2021-06-15 20:20:28 +02:00
Farbod Salamat-Zadeh
5c30f2af04 highlight: add SCSS single_line_comment 2021-06-15 19:59:45 +02:00
GitHub
9d64c2f667 Update lockfile.json 2021-06-15 01:19:15 +02:00
Github Actions
8e26997268 [docgen] Update README.md
skip-checks: true
2021-06-14 07:30:51 +02:00
Stephan Seitz
8eb37c4409 parsers: add tree-sitter-cuda 2021-06-14 07:30:51 +02:00
Ashish Panigrahi
5634b175c4
fixed typo (#1386) 2021-06-12 19:14:36 +00:00
Thomas Vigouroux
d343624014 docs: notify that treesitter stabilization in planned for 0.6
Stabilization of treesitter has been postponed, so we are going to
require people to follow master for a bit longer.
2021-06-11 16:30:31 +02:00
Steven Sojka
eb6fdb5085 chore(injections): remove duplicated regex injection for js 2021-06-11 16:15:14 +02:00
Cédric Barreteau
07fe5a2aba Update ledger highlight queries 2021-06-11 14:00:48 +02:00
Santos Gallegos
709f3a73b3 Rust: fix macros highlights
- The derive query was incorrect, it was only matching `#[derive(derive)]`
- Macros were being highlighted as keywords
- Procedural macros symbols weren't highlighted (`#`, `#!`)
2021-06-11 07:54:56 +02:00
GitHub
943edbda00 Update lockfile.json 2021-06-10 21:58:07 +02:00
Alex Chen
3b516c8e2b c++ highlights: don't capture all identifiers with uppercase initials as types 2021-06-10 08:16:53 +02:00
Gregory Anders
a7dac748ba Update zig highlights
Highlight the built-in `@import` function with the TSInclude highlight
group. Also highlight character literals using TSCharacter instead of
TSNumber.
2021-06-10 07:37:34 +02:00
GitHub
37ed50f28f Update lockfile.json 2021-06-07 00:39:24 +02:00
Github Actions
1b425c4b9a [docgen] Update README.md
skip-checks: true
2021-06-06 23:57:01 +02:00
Akin Sowemimo
fce41bbb6e fix: assignable selector was removed/hidden 2021-06-06 23:57:01 +02:00
GitHub
7fcc3255c1 Update lockfile.json 2021-06-06 23:57:01 +02:00
Omar Zeghouani
0c5b61b2aa Fix boolean highlight 2021-06-06 23:10:00 +02:00
Omar Zeghouani
1289f56fe9 Use any_of predicate for builtin functions 2021-06-06 23:10:00 +02:00
Luxed
b5d603a876 parsers(c_sharp): put myself as a maintainer 2021-06-04 23:56:26 +02:00
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