From 972f378653c794b0ff82282a844732695064b70f Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 3 Mar 2026 19:18:04 +0100 Subject: [PATCH] fix(config): normalize default `install_dir` Problem: The default `install_dir` is not normalized, leading to a false positive checkhealth failure when comparing against the normalized `runtimepath` directories. Solution: Use trailing slash in default `install_dir`. --- lua/nvim-treesitter/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/config.lua b/lua/nvim-treesitter/config.lua index 97fca649..ca8f9b73 100644 --- a/lua/nvim-treesitter/config.lua +++ b/lua/nvim-treesitter/config.lua @@ -7,7 +7,7 @@ M.tiers = { 'stable', 'unstable', 'unmaintained', 'unsupported' } ---@type TSConfig local config = { - install_dir = vim.fs.joinpath(vim.fn.stdpath('data') --[[@as string]], 'site'), + install_dir = vim.fs.joinpath(vim.fn.stdpath('data') --[[@as string]], 'site/'), } ---Setup call for users to override configuration configurations.