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
GitHub
fa6b5ae1c6
Update parsers: scala
2023-01-09 09:44:30 +01:00
GitHub
30ad2f044e
Update parsers: cpp, cuda, hlsl, scala, swift, wgsl_bevy
2023-01-09 09:33:18 +01:00
Stephan Seitz
3e316204f8
ci: fix file name for cache calculation
2023-01-08 00:33:13 +01:00
Stephan Seitz
86345612b7
install: allow pure C parsers to be compiled without -lstdc++
...
E.g. installing C [here](https://github.com/nvim-treesitter/nvim-treesitter/issues/4056 )
does not require libstdc++.
Co-authored-by: ObserverOfTime <chronobserver@disroot.org >
2023-01-08 00:33:13 +01:00
GitHub
5b8a152c6c
Update parsers: c_sharp, clojure, cpp, cuda, fortran, gitcommit, hlsl, http, prisma, scala, v, wgsl
2023-01-07 21:38:33 +01:00
coinator
ef0cd56e48
Remove update_selection side-effects ( #4114 )
2023-01-07 14:23:00 +01:00
lucario387
85d9534491
allow negative assertion in injection tests ( #4107 )
...
* tests(vue, svelte): strengthen tests
* fix(html, vue, svelte): fix wrong test format
* allow negative assertions in injection tests
2023-01-07 11:22:20 +01:00
Michael Lan
0922634d37
fix(utils): swap_nodes calculates correct char_delta ( #4110 )
...
* fix(utils): swap_nodes calculates correct char_delta
The char_delta is not calculated correctly right now when there are two
treesitter nodes being swapped, one directly following the other. This
is rare but can happen for example when attempting to swap "print" and
"(1)" in "print(1)". In this case an incorrect char_delta is calculated
because of a bug in range comparison.
* test(swap_nodes): check cursor
* add a regression test (for multiline node swap)
* add a test with adjacent swaps that fails when char_delta is not
calculated correctly
* test(swap_nodes): check text content after swap
* test: note language for parser
* fix tests
* use same not equal for table comparison
2023-01-07 02:53:12 +01:00
Cameron
2d8e6b6662
Add tests correctly for ruby rescue/ensure indentation
2023-01-06 19:48:42 +01:00
Cameron
14bdbef468
Create indent-ensure.rb
2023-01-06 19:48:42 +01:00
Cameron
7eb76dc290
Create indent-rescue.rb
2023-01-06 19:48:42 +01:00
Cameron
4ac38ee2d1
Update indents for Ruby
...
Add `rescue` and `ensure` as a @branch captures for ruby
2023-01-06 19:48:42 +01:00
Chinmay Dalal
68e8181dbc
folds(rust): add array_expression
2023-01-05 20:37:14 +01:00
ObserverOfTime
b156939461
ci: properly fix lockfile action
2023-01-04 17:35:52 +01:00
Lewis Russell
27d8fdc6a6
fix: do not force syntax=ON on detach
...
syntax is now restored in vim.treesitter.stop() so we don't need to
force it on here.
2023-01-04 14:08:28 +00:00
Josef Litoš
46cace42fa
highlights(markdown_inline): added ')' to links
2023-01-04 12:17:33 +01:00