nvim: move treesitter parser dir
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sijmen 2022-09-06 00:15:53 +02:00
parent e6297ae229
commit 619b4c28d4
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 4 additions and 3 deletions

View File

@ -54,11 +54,12 @@ require("lualine").setup {
require("nvim-treesitter.configs").setup { require("nvim-treesitter.configs").setup {
auto_install = true, auto_install = true,
highlight = { highlight = { enable = true },
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 } local opts = { noremap=true, silent=true }
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float, opts) vim.keymap.set('n', '<space>e', vim.diagnostic.open_float, opts)