Skip to content

Commit

Permalink
resolves code-biscuits#27
Browse files Browse the repository at this point in the history
  • Loading branch information
axieax committed Nov 11, 2021
1 parent 7cb1fc6 commit afc9c79
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/nvim-biscuits/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ nvim_biscuits.BufferAttach = function(bufnr)

local on_lines = function() nvim_biscuits.decorate_nodes(bufnr, lang) end

vim.cmd("highlight default link " .. make_biscuit_hl_group_name(lang) ..
" BiscuitColor")
if not lang:find("-") then
vim.cmd("highlight default link " .. make_biscuit_hl_group_name(lang) ..
" BiscuitColor")
end

-- we need to fire once at the very start if config allows
if toggle_keybind ~= nil and
Expand Down

0 comments on commit afc9c79

Please sign in to comment.