From c40c9115d7a6120de44aa2ee225ad7b7a7fe25ee Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 25 Feb 2024 20:38:53 +0300 Subject: [PATCH] Treesitter : Update cache path. --- .config/linux/system/module/common/Nvim.nix | 2 +- .config/linux/system/module/common/nvim/plugin/Treesitter.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,