diff options
Diffstat (limited to 'lua/nvim-treesitter.lua')
| -rw-r--r-- | lua/nvim-treesitter.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lua/nvim-treesitter.lua b/lua/nvim-treesitter.lua index ef6c31506..8dae7c33b 100644 --- a/lua/nvim-treesitter.lua +++ b/lua/nvim-treesitter.lua @@ -9,12 +9,6 @@ local M = {} -- this is the main interface through the plugin function M.setup(lang) if parsers.has_parser(lang) then - if locals.is_supported(lang) then - print("Locals setup for", lang) - api.nvim_command(string.format([[ - autocmd NvimTreesitter FileType %s lua vim.api.nvim_buf_attach(0, true, {on_lines=require'nvim-treesitter.locals'.on_lines}) - ]], lang)) - end end end |
