summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/info.lua
AgeCommit message (Collapse)Author
2022-08-03chore: show in TSInstallInfo when parser is still loadedStephan Seitz
2022-04-30refactor!: update to Neovim 0.7 APIsChristian Clason
* set highlight groups via nvim_set_hl * define autocommands via nvim_create_autocmd * port plugin/nvim-treesitter.vim to Lua * port healthcheck to Lua
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-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-04-21fix: Sort parsers for :TSInstallInfoStephan Seitz
2021-04-06TSModuleInfo: make new buffer work with given argumentMarco Hinz
2021-04-06TSModuleInfo: use custom bufferMarco Hinz
2021-04-05TSModuleInfo: cleaner indentationMarco Hinz
2021-04-05TSModuleInfo: sort mods and languagesMarco Hinz
2020-09-05Completion: use custom instead of customlistSantos Gallegos
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396
2020-09-04Refactor: move completion functions to autoloadSantos Gallegos
2020-08-02Add TSUpdate command to update parsersStephan 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-30feat(refactor): highlight usages moduleSteven Sojka
2020-06-22rename and finish ft->lang migrationkiyan42
2020-06-20refactor: parser list and lang->ft/ft->langkiyan42
- move parser list in `parsers.lua` - most `ft` variable where changed to `lang`, `ft` is only used on autocmd binding, and lang is used for everything else. Functions have been defined to make the switch between `ft` and `lang`
2020-04-24feat/refacto: improve configurationskiyan42
- You should now get the configs through functions - Configs for languages are now inside a local object called parsers - You can get the parser installation configurations with `get_parser_configs` - A new object has been initialized inside configs to specify module config (called config). - Provide functions to enable/disable a module on one buffer - Provide functions to enable/disable a module on all buffers, and if filetype is specified, for specific filetype - Provide function to determine if module is activated for a specified filetype