From fbf453a432f41e3dca687dbd57d726fd61ea5110 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Tue, 2 Aug 2022 01:33:35 +0200 Subject: chore: trim space in check-health Fixes #3248 --- lua/nvim-treesitter/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index 917a8a65c..e308889c4 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -128,7 +128,7 @@ function M.check() table.insert(error_collection, { parser_name, query_group, err }) end end - table.insert(parser_installation, out) + table.insert(parser_installation, vim.fn.trim(out, " ", 2)) end end local legend = [[ -- cgit v1.2.3-70-g09d2