GitHub
fb11ba487c
Update parsers: c_sharp, gitcommit, meson
2023-01-17 19:54:34 +01:00
GitHub
bc2af0a35c
Update parsers: nickel, scala
2023-01-17 09:24:02 +01:00
GitHub
8666451879
Update parsers: glimmer, pug, scala, scheme, sql, swift, tlaplus, v
2023-01-16 19:09:28 +01:00
Corentin Brunel
c500926755
c_sharp: update parser and queries ( #4169 )
...
Remove "nameof" from @keyword.operator
Co-authored-by: cbrunel <cbrunel@nomadis.co>
2023-01-16 17:49:26 +00:00
Chris Kipp
1c89f9b5bc
sync with latest Scala and add binding
2023-01-15 09:46:06 -08:00
Chris Kipp
5e9c6b6ba0
docs: swap life-time around
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-01-15 11:58:02 +02:00
Chris Kipp
c4c543ed1d
docs: clarify @storageclass in CONTRIBUTING docs
...
This is just a tiny change that was in reference to
https://github.com/nvim-treesitter/nvim-treesitter/pull/4153#discussion_r1070276800 .
The basis is that `@storageclass` should only be used unless it's
actually affecting storage in memory. There are further conversations
about this in the following places:
- https://github.com/nvim-treesitter/nvim-treesitter/pull/3648#issuecomment-1279923861
- https://github.com/nvim-treesitter/nvim-treesitter/pull/3648#issuecomment-1291624844
2023-01-15 11:58:02 +02:00
Stephan Seitz
372177fb99
highlights(haskell): don't match True|False in other identifiers
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by: Guillaume Bouchard <guibou@users.noreply.github.com>
2023-01-14 14:29:00 -08:00
Ananda Umamil
e4042553bd
highlights(elm): fix boolean literals
2023-01-14 14:02:15 -08:00
Ananda Umamil
0b69c4ae52
highlights(haskell): special sigils and operators
2023-01-14 13:11:49 -08:00
Chris Kipp
add6f9abe2
refactor(scala): update the Scala highlight queries
...
There has been a lot of changes recently to the Scala grammar and we've
been merging in a handful of things before syncing the actual generated
parser. We are currently at a stage where we're going to sync
everything, but there are some breaking changes that are included in
https://github.com/tree-sitter/tree-sitter-scala/pull/135 , so when that
commit gets synced here stuff will break. We've taken the queries that
existed here and have been building off of them in the actual upstream
repo. This will hopefully make the transition smooth and updates the
queries to ensure that there is no breakage. It's recommended to wait
until that pr is merged, synced here, and then merge this in around the
same time.
Co-authored-by: eugene yokota <eed3si9n@gmail.com>
Co-authored-by: Anton Sviridov <keynmol@gmail.com>
2023-01-14 12:56:56 -08:00
Christian Clason
d18851653e
ci: stop running update-lockfile after every commit
...
This is wasteful and noisy for unrelated commits, while the intended use
(making sure that new parsers have a lockfile entry) can be covered by
either making sure this is part of the initial PR (ideally) or running
the action manually.
2023-01-14 13:54:55 +01:00
Pham Huy Hoang
f669924df2
indents(c): update if cases
2023-01-14 04:52:21 -08:00
Pham Huy Hoang
2f5deed456
indents(c): Refactor indent queries
2023-01-14 04:52:21 -08:00
Ananda Umamil
5ac2c92060
highlights(kotlin): package keyword and declaration
2023-01-14 12:06:51 +01:00
Gaetan Lepage
368b4d48d4
readme: runtimepath before setup call
2023-01-14 11:55:19 +01:00
Christian Clason
7e4a7c4508
markdown: add strikethrough and blockquote captures
2023-01-14 11:52:25 +01:00
Saurabh Charde
51d220e0bd
feat(scss): add known at-rules to keyword list
2023-01-13 02:46:16 -08:00
GitHub
9a257d989a
Update parsers: c_sharp, scala
2023-01-12 09:56:55 +01:00
GitHub
11a88fba9d
Update parsers: c_sharp, julia, sql
2023-01-12 09:32:25 +01:00
Stephan Seitz
bf5be49d99
fix(nickel): follow upstream change in https://github.com/nickel-lang/tree-sitter-nickel/pull/13/files#diff-d485a982e458ef8da2cc203585065b7542665cb80b78d230b1e8f77ea25825d4
2023-01-11 21:49:29 +01:00
GitHub
c393a37d60
Update parsers: c_sharp, nickel, sql
2023-01-11 21:49:29 +01:00
figsoda
332fd5338f
injections(nix): remove @combined
2023-01-11 21:27:02 +01:00
figsoda
121044f0b7
fix(nix): reduce injection false positives
2023-01-11 21:27:02 +01:00
Stephan Seitz
afe4e94f1a
docs: remove remaining references to Zulip
2023-01-11 21:17:08 +01:00
Ananda Umamil
1298d9ba3b
highlights(haskell): function and variable bindings
2023-01-11 20:07:16 +01:00
GitHub
0ed09e2e6c
Update parsers: scala
2023-01-11 10:53:02 +01:00
GitHub
f6a813bbb3
Update parsers: c_sharp
2023-01-11 10:42:49 +01:00
GitHub
be0b3ba1b9
Update parsers: embedded_template, scala
2023-01-10 19:26:01 +01:00
ShootingStarDragons
0598ffad9b
feat: let qml use qmljs
...
Someone like qml to mark qmljs, so let 'qml'
use qmljs
2023-01-10 20:11:05 +02:00
GitHub
5b12998683
Update parsers: ruby, scala
2023-01-10 13:24:34 +01:00
Christian Clason
564f4224ab
docs: install four bundled parser in README
...
Now that Neovim bundles C, Lua, Vim, and Help parsers, these should be installed with nvim-treesitter as well to make sure that matching parser and query versions are used.
2023-01-10 13:10:54 +01:00
GitHub
6e6954f26e
Update parsers: c_sharp, scala
2023-01-10 10:24:56 +01:00
Stephan Seitz
3df5313424
highlights(wgsl): comment -> {line,block}_comment
2023-01-10 10:07:08 +01:00
Stephan Seitz
a64b1f478d
parsers(wgsl_bevy): add scanner.c
2023-01-10 10:07:08 +01:00
Stephan Seitz
ea43e0e9d3
parsers(wgsl): add scanner.c
2023-01-10 10:07:08 +01:00
GitHub
c093a8337d
Update parsers: scala, wgsl
2023-01-10 10:07:08 +01:00
Cameron
5fb315df12
Update indent-square-brackets.rb
2023-01-09 22:17:50 +01:00
Cameron
bb24f483ca
Create indent-square-brackets.rb
2023-01-09 22:17:50 +01:00
Cameron
db73045a16
Update indents.scm
2023-01-09 22:17:50 +01:00
Amaan Q
5b8b711926
refactor: move method and end_method to @keyword.function
2023-01-09 21:24:54 +01:00
Amaan Q
d13a0d563b
fix: character_literal is no longer unsupported :)
2023-01-09 21:24:54 +01:00
Amaan Qureshi
1735990aa9
feat: add character_literal query
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-01-09 21:24:54 +01:00
Amaan Q
02732ac95a
parsers(smali): bump smali parser for character literal support
2023-01-09 21:24:54 +01:00
Amaan Q
e1f2bb2fcf
feat: add smali query
2023-01-09 21:24:54 +01:00
Amaan Q
c657cf6b11
feat: add smali to lockfile, parser, and link to repo in README
2023-01-09 21:24:54 +01:00
John Drouhard
ed021ac3af
injections(cpp): add injections for raw string literals
...
the delimiter describes the language to use for the injection content
```cpp
auto python_code = R"python(
import os
if __name__ == '__main__':
print(os.name)
)python";
```
2023-01-09 21:41:13 +02:00
GitHub
d8c84521dc
Update parsers: scala
2023-01-09 10:50:31 +01:00
Chinmay Dalal
fa8736c94a
folds(fennel): add let, fn, let_clause, quoted_list, local, global folds
2023-01-09 10:40:53 +01:00
Chinmay Dalal
166efb25c1
folds(fennel): add fennel folds
2023-01-09 10:29:10 +01:00