summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/configs.lua
AgeCommit message (Collapse)Author
2021-12-14parsers: Add MDeiml/tree-sitter-markdown as markdown parserStephan Seitz
Fixes #872
2021-11-28Fix docspatrick96
2021-11-28Make disable accept a functionpatrick96
Replaces the condition setting (though it does the exact inverse)
2021-11-28Rename cond to conditionpatrick96
2021-11-12Add condition function to module configpatrick96
The function is called with the language and bufnr, if it returns false, the module is disabled for that buffer. This gives the user more fine-grained control over whether a module is started.
2021-11-08refactor: nitpickingSirisak Lueangsaksri
2021-11-08feat: sync install for `ensure_installed`Sirisak Lueangsaksri
2021-10-22Use wrapper around vim.notify with common optionsSantos Gallegos
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843
2021-10-03chore: use vim.ui.select for TSEditQuery if availableStephan Seitz
2021-07-18Re-attach module when the file type is changedSantos Gallegos
Requires https://github.com/neovim/neovim/pull/14995 Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1249
2021-07-11New stylua version (#1555)Stephan Seitz
2021-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-07-04Improved passing bang to functionsShane Hird
2021-07-04Fix ensure_installed functionShane Hird
2021-07-04TSUpdate does not install if up to dateShane Hird
2021-04-22feat(incremental_selection): don't require localsThomas Vigouroux
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