nvim: move treesitter parser dir
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e6297ae229
commit
619b4c28d4
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue