diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-09 20:48:47 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-09 20:48:47 +0200 |
commit | 81b5ea969f26c520c4da9248d5e6d9b6a32b709c (patch) | |
tree | 3a86af02c5dc80cb82c296aa72614131f04905b0 /.config/nvim/lua/core/lualine | |
parent | 6a1732982287ef5aff2a6de171192b9e2bb90758 (diff) |
Change compe to cmp package
Diffstat (limited to '.config/nvim/lua/core/lualine')
-rw-r--r-- | .config/nvim/lua/core/lualine/components.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 "" |