diff options
author | Von Random <von@vdrandom.org> | 2023-10-06 14:50:48 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2023-10-06 14:50:48 +0300 |
commit | ad52e357a93a6580161bed5a652472ef80453516 (patch) | |
tree | 765866c0225e5cb6e69a32c299be506949123f09 | |
parent | a3deec1c176d9b96a06673f08be626edea6e7110 (diff) |
nvim: enable treesitter globally for now
-rw-r--r-- | cli/.config/nvim/lua/plugins.lua | 15 |
1 files 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', '<Leader>L', '<cmd>Lazy<CR>') map('n', '<Leader>?', '<cmd>Cheat40<CR>') |