From e6fed655e18343e6e399e8198346466effe8c3a8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 18 Mar 2021 22:19:57 +0100 Subject: Fix nvim lua scripts --- .config/nvim/lua/_treesitter/init.lua | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.config/nvim/lua/_treesitter') diff --git a/.config/nvim/lua/_treesitter/init.lua b/.config/nvim/lua/_treesitter/init.lua index d202a9f..2b61051 100644 --- a/.config/nvim/lua/_treesitter/init.lua +++ b/.config/nvim/lua/_treesitter/init.lua @@ -3,13 +3,18 @@ require'nvim-treesitter.configs'.setup { highlight = { enable = true, -- false will disable the whole extension }, -} - -require "nvim-treesitter.configs".setup { playground = { enable = true, disable = {}, updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code persist_queries = false -- Whether the query persists across vim sessions - } + }, + rainbow = { + enable = false + }, + refactor = { + highlight_definitions = { + enable = false + } + } } -- cgit v1.2.3-70-g09d2