1
0
Fork 0

nvim: enable treesitter globally for now

This commit is contained in:
Von Random 2023-10-06 14:50:48 +03:00
parent a3deec1c17
commit ad52e357a9

View file

@ -18,17 +18,12 @@ require('lazy').setup {
} }
--[[ plugin configs and maps ]] --[[ plugin configs and maps ]]
local conf_ll_sep = "\u{2022}"
local conf_nvim_treesitter = {
highlight = {
enable = true
}
}
require('gitsigns').setup() require('gitsigns').setup()
if not vim.fn.has('Windows') then require('nvim-treesitter.configs').setup {
require('nvim-treesitter.configs').setup(conf_nvim_treesitter) highlight = {
end enable = true
}
}
map('n', '<Leader>L', '<cmd>Lazy<CR>') map('n', '<Leader>L', '<cmd>Lazy<CR>')
map('n', '<Leader>?', '<cmd>Cheat40<CR>') map('n', '<Leader>?', '<cmd>Cheat40<CR>')