fix: format lua and highlight latex functions
This commit is contained in:
parent
130a1899c2
commit
fc03b940de
2 changed files with 5 additions and 1 deletions
|
|
@ -4,7 +4,9 @@ local loading = false
|
||||||
|
|
||||||
---@return nil
|
---@return nil
|
||||||
function M.load()
|
function M.load()
|
||||||
if loading then return end
|
if loading then
|
||||||
|
return
|
||||||
|
end
|
||||||
loading = true
|
loading = true
|
||||||
|
|
||||||
if vim.g.colors_name then
|
if vim.g.colors_name then
|
||||||
|
|
|
||||||
|
|
@ -165,6 +165,8 @@ function M.apply()
|
||||||
hi('@constructor.lua', { fg = cs.background })
|
hi('@constructor.lua', { fg = cs.background })
|
||||||
hi('@markup.heading.gitcommit', { none = true })
|
hi('@markup.heading.gitcommit', { none = true })
|
||||||
|
|
||||||
|
hi('@function.latex', { fg = cs.blue })
|
||||||
|
|
||||||
hi('GitSignsCurrentLineBlame', { italic = true, fg = cs.light_black })
|
hi('GitSignsCurrentLineBlame', { italic = true, fg = cs.light_black })
|
||||||
link('DiffAdd', 'GitSignsAdd')
|
link('DiffAdd', 'GitSignsAdd')
|
||||||
link('DiffChange', 'GitSignsChange')
|
link('DiffChange', 'GitSignsChange')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue