Commit graph

4832 commits

Author SHA1 Message Date
Wu Zhenyu
e32ebdc01d feat: change some ft, lang pairs
mysql comes from $VIMRUNTIME/syntax/mysql.vim
expect comes from $VIMRUNTIME/syntax/expect.vim
2024-02-15 09:39:38 +01:00
Wu Zhenyu
e4a1cc6e8e feat: add the muttrc parser 2024-02-15 09:39:10 +01:00
gi1242
69e4b99f13
fix(latex): update bibstyle queries (#6102)
Match grammar.js from commit 0d598bb95ffe3ba63403979d0d32158210974ca5 in
latex-lsp/tree-sitter-latex

Co-authored-by: gi1242 <gi1242+nvim-treesitter@gmail.com>
2024-02-15 07:59:28 +00:00
Riley Bruins
d96bf9d522
fix(python): better try-except indentation (#6097) 2024-02-15 00:39:59 +07:00
Wu Zhenyu
5a5cabd712 feat: add the hlsplaylist parser 2024-02-14 16:06:13 +01:00
nvim-treesitter-bot[bot]
883c72cddc Update parsers: tcl, wing 2024-02-14 09:49:17 +01:00
Gartox
7e9139db68 feat(lalrpop): highlight annotation macros
Lalrpop support putting annotation like `#[precedence(level = "1")]`.
This commit aims to highlight `precedence` with the `function.macro`
highlight group, like rust does with its proc macros.
2024-02-13 18:13:53 -05:00
nvim-treesitter-bot[bot]
f6342874b1 Update parsers: c, chatito, dtd, lalrpop, properties, query, slint, wing, xml, zathurarc 2024-02-13 17:09:40 +00:00
Phạm Huy Hoàng
1c72e797ba fix(yuck): comment out start-of-line parens 2024-02-13 17:58:36 +01:00
Jaehwang Jung
2b6020247d fix(cpp): add back comment injection 2024-02-13 13:16:00 +01:00
nvim-treesitter-bot[bot]
4416d21466 Update README 2024-02-13 09:40:56 +00:00
nvim-treesitter-bot[bot]
1843594962 Update parsers: arduino, bash, chatito, dtd, gitattributes, gpg, pem, poe_filter, printf, properties, pymanifest, rasi, requirements, scala, ssh_config, swift, udev, wing, xcompose, xml, zathurarc 2024-02-13 09:33:50 +00:00
Christian Clason
02ff2220d3 fix(xml): adapt to repo layout change 2024-02-13 09:33:50 +00:00
nvim-treesitter-bot[bot]
10d79b5dbb Update parsers: properties, scala, slang, wing, zathurarc 2024-02-12 09:45:14 +01:00
Sean Boult
10e8dffb79
feat(jsx): spell check text nodes (#6083) 2024-02-12 06:51:12 +07:00
Turiiya
b52b298669 chore(v): update lockfile 2024-02-11 14:36:19 +01:00
Turiiya
0aa7131044 chore(v): update repository url 2024-02-11 14:36:19 +01:00
Jongwook Choi
9860fceb73 fix: use augroup for auto_install autocmds
Problem: The FileType autocmd to automatically install parsers on a new
filetype (introduced in #3130) did not have augroup. As a result, when
`ts_configs.setup{ }` is called multiple times (for some reason),
duplicated installation requests will be made.

Solution: Use augroup with `clear = true`.
2024-02-11 11:21:29 +01:00
nvim-treesitter-bot[bot]
96f190f7a1 Update parsers: bash, cpp, dart, gitattributes, hyprlang, ruby, wing, zathurarc 2024-02-11 13:47:39 +07:00
dundargoc
6444286cbf ci: fix invalid workflow
Context variables aren't always available, so we can't rely on them for
e.g. environment variables.

Also merge all install scripts into `script/ci-install.sh`, that way it
can be called the same way regardless of system.
2024-02-10 19:49:14 +01:00
dundargoc
143a342bd8 ci: use windows-latest over windows-2022
It's convenient to not need to manually update the runner version.
2024-02-10 15:25:01 +01:00
Amaan Qureshi
05962ae14a chore(bash): update parser and highlights 2024-02-10 06:58:38 -05:00
Ananda Umamil
baf4581159 feat(ecma): highlight decorator and destructuring 2024-02-10 10:02:27 +01:00
nvim-treesitter-bot[bot]
817ca60370 Update parsers: arduino, bash, beancount, cpp, dtd, luadoc, slint, wing, xml 2024-02-10 13:47:19 +07:00
Riley Bruins
841dde702c fix(readline): more descriptive version number hl 2024-02-09 18:25:33 -05:00
Riley Bruins
8ec79c4785 fix(readline): proper indents while editing 2024-02-09 18:25:33 -05:00
nvim-treesitter-bot[bot]
aa805bf22f Update README 2024-02-09 18:30:46 +01:00
Christian Clason
b8840a426e feat(tcl): add parser and queries 2024-02-09 18:29:39 +01:00
nvim-treesitter-bot[bot]
51d15ef5da Update README 2024-02-09 17:14:21 +00:00
Amaan Qureshi
6b93dcd15a
chore(vue): adapt to scanner rewrite (#6068) 2024-02-10 02:05:52 +09:00
Charles
95036477c1
feat: add sourcepawn parser and queries (#5865) 2024-02-10 00:40:01 +09:00
nvim-treesitter-bot[bot]
3dbea103d8 Update README 2024-02-09 20:58:19 +07:00
Tobias Hunger
0f3183dda8
feat(slint)!: change to the official parser (#6027)
This change replaces the slint parser written and maintained by @jrmoulton
with the official one hosted in the slint-ui organization on github.

A huge thank you to @jrmoulton for all his work on the tree-sitter
parser!

---------

Co-authored-by: jrmoulton <jaredmoulton3@gmail.com>
2024-02-09 13:46:57 +00:00
nvim-treesitter-bot[bot]
f0d43eff13 Update parsers: ruby 2024-02-09 12:05:51 +00:00
nvim-treesitter-bot[bot]
4b00de5633 Update parsers: asm, faust, readline, ruby, wing 2024-02-09 10:19:33 +00:00
Christian Clason
8812089919 fix(unison): adapt to breaking parser change 2024-02-09 11:10:00 +01:00
Christian Clason
8262ccf990 fixup: it's fine 2024-02-09 10:45:13 +01:00
Christian Clason
de4a651da7 ci: pin tree-sitter-cli version in npm install
This prevents bad tags from messing up CI
2024-02-09 10:33:35 +01:00
Luckas
bc07e58f42
feat: add hyprlang parser & queries (#5852)
Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2024-02-09 10:19:46 +01:00
nvim-treesitter-bot[bot]
01c159826e Update README 2024-02-09 08:57:56 +00:00
wzy
cab95b2f96
feat: add tree-sitter-asm parser (#5946) 2024-02-09 09:50:46 +01:00
Amaan Qureshi
6d1ab048d2 chore(ruby): adapt to scanner rewrite 2024-02-09 09:50:04 +01:00
Amaan Qureshi
76700e147b feat(d)!: switch upstream parser to gdamore/tree-sitter-d 2024-02-08 18:59:04 -05:00
Riley Bruins
cbf0dfd92f
feat(readline): add parser tree-sitter-readline (#6058) 2024-02-08 21:03:21 +02:00
Karl Hiner
b444afa1da
feat(faust): add tree-sitter-faust (#6043) 2024-02-08 10:54:33 +01:00
nvim-treesitter-bot[bot]
3e71d65447 Update parsers: groovy, haskell, javascript, svelte, templ, wing 2024-02-08 09:24:42 +00:00
Anthony Shi
5973b617a9
fix(kotlin): remove slow highlight and local pattern (#5954)
This is a parser bug that needs to be fixed; temporary workaround to
remove the ~0.5s delay on opening highlight and locals queries.
2024-02-06 13:51:50 +01:00
Dennis van den Berg
3722d5d772
fix(angular): nullish coalescing operator in Angular templates (#6052) 2024-02-06 10:30:01 +01:00
Riley Bruins
127cf25737 feat(latex): pre-compiled header highlights, tests
Also moves comment highlights to the very end to make them more
future-proof.
2024-02-06 10:29:09 +01:00
Riley Bruins
8d6192baa9 fix(latex): give comments higher precedence
This commit also moves things around to give text better precedence in
the case of `textit` and `textbf`.
2024-02-06 10:29:09 +01:00