diff --git a/.config/linux/system/module/common/Nvim.nix b/.config/linux/system/module/common/Nvim.nix index 60b3651..62ef4e4 100644 --- a/.config/linux/system/module/common/Nvim.nix +++ b/.config/linux/system/module/common/Nvim.nix @@ -9,7 +9,7 @@ in { vimAlias = true; configure = { customRC = '' - set runtimepath+=${inputs.nvimTrouble},${inputs.nvimAlign},${inputs.nvimAutoclose},${inputs.nvimBufferline},${inputs.nvimCloseBuffers},${inputs.nvimDevicons},${inputs.nvimGitsigns},${inputs.nvimGruvbox},${inputs.nvimIndentoMatic},${inputs.nvimLspconfig},${inputs.nvimLualine},${inputs.nvimPlenary},${inputs.nvimSingleComment},${inputs.nvimTelescope},${inputs.nvimTodo},${inputs.nvimTokyonight},${inputs.nvimTree},${inputs.nvimTreesitter},${inputs.nvimWhichKey} + set runtimepath+=~/.cache/nvim,~/.cache/nvim/treesitter,${inputs.nvimTrouble},${inputs.nvimAlign},${inputs.nvimAutoclose},${inputs.nvimBufferline},${inputs.nvimCloseBuffers},${inputs.nvimDevicons},${inputs.nvimGitsigns},${inputs.nvimGruvbox},${inputs.nvimIndentoMatic},${inputs.nvimLspconfig},${inputs.nvimLualine},${inputs.nvimPlenary},${inputs.nvimSingleComment},${inputs.nvimTelescope},${inputs.nvimTodo},${inputs.nvimTokyonight},${inputs.nvimTree},${inputs.nvimTreesitter},${inputs.nvimWhichKey} lua dofile("${nvimSrc}/key/Rekey.lua") lua dofile("${nvimSrc}/key/Leader.lua") diff --git a/.config/linux/system/module/common/nvim/plugin/Treesitter.lua b/.config/linux/system/module/common/nvim/plugin/Treesitter.lua index 57afa2a..1e7e1f2 100644 --- a/.config/linux/system/module/common/nvim/plugin/Treesitter.lua +++ b/.config/linux/system/module/common/nvim/plugin/Treesitter.lua @@ -1,5 +1,5 @@ require("nvim-treesitter.configs").setup { - parser_install_dir = "~/.cache/treesitter", + parser_install_dir = "~/.cache/nvim/treesitter", auto_install = true, -- ensure_installed = "all", sync_install = false,