From 8b68afaeeb820676da34949e3058d4d8b49adfa1 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 14 Jul 2023 13:37:00 +0200 Subject: [PATCH] feat(treesitter): Enable highlight --- .config/nvim/init.lua | 9 +++++++-- .config/nvim/lua/keybindings.lua | 3 --- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index dc400ac..5893d8f 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -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") diff --git a/.config/nvim/lua/keybindings.lua b/.config/nvim/lua/keybindings.lua index e4ea154..337630e 100644 --- a/.config/nvim/lua/keybindings.lua +++ b/.config/nvim/lua/keybindings.lua @@ -34,9 +34,6 @@ map('', '0', '10gt') -- Open undotree panel map('', 'u', ':UndotreeToggle') --- Open lazy.nvim -map('', 'p', ':Lazy home') - --- Telescope --- -- List project files vim.keymap.set('', '', function() require("telescope-config").project_files() end)