diff options
| author | kiyan <yazdani.kiyan@protonmail.com> | 2022-04-09 14:41:07 +0200 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-04-10 11:10:12 +0200 |
| commit | 7141393f1284f518e4393da24ebda0a03111e6fd (patch) | |
| tree | 46c7f01fc9ffa18958de4bd5cba5e4ecb4283780 /lua/nvim-treesitter.lua | |
| parent | feat: add curly interpolation support for astro (diff) | |
| download | nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.tar nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.tar.gz nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.tar.bz2 nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.tar.lz nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.tar.xz nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.tar.zst nvim-treesitter-7141393f1284f518e4393da24ebda0a03111e6fd.zip | |
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
Diffstat (limited to 'lua/nvim-treesitter.lua')
0 files changed, 0 insertions, 0 deletions
