summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2022-04-18chore: deprecate ts_utils.get_node_textStephan Seitz
2022-04-18chore!: remove compat module for vim.uiStephan Seitz
2022-04-18feat(swift): switch to branch with generated filesChristian Clason
2022-04-16chore: bump minimal Nvim version to 0.7 and checkChristian Clason
Checks minimal version in `:checkhealth nvim-treesitter` Also recommend nightlies
2022-04-16remove ignore_child_trees from get_node_at_positionMarcus Caisey
2022-04-16add ignore_injected_langs to get_node_at_cursorMarcus Caisey
2022-04-15Format with styluaEmilia Simmons
2022-04-15fix: properly select name in revision archiveEmilia Simmons
2022-04-11fix: remove ftdetect, Fix `struct` highlight for wgslKonrad Bochnia
2022-04-11Add WGSL parserKonrad Bochnia
2022-04-10Fix nvim-treesitter CI6cdh
2022-04-10Added scheme support6cdh
2022-04-10chore!: deprecate ensure_installed=maintainedChristian Clason
BREAKING CHANGE: specify explicit list or use `ensure_installed='all'` (not recommended)
2022-04-10fix(modules): enabling disabling per buffer and globallykiyan
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-08Add more filetypes for treesitter-markdownMicah Halter
Signed-off-by: Micah Halter <micah@balena.io>
2022-04-07feat: add astrovirchau13
2022-04-03Fixed the styluaLex
2022-04-03Added the initial version for the support of rego languageOleksii Demennikov
2022-04-01Add elvishTobias Frilling
2022-03-30Add capture groups for remaining builtin highlight groupsGregory Anders
Some builtin highlight groups (see `:h group-name`) do not yet have associated capture groups, so add them.
2022-03-29feat: add vimdoc parser and highlight queriesChristian Clason
2022-03-26chore: placate luacheckChristian Clason
2022-03-17Add CooklangAddison Chan
2022-03-12fix(solidity): follow install_info.branch on parser updateStephan Seitz
2022-03-11Add highlights query for SolidityYongJieYongJie
2022-03-08fix: prefer gmake over makeStephan Seitz
2022-03-08Revert "2612: Use gmake when available"Stephan Seitz
This reverts commit d3d1637c3c7b384776dfc8f4e8c34cf83eca37e3.
2022-03-082612: Use gmake when availableSebastián Zaffarano
2022-03-07Add slint parser configuration and queries (#2598)Jared Moulton
* 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-02-28parsers: Add todotxt parserArnar Gauti Ingason
2022-02-19refacto: expose a function to set custom capture for the higlighterkiyan
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-15Add myself as maintainer of Elixir, Gleam queriesConnor Lay (Clay)
2022-02-15Add Gleam parserConnor Lay (Clay)
2022-02-13feat: add lalrpop parser (#2524)traxys
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-13typo fixbadhi
2022-02-13added doc for setup_commandbadhi
2022-02-13Fixed formattingbadhi
2022-02-13Added extra argument to setup commands so that user can change the function ↵badhi
args types
2022-02-11Update lockfile.json (#2512)github-actions[bot]
Co-authored-by: GitHub <noreply@github.com>
2022-02-08chore(makefile): apply fixes to original makefileStephan Seitz
2022-02-08fix(makefile): fallback to c++14 when parser does not have cxx_standard setStephan Seitz
2022-02-06fix: Allow re-parsing in Python, XFAIL `\` indentation testStephan Seitz
2022-02-06chore: expose start and stop highlighterkiyan
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-06refacto: deprecate used_by in parsers.luakiyan
- 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-05fix(indents): ignore comment_parsers for indentationStephan Seitz
2022-02-05Update lua/nvim-treesitter/indent.luaStephan Seitz
Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
2022-02-05workaround(indents): avoid reparsing for indent sensitive yaml/pythonStephan Seitz
2022-02-05fix(indents): re-parse before each indentStephan Seitz
2022-02-05indents(c): add zero_indent for #ifStephan Seitz
2022-02-05indents(c): fix indentation on block commentStephan Seitz