nvim-treesitter/lua/nvim-treesitter
patrick96 e3dabec462 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.
2021-11-12 19:55:04 +01:00
..
caching.lua Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
configs.lua Add condition function to module config 2021-11-12 19:55:04 +01:00
fold.lua chore: fix typos 2021-11-02 23:47:48 +01:00
health.lua feat(healthcheck): support native lua healthchecks, and fixes 2021-10-11 09:47:16 +02:00
highlight.lua fix: make additional_vim_regex_highlighting actually accept a list 2021-07-20 09:36:22 +02:00
incremental_selection.lua Use vim-range style (1-index based) when possible (#1841) 2021-09-24 17:46:44 -05:00
indent.lua Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
info.lua Add condition function to module config 2021-11-12 19:55:04 +01:00
install.lua refactor: nitpicking 2021-11-08 15:04:38 +01:00
locals.lua chore: fix typos 2021-11-02 23:47:48 +01:00
parsers.lua Ensure ft_to_lang supports multipart filetypes. 2021-11-11 21:11:15 -05:00
query.lua Query: allow to pass a list to get_capture_matches (#1693) 2021-08-22 20:22:20 -05:00
query_predicates.lua chore: fix typos 2021-11-02 23:47:48 +01:00
shell_command_selectors.lua Add zig as compiler for parser 2021-10-21 22:10:55 +02:00
ts_utils.lua Use vim-range style (1-index based) when possible (#1841) 2021-09-24 17:46:44 -05:00
tsrange.lua Fix bugs in TSRange 2021-11-01 14:51:53 +01:00
utils.lua Use wrapper around vim.notify with common options 2021-10-22 23:46:16 +02:00