Commit graph

281 commits

Author SHA1 Message Date
tami5
010f364295 feat(vlang): initial support
Add support for vlang filetypes.

- [ ] Highlight `C` as builtin variable. This is FFI in vlang land,
  where C act like extern and access c functions. The vlang parser does
  some extension between C function calls and arguments but I believe
  highlighting C as builtin variable is sufficient indicator for now. I
  tried to use offset! but failed. Any suggestions?
- [ ] Set up parser url. the vlang parser is located within [vls] repo. Is
  installing from nested repo supported? `tree_sitter_v/src/parser.c`?

[vls]: https://github.com/vlang/vls/tree/master/tree_sitter_v

cc @elianiva @theHamsta
2022-05-21 13:48:58 +02:00
TerseTears
f0f75b6c54 Add wiki link to information on languages 2022-05-21 13:31:47 +02:00
Github Actions
cf3e963e50 Update README 2022-05-05 08:03:37 +02:00
Luke Bakken
4a67de217a
docs: fix checkhealth command in README (#2884)
Health check command should be `:checkhealth nvim-treesitter`
2022-04-30 17:39:16 +00:00
Github Actions
a33a188ce7 Update README 2022-04-28 01:34:50 +02:00
Github Actions
9fdd6765fc Update README 2022-04-27 17:23:07 +02:00
TerseTears
24f99166ed Add org parser 2022-04-23 13:55:05 +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
Dalembert
04367f46e6 Fix syntax in comment 2022-04-15 18:37:17 +02:00
Konrad Bochnia
1a58c71b73 Add WGSL parser 2022-04-11 23:16:19 +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
Github Actions
0373e2ae5f Update README 2022-04-07 18:12:18 +02:00
Oleksii Demennikov
8dbe97afa2 Added injections 2022-04-03 14:47:06 +02:00
Github Actions
8a5e5ca27a Update README 2022-04-01 10:30:48 +02:00
Github Actions
69308ad73d Update README 2022-03-29 18:33:32 +02:00
Christian Clason
97691940d1 doc: mention vim.filetype.add() in README
...instead of `ftdetect` additions
2022-03-27 18:44:11 +02:00
Martin Kunz
831be7f097 edit(readme): note about the configuration filetypes 2022-03-19 12:27:04 +01:00
Github Actions
68f016daf6 Update README 2022-03-17 08:52:32 +01:00
Github Actions
8d92fa851e Update README 2022-03-11 19:20:36 +01:00
Github Actions
2ff68da179 Update README 2022-03-08 08:36:20 +01:00
Github Actions
dcfd6c0637 Update README 2022-02-28 23:00:09 +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
github-actions[bot]
32eb167875
Update README (#2532)
Co-authored-by: Github Actions <actions@github>
2022-02-15 18:23:36 +00: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
kiyan
97cc325a17 doc: add information about lua-heredoc 2022-02-11 10:42:03 +01:00
kiyan
cf21576b0c chore: update init.vim refs to init.lua 2022-02-11 10:42:03 +01:00
kiyan
2e67eace75 chore: remove lua heredocs in documentation and readme 2022-02-11 10:42:03 +01:00
Carlo Sala
726d9be3aa fix: readme typo, removing deprecated docs 2022-02-06 20:22:44 +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
jedsek
767292681e Update 'troubleshooting' for using mirror. 2022-02-06 12:59:12 +01:00
github-actions[bot]
aefabaa1d4
Update README (#2447)
Co-authored-by: Github Actions <actions@github>
2022-02-04 10:42:36 +00:00
github-actions[bot]
3cfbde4db0
Update README (#2443)
Co-authored-by: Github Actions <actions@github>
2022-02-03 18:23:04 +00:00
github-actions[bot]
5e3a93f365
Update README (#2399)
Co-authored-by: Github Actions <actions@github>
2022-01-29 18:57:28 +01:00
Mateus Melchiades
5fc4cb5d2d Vala language support 2022-01-29 18:43:44 +01:00
Github Actions
923f91b5d6 Update README 2022-01-25 18:05:31 +01:00
Christian Clason
97ffd5c43d doc: stress need to :TSUpdate after lockfile change 2022-01-24 16:28:02 +01:00
Stephan Seitz
bb33aea03c Set CXX standard per parser and fix Norg 2022-01-23 16:27:25 +01:00
Github Actions
9419107d86 [docgen] Update README.md
skip-checks: true
2022-01-23 16:27:25 +01:00
Github Actions
f048886f82 Update README 2022-01-20 19:22:27 +01:00
Github Actions
4581400e44 Update README 2022-01-18 22:54:18 +01:00
Christian Clason
1b9d059c55 docs(readme): mention tracking issue for language support 2022-01-17 16:34:39 +01:00
Github Actions
b64f848f59 [docgen] Update README.md
skip-checks: true
2022-01-17 10:53:35 +01:00
Kid
1c9a546fcd Tighten requirements 2022-01-16 16:09:52 +01:00
Kid
f07dc05bb6 Recommend nightly 2022-01-16 16:09:52 +01:00
Kid
15a8a40f27 Remove nightly Neovim requirement from README 2022-01-16 16:09:52 +01:00
Stephan Seitz
2f489ad3c6 docs(readme): make custom parser example more explicit about options 2022-01-16 15:40:27 +01:00
Github Actions
687584df55 Update README 2022-01-16 15:37:47 +01:00
Github Actions
99ce1135d7 Update README 2022-01-16 15:02:26 +01:00