summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorPasi Bergman <[email protected]>2021-08-12 15:58:45 +0300
committerGitHub <[email protected]>2021-08-12 17:28:45 +0430
commit6bbce4ee07ac8428846dfb6722e15a932d6d9e05 (patch)
treecd1cf526810319d7495ecd9d946847599fc97387 /lua
parent03b7da74eee555064741fbc54e667eb918e8aa52 (diff)
fix: use correct highlight group with LvimInfo (#1302)
Diffstat (limited to 'lua')
-rw-r--r--lua/core/info.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/core/info.lua b/lua/core/info.lua
index 56fc3ca2..5e5c5edc 100644
--- a/lua/core/info.lua
+++ b/lua/core/info.lua
@@ -204,8 +204,8 @@ function M.toggle_popup(ft)
local function set_syntax_hl()
vim.cmd [[highlight LvimInfoIdentifier gui=bold]]
vim.cmd [[highlight link LvimInfoHeader Type]]
- vim.cmd [[let m=matchadd("DashboardHeader", "Language Server Protocol (LSP) info")]]
- vim.cmd [[let m=matchadd("DashboardHeader", "Formatters and linters")]]
+ vim.cmd [[let m=matchadd("LvimInfoHeader", "Language Server Protocol (LSP) info")]]
+ vim.cmd [[let m=matchadd("LvimInfoHeader", "Formatters and linters")]]
vim.cmd('let m=matchadd("LvimInfoIdentifier", " ' .. ft .. '$")')
vim.cmd 'let m=matchadd("string", "true")'
vim.cmd 'let m=matchadd("error", "false")'