Use ${XDG_CACHE_HOME}/nvim/tree-sitter for treesitter parser caching.
This commit is contained in:
@@ -7,6 +7,7 @@ return { {
|
||||
config = function()
|
||||
-- Pre-install a few languages we're (very) likely going to use
|
||||
local ts = require('nvim-treesitter')
|
||||
ts.setup({ install_dir = vim.fn.stdpath('cache') .. '/tree-sitter' })
|
||||
ts.install({
|
||||
'c', 'make',
|
||||
'bash', 'gitignore', 'editorconfig',
|
||||
|
||||
Reference in New Issue
Block a user