diff --git a/common/nvim.lua b/common/nvim.lua index ee29e76..5569996 100644 --- a/common/nvim.lua +++ b/common/nvim.lua @@ -54,11 +54,12 @@ require("lualine").setup { require("nvim-treesitter.configs").setup { auto_install = true, - highlight = { - enable = true, - }, + highlight = { enable = true }, + parser_install_dir = "/home/sijmen/.cache/nvim/treesitter", } +vim.opt.runtimepath:append("/home/sijmen/.cache/nvim/treesitter") + local opts = { noremap=true, silent=true } vim.keymap.set('n', 'e', vim.diagnostic.open_float, opts)