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,18 +18,13 @@ require('lazy').setup {
} }
--[[ plugin configs and maps ]] --[[ plugin configs and maps ]]
local conf_ll_sep = "\u{2022}" require('gitsigns').setup()
local conf_nvim_treesitter = { require('nvim-treesitter.configs').setup {
highlight = { highlight = {
enable = true enable = true
} }
} }
require('gitsigns').setup()
if not vim.fn.has('Windows') then
require('nvim-treesitter.configs').setup(conf_nvim_treesitter)
end
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>')
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>') map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')