nvim: colors: yolokai: Update pandoc and yaml syntax highlighting
This improves the highlighting for files written in pandoc markdown. It seems having the rainbow parentheses plugin active, results in overwriting the syntax highlighting for URLs.
This commit is contained in:
parent
5b69c13505
commit
7ebc88268b
2 changed files with 14 additions and 1 deletions
|
@ -13,3 +13,7 @@ let g:pandoc#formatting#textwidth = 79
|
||||||
let g:pandoc#formatting#mode = "hA"
|
let g:pandoc#formatting#mode = "hA"
|
||||||
let g:pandoc#completion#bib#mode = 'citeproc'
|
let g:pandoc#completion#bib#mode = 'citeproc'
|
||||||
let g:pandoc#syntax#codeblocks#embeds#langs = ["c", "rust", "haskell", "literatehaskell=lhaskell", "bash=sh"]
|
let g:pandoc#syntax#codeblocks#embeds#langs = ["c", "rust", "haskell", "literatehaskell=lhaskell", "bash=sh"]
|
||||||
|
|
||||||
|
" Rainbow Parentheses affects syntax highlighting for URL links. Turn it off
|
||||||
|
" for markdown files.
|
||||||
|
autocmd BufEnter <buffer> RainbowToggleOff
|
||||||
|
|
|
@ -483,6 +483,8 @@ local highlight_groups = {
|
||||||
|
|
||||||
--[[ 4.3.33. YAML ]]
|
--[[ 4.3.33. YAML ]]
|
||||||
yamlKey = 'Label',
|
yamlKey = 'Label',
|
||||||
|
yamlBlockMappingKey = { bg=black, fg=red, style=NONE },
|
||||||
|
yamlPlainScalar = { bg=black, fg=green, style=NONE },
|
||||||
|
|
||||||
--[[ 4.3.34. Git ]]
|
--[[ 4.3.34. Git ]]
|
||||||
gitrebaseBreak = 'Keyword' ,
|
gitrebaseBreak = 'Keyword' ,
|
||||||
|
@ -638,6 +640,13 @@ local highlight_groups = {
|
||||||
pandocDelimitedCodeBlockLanguage = 'Comment',
|
pandocDelimitedCodeBlockLanguage = 'Comment',
|
||||||
pandocListItemBullet = { bg=black, fg=purple, style=NONE },
|
pandocListItemBullet = { bg=black, fg=purple, style=NONE },
|
||||||
pandocUListItemBullet = { bg=black, fg=purple, style=NONE },
|
pandocUListItemBullet = { bg=black, fg=purple, style=NONE },
|
||||||
|
pandocReferenceURL = { bg=black, fg=pink, style={'underline' }},
|
||||||
|
pandocReferenceDefinition = { bg=black, fg=aqua, style={'bold' }},
|
||||||
|
pandocEmphasis = { bg=black, fg=purple, style={'italic' }},
|
||||||
|
pandocStrong = { bg=black, fg=purple, style={'bold' }},
|
||||||
|
pandocStrongEmphasis = { bg=black, fg=purple, style={'bold', 'italic' }},
|
||||||
|
pandocStrongInEmphasis = 'pandocStrongEmphasis',
|
||||||
|
pandocEmphasisInStrong = 'pandocStrongEmphasis',
|
||||||
}
|
}
|
||||||
|
|
||||||
-- We do not care about terminals which do not support 256 colors
|
-- We do not care about terminals which do not support 256 colors
|
||||||
|
|
Loading…
Reference in a new issue