nvim: enable treesitter globally for now
This commit is contained in:
parent
a3deec1c17
commit
ad52e357a9
1 changed files with 5 additions and 10 deletions
|
@ -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>')
|
||||||
|
|
Loading…
Reference in a new issue