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
kiyan
58a4897e6d
refacto: deprecate used_by in parsers.lua
...
- remove print_warning function from utils.lua (unused)
- cleanup some functions in parsers.lua (parameters overloading
and wrong bufnr used).
- log a deprecation notice when using used_by in a parser definition
- default the filetype_to_parsername table to the list of filetypes
previously in the used_by keys
- update the README to indicate that change
2022-02-06 14:30:57 +01:00
Stephan Seitz
07e07cf303
fix(indents): ignore comment_parsers for indentation
2022-02-05 18:54:55 +01:00
Stephan Seitz
66f33ddd8b
Update lua/nvim-treesitter/indent.lua
...
Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
2022-02-05 18:54:55 +01:00
Stephan Seitz
aa035cdf2a
workaround(indents): avoid reparsing for indent sensitive yaml/python
2022-02-05 18:54:55 +01:00
Stephan Seitz
b06961a519
fix(indents): re-parse before each indent
2022-02-05 18:54:55 +01:00
Stephan Seitz
fd5a551d7c
indents(c): add zero_indent for #if
2022-02-05 18:54:55 +01:00
Stephan Seitz
616dc885fc
indents(c): fix indentation on block comment
2022-02-05 18:54:55 +01:00
Stephan Seitz
b9c38a48ca
indents: refactor hanging indent
2022-02-05 18:54:55 +01:00
Stephan Seitz
059fbc487c
indents: allow aligned_indent for unfinished calls in C and Python
2022-02-05 18:54:55 +01:00
Stephan Seitz
62982378b8
indents(cpp): indent at field_initializer_list
2022-02-05 18:54:55 +01:00
Stephan Seitz
7654bbc04b
feat(indents): add support for language injection
2022-02-05 18:54:55 +01:00
Christian Clason
a80c8bc506
chore(latex)!: update parser and queries ( #2436 )
...
BREAKING CHANGE: queries for latex need adaptation
2022-02-04 10:29:46 +00:00
Andrew Helwer
b12c10778c
Updated TLA+ version, queries, maintainers ( #2442 )
2022-02-03 19:12:22 +01:00
Michael Lan
50cf31065c
fix(utils): adjust truncation condition
2022-02-03 08:38:50 +01:00
Michael Härtl
92ce0fc3d5
update(phpdoc) Add scanner.c ( #2426 )
2022-02-01 12:51:31 +01:00
Stephan Seitz
7049a66b54
health: check which file caused an error
2022-01-29 23:45:32 +01:00
Mateus Melchiades
5fc4cb5d2d
Vala language support
2022-01-29 18:43:44 +01:00