Graham Bates
7a01241ba6
feat: add m68k parser and queries
2022-04-27 16:54:38 +02:00
TerseTears
24f99166ed
Add org parser
2022-04-23 13:55:05 +02:00
francisco souza
44b7c81002
fix(ts_utils): fix swap_nodes after get_node_text change
...
After some discussion, it looks like the easiest thing to do for now is
to keep a private copy of get_node_text (just to skip the deprecation
message) and invoke that, until core provides an equivalent function
that can return the node content in a table representing the node
"lines".
Also fixes the statusline by calling the private version for
get_node_text until a change is made in core.
2022-04-21 23:57:35 +02:00
Nir Tzachar
62fa8f77c4
adapt to vim.treesitter.query.get_node_text
2022-04-19 16:28:41 +02:00
Christian Clason
a8bce851bf
fixup: restore old implementation
2022-04-18 18:50:46 +02:00
ranjithshegde
2490a8bbca
fix(statusline): adjust to the new API (query)
2022-04-18 17:52:18 +02:00
Christian Clason
2248b64781
fix(statusline): don't use deprecated function
2022-04-18 15:36:28 +02:00
Stephan Seitz
c3848e713a
chore: deprecate ts_utils.get_node_text
2022-04-18 14:17:51 +02:00
Stephan Seitz
21ac88b955
chore!: remove compat module for vim.ui
2022-04-18 14:17:22 +02:00
Christian Clason
facc6fdbe1
feat(swift): switch to branch with generated files
2022-04-18 11:49:29 +02:00
Christian Clason
a189323454
chore: bump minimal Nvim version to 0.7 and check
...
Checks minimal version in `:checkhealth nvim-treesitter`
Also recommend nightlies
2022-04-16 11:13:32 +02:00
Marcus Caisey
6a437db012
remove ignore_child_trees from get_node_at_position
2022-04-16 10:42:18 +02:00
Marcus Caisey
9dff7c2d45
add ignore_injected_langs to get_node_at_cursor
2022-04-16 10:42:18 +02:00
Emilia Simmons
76d1042b31
Format with stylua
2022-04-15 22:00:23 +02:00
Emilia Simmons
56083dd56f
fix: properly select name in revision archive
2022-04-15 22:00:23 +02:00
Konrad Bochnia
cc83e23a2a
fix: remove ftdetect, Fix struct highlight for wgsl
2022-04-11 23:16:19 +02:00
Konrad Bochnia
1a58c71b73
Add WGSL parser
2022-04-11 23:16:19 +02:00
6cdh
7fffab173c
Fix nvim-treesitter CI
2022-04-10 13:51:59 +02:00
6cdh
46dc8b8f40
Added scheme support
2022-04-10 13:51:59 +02:00
Christian Clason
acd01551a3
chore!: deprecate ensure_installed=maintained
...
BREAKING CHANGE: specify explicit list or use `ensure_installed='all'`
(not recommended)
2022-04-10 13:24:57 +02:00
kiyan
7141393f12
fix(modules): enabling disabling per buffer and globally
...
When a module is disabled by default in the config, running
TSBufEnable will not enable the module because the is_enabled
function will always return false, thus the module not being enabled.
Also, disabling/enabling the buffers is flaky.
This commit adds per buffer check when the module is not disabled. It
also makes the enable and disable more indempotent.
i've also renamed TS*All to TS*.
Fixes #2754
2022-04-10 11:10:12 +02:00
Micah Halter
801c910f49
Add more filetypes for treesitter-markdown
...
Signed-off-by: Micah Halter <micah@balena.io>
2022-04-08 19:46:09 +02:00
virchau13
f62fb16bba
feat: add astro
2022-04-07 16:04:21 +02:00
Lex
1c53f9a2dd
Fixed the stylua
2022-04-03 14:47:06 +02:00
Oleksii Demennikov
00197398bd
Added the initial version for the support of rego language
2022-04-03 14:47:06 +02:00
Tobias Frilling
e06b54b64e
Add elvish
2022-04-01 09:51:42 +02:00
Gregory Anders
e2b2d2357b
Add capture groups for remaining builtin highlight groups
...
Some builtin highlight groups (see `:h group-name`) do not yet have
associated capture groups, so add them.
2022-03-30 22:14:23 +02:00
Christian Clason
7e9c46b678
feat: add vimdoc parser and highlight queries
2022-03-29 18:25:23 +02:00
Christian Clason
a838a35b2b
chore: placate luacheck
2022-03-26 10:20:26 +01:00
Addison Chan
2dfe7a5839
Add Cooklang
2022-03-17 08:40:34 +01:00
Stephan Seitz
ccb55be88f
fix(solidity): follow install_info.branch on parser update
2022-03-12 22:59:47 +01:00
YongJieYongJie
a180859eea
Add highlights query for Solidity
2022-03-11 19:06:39 +01:00
Stephan Seitz
3aac7f9db9
fix: prefer gmake over make
2022-03-08 21:49:18 +01:00
Stephan Seitz
b8129fac90
Revert "2612: Use gmake when available"
...
This reverts commit d3d1637c3c .
2022-03-08 21:32:11 +01:00
Sebastián Zaffarano
d3d1637c3c
2612: Use gmake when available
2022-03-08 20:43:20 +01:00
Jared Moulton
cc4f373bb4
Add slint parser configuration and queries ( #2598 )
...
* Add slint parser
* Mark slint as experimental
* Remove filetype and add slint to the lockfile
* Update queries
* Update varibable.builtin's and repeats
* Update slint true false
* Change export back to keyword
* Change export back to include :)
2022-03-07 23:10:31 +00:00
Arnar Gauti Ingason
202cbc10ad
parsers: Add todotxt parser
2022-02-28 22:46:47 +01:00
kiyan
560e8fb450
refacto: expose a function to set custom capture for the higlighter
...
BREAKING: deprecate custom_captures from highlight config.
This allows plugin authors to extend the map. It also avoids settings
user configuration specific values during the highlighter
initialization (SOC).
Not sure how much value this brings, and might potentially break a lot
of people configurations. This is questionable.
2022-02-19 18:26:51 +01:00
Connor Lay (Clay)
0fbb268b07
Add myself as maintainer of Elixir, Gleam queries
2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
84354f991a
Add Gleam parser
2022-02-15 19:01:02 +01:00
traxys
ca64d8b028
feat: add lalrpop parser ( #2524 )
...
LALRPOP is a parser generator for Rust. This only parses the LALRPOP
side of the generator, not the nearly-rust code of the actions.
2022-02-13 16:18:41 +00:00
badhi
503c99d766
typo fix
2022-02-13 10:39:55 +01:00
badhi
738a0136dd
added doc for setup_command
2022-02-13 10:39:55 +01:00
badhi
0b10e96e0e
Fixed formatting
2022-02-13 10:39:55 +01:00
badhi
763e0e43f7
Added extra argument to setup commands so that user can change the function args types
2022-02-13 10:39:55 +01:00
github-actions[bot]
708b4e4cac
Update lockfile.json ( #2512 )
...
Co-authored-by: GitHub <noreply@github.com>
2022-02-11 09:36:01 +00:00
Stephan Seitz
5639b74db0
chore(makefile): apply fixes to original makefile
2022-02-08 23:37:59 +01:00
Stephan Seitz
81f2a5d702
fix(makefile): fallback to c++14 when parser does not have cxx_standard set
2022-02-08 23:37:59 +01:00
Stephan Seitz
2caac44720
fix: Allow re-parsing in Python, XFAIL \ indentation test
2022-02-06 19:42:57 +01:00
kiyan
a0b7cece2c
chore: expose start and stop highlighter
...
Decompose highlighter module in small functions to allow exporting a
start and stop functions without the syntax change.
Also fix linter issues in configs.lua
2022-02-06 15:12:34 +01:00