summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/configs.lua
AgeCommit message (Collapse)Author
2021-04-19Avoid Lua 5.3 function table.unpackStephan Seitz
2021-04-16Fix TSEditQuery with several files (#1191)Santos Gallegos
- Choice already starts with 1, there isn't need to increment 1 - The first item is the prompt as recommended in `:h inputlist()` (this way the choice matches when using the mouse)
2021-04-14feat: Add TSEditQueryUserAfterStephan Seitz
2021-04-14feat: Add TSEditQueryStephan Seitz
2021-03-24feat(install): allow ignore list when installing parsers (#1098)Steven Sojka
2021-03-18feat: Allow to configure to use syntax and tree-sitter togetherStephan Seitz
2021-02-27chore: remove useless code and indent fileskiyan
2021-02-01Implement `TSToggleAll`.echasnovski
2021-02-01Implement `TSBufToggle`.echasnovski
2021-01-14Revert "added attach async"Thomas Vigouroux
2021-01-08fixed not highlighting bugBrian Shu
2021-01-07added attach asyncBrian Shu
2020-10-24feat: add TSConfigInfo to display current configStephan Seitz
https://nvim-treesitter.zulipchat.com/#narrow/stream/252271-general/topic/Random/near/210929394
2020-10-22fix(markdown): disable highlightingThomas Vigouroux
The markdown scanner errors out far too often to be usable, disabling it by default would avoid many issues until those assertion errors are fixed.
2020-10-19Treesitter indentkiyan42
also fixes the memoize_by_buf_tick function
2020-10-19start indent modulekiyan42
2020-10-04Remove textobjects moduleStephan Seitz
2020-10-04Merge pull request #487 from steelsojka/remove-refactorSteven Sojka
chore(modules): remove refactor module
2020-09-27Add lockfile and make lockfile default install revisionStephan Seitz
2020-09-25chore(modules): remove refactor moduleSteven Sojka
2020-09-11Allow to call setup on already loaded modules.Santos Gallegos
2020-09-10Improve startuptimeSantos Gallegos
- Don't load everything at startup - Don't define an autocomand for each module and for each supported lang (this creates nxm autocomand!)
2020-09-08Import treesitter.install only when neededSantos Gallegos
2020-09-06Text objects: check for query files firstSantos Gallegos
The first function is faster and more common.
2020-09-05Completion: use custom instead of customlistSantos Gallegos
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396
2020-09-05fix ts_available_modules should be using nvim_treesitter#available_moduleskiyan42
2020-09-04Refactor: move completion functions to autoloadSantos Gallegos
2020-08-31Fix(modules): simplify configs.setupStephan Seitz
This prevents a really weird bug were the following function call (after loading the activated modules) could activate `highlight_current_scope` ```lua require "nvim-treesitter.configs".setup( { highlight = { enable = false, -- false will disable the whole extension disable = {"html", "lua"} -- list of language that will be disabled }, refactor = { highlight_current_scope = { enable = false, inverse_highlighting = true, disable = {"python", "markdown"} }, highlight_definitions = { enable = true, disable = {"markdown"} }, }, ensure_installed = "all", disable = {"markdown"}, -- list of language that will be disabled } ) ```
2020-08-31Avoid enabling disabled modules (even if they were disabled immediately)Stephan Seitz
This might be safer for the case that attach/detach are not inverse to each other. Disabled modules shouldn't ever be activated.
2020-08-31feat(refactor.navigation): add navigation.goto_{next,previous}_usageStephan Seitz
2020-08-22fix(modules): do not reattach if already attachedSteven Sojka
2020-08-17chore(textobjects): split up into submodulesStephan Seitz
2020-08-17Textobjects: provide mappings for all swap/goto functionsStephan Seitz
2020-08-17Textobjects: add swap featureStephan Seitz
2020-08-11pass full module path in recurse accumulator to enable/disable sub modulesLaxman Sooriyathas
2020-08-10configs: actually enable and disable on setupThomas Vigouroux
2020-07-27configs: attach on unknown parsers tooThomas Vigouroux
2020-07-16Refactor: Add parsers.get_buf_langStephan Seitz
2020-07-15fix(configs): deep merge table configsSteven Sojka
2020-07-15fix(configs): simplify module setup processThomas Vigouroux
Abuse a bit of tbl_extend and tbl_deep_extend. We might want to continue this effort, and simplify this part of the plugin. Fixes #178
2020-07-14Add textobjects moduleStephan Seitz
2020-07-13Add module refactor.highlight_current_scopeStephan Seitz
2020-07-13Fix #167: Add custom_captures config key to set highlights for custom queriesStephan Seitz
2020-07-07feat(configs): dynamic module defintionsSteven Sojka
2020-07-05Make luacheck happyStephan Seitz
2020-06-30update installer with sync and some fixeskiyan42
- add sync method for installing using `system` - remove `descriptions` in command configs - use install(lang) in ensure_installed and make it compatible
2020-06-30refactor(refactor): use higher local apis and some cleanupSteven Sojka
2020-06-30feat(refactor): add definition navigation moduleSteven Sojka
2020-06-30feat(refactor): add smart rename moduleSteven Sojka
2020-06-30feat(refactor): highlight usages moduleSteven Sojka