From ad52e357a93a6580161bed5a652472ef80453516 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 6 Oct 2023 14:50:48 +0300 Subject: [PATCH] nvim: enable treesitter globally for now --- cli/.config/nvim/lua/plugins.lua | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index e905648..c8ae6da 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -18,17 +18,12 @@ require('lazy').setup { } --[[ plugin configs and maps ]] -local conf_ll_sep = "\u{2022}" -local conf_nvim_treesitter = { - highlight = { - enable = true - } -} - require('gitsigns').setup() -if not vim.fn.has('Windows') then - require('nvim-treesitter.configs').setup(conf_nvim_treesitter) -end +require('nvim-treesitter.configs').setup { + highlight = { + enable = true + } +} map('n', 'L', 'Lazy') map('n', '?', 'Cheat40')