Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better TeX highlighting #331

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion colors/nord.vim
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ call s:hi("Number", s:nord15_gui, "", s:nord15_term, "", "", "")
call s:hi("Operator", s:nord9_gui, "", s:nord9_term, "", "NONE", "")
call s:hi("PreProc", s:nord9_gui, "", s:nord9_term, "", "NONE", "")
call s:hi("Repeat", s:nord9_gui, "", s:nord9_term, "", "", "")
call s:hi("Special", s:nord4_gui, "", "NONE", "", "", "")
call s:hi("Special", s:nord8_gui, "", s:nord8_term, "", "", "")
call s:hi("SpecialChar", s:nord13_gui, "", s:nord13_term, "", "", "")
call s:hi("SpecialComment", s:nord8_gui, "", s:nord8_term, "", s:italicize_comments, "")
call s:hi("Statement", s:nord9_gui, "", s:nord9_term, "", "", "")
Expand Down Expand Up @@ -517,6 +517,18 @@ hi! link shDerefVar Identifier
hi! link sqlKeyword Keyword
hi! link sqlSpecial Keyword

call s:hi("texSubscript", s:nord15_gui, "", s:nord15_term, "", "", "")
call s:hi("texSuperscripts", s:nord15_gui, "", s:nord15_term, "", "", "")
call s:hi("texTodo", s:nord11_gui, "", s:nord11_term, "", "", "")
call s:hi("texDelimiter", s:nord15_gui, "", s:nord15_term, "", "", "")
call s:hi("texSpecialChar", s:nord15_gui, "", s:nord15_term, "", "", "")
hi! link texStatement Keyword
hi! link texBeginEndName Function
hi! link texMathMatcher Function
hi! link texMathDelim Function
hi! link texCite Function
hi! link texRefZone Function

call s:hi("vimAugroup", s:nord7_gui, "", s:nord7_term, "", "", "")
call s:hi("vimMapRhs", s:nord7_gui, "", s:nord7_term, "", "", "")
call s:hi("vimNotation", s:nord7_gui, "", s:nord7_term, "", "", "")
Expand Down