feat(treesitter): Enable highlight

This commit is contained in:
Tanguy Herbron 2023-07-14 13:37:00 +02:00
parent 6695c738e5
commit 8b68afaeeb
2 changed files with 7 additions and 5 deletions

View File

@ -210,10 +210,15 @@ require("bufferline").setup({
}
})
--- Treesitter ---
require("nvim-treesitter.configs").setup {
highlight = {
enable = true
}
}
--- Telescope ---
require("telescope-config")
require("telescope-mappings")
require("keybindings")
-- vim.cmd("source ~/.config/nvim/legacy.vim")

View File

@ -34,9 +34,6 @@ map('', '<leader>0', '10gt')
-- Open undotree panel
map('', '<leader>u', ':UndotreeToggle<CR>')
-- Open lazy.nvim
map('', '<leader>p', ':Lazy home<CR>')
--- Telescope ---
-- List project files
vim.keymap.set('', '<C-p>', function() require("telescope-config").project_files() end)