summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/ts_utils.lua
diff options
context:
space:
mode:
authorpatrick96 <p.ziegler96@gmail.com>2021-11-09 18:24:35 +0100
committerStephan Seitz <stephan.seitz@fau.de>2021-11-12 19:55:04 +0100
commite3dabec4620843a55fdb03d1aeebf5edaa62107e (patch)
tree47f632f1454ee47b2f08e7660343e03e29735c46 /lua/nvim-treesitter/ts_utils.lua
parent6888242b989dd463d2c170614bdb3391820030ea (diff)
Add condition function to module config
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.
Diffstat (limited to 'lua/nvim-treesitter/ts_utils.lua')
0 files changed, 0 insertions, 0 deletions