From 81b5ea969f26c520c4da9248d5e6d9b6a32b709c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 9 Sep 2021 20:48:47 +0200 Subject: Change compe to cmp package --- .config/nvim/lua/core/lualine/components.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/core/lualine') diff --git a/.config/nvim/lua/core/lualine/components.lua b/.config/nvim/lua/core/lualine/components.lua index adae368..6af34fa 100644 --- a/.config/nvim/lua/core/lualine/components.lua +++ b/.config/nvim/lua/core/lualine/components.lua @@ -85,7 +85,8 @@ return { }, treesitter = { function() - if next(vim.treesitter.highlighter.active) then + local b = vim.api.nvim_get_current_buf() + if next(vim.treesitter.highlighter.active[b]) then return "  " end return "" -- cgit v1.2.3-70-g09d2