Add 'dots/' from commit '357b97a7692c8d5ec9666d8d7d7c98d81cb51cf0'

git-subtree-dir: dots
git-subtree-mainline: 2ad98cde17
git-subtree-split: 357b97a769
This commit is contained in:
2025-10-04 18:28:04 +02:00
232 changed files with 11175 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
syn match Todo /TODO/
syn match Todo /FIXME/
syn match Todo /FIX/
syn match Todo /QUESTION/
syn match Todo /NOTE/

View File

@@ -0,0 +1,26 @@
" Override the pandoc-syntax highlighting colors for more subtle citations
hi! link pandocPCite Comment
hi! link pandocICite Comment
hi! link pandocCiteKey Comment
hi! link pandocCiteAnchor Comment
hi! link pandocCiteLocator Comment
" Don't show the CiteKey within the CiteLocator
syn match pandocCiteKey /\v\[[^]]+\]/ contained
" Match cloze delimiters e.g. `{{c1::` and `}}`
syn match ClozeDelimiter /{{c\d\+::/ conceal containedin=pandocUListItem,pandocListItem
syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem
" Match text between cloze delimiters
syn match Cloze /\({{c\d\+::\)\@<=\(\_[A-Za-z0-9$\ \\\-\*,_`()]*\)\(}}\)\@=/ containedin=pandocUListItem,pandocListItem
hi! link ClozeDelimiter Special
hi! link Cloze Special
" Fix task UUIDs not being highlighted correctly in pandoc lists
syn match pandocUListItem /^>\=\s*[*+-]\s\+-\@!.*$/ nextgroup=pandocUListItem,pandocLaTeXMathBlock,pandocLaTeXInlineMath,pandocEscapedDollar,pandocDelimitedCodeBlock,pandocListItemContinuation contains=@Spell,pandocEmphasis,pandocStrong,pandocNoFormatted,pandocStrikeout,pandocSubscript,pandocSuperscript,pandocStrongEmphasis,pandocStrongEmphasis,pandocPCite,pandocICite,pandocCiteKey,pandocReferenceLabel,pandocLaTeXCommand,pandocLaTeXMathBlock,pandocLaTeXInlineMath,pandocEscapedDollar,pandocReferenceURL,pandocAutomaticLink,pandocFootnoteDef,pandocFootnoteBlock,pandocFootnoteID,pandocAmpersandEscape,TaskWikiTaskUuid skipempty display
syn match TaskWikiTaskUuid containedin=TaskWikiTask /\v#([A-Z]:)?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/
syn match TaskWikiTaskUuid containedin=TaskWikiTask /\v#([A-Z]:)?[0-9a-fA-F]{8}$/
highlight link TaskWikiTaskUuid Comment
:runtime! syntax/_comment_keywords.vim

View File

@@ -0,0 +1,5 @@
syn keyword Operator \+ conceal cchar=¬
syn keyword Operator , conceal cchar=
syn keyword Operator ; conceal cchar=
:runtime! syntax/_comment_keywords.vim

View File

@@ -0,0 +1,39 @@
syntax keyword Statement define conceal cchar=
syn keyword Operator not conceal cchar=¬
syn keyword Operator and conceal cchar=
syn keyword Operator or conceal cchar=
syn keyword Operator mod conceal cchar=%
syn keyword Operator exp conceal cchar=^
syn keyword Operator sqrt conceal cchar=
syn keyword Operator quote conceal cchar='
" Conceal greek letters
syn keyword Operator alpha conceal cchar=α
syn keyword Operator beta conceal cchar=β
syn keyword Operator gamma conceal cchar=γ
syn keyword Operator delta conceal cchar=δ
syn keyword Operator epsilon conceal cchar=ε
syn keyword Operator zeta conceal cchar=ζ
syn keyword Operator eta conceal cchar=η
syn keyword Operator theta conceal cchar=θ
syn keyword Operator iota conceal cchar=ι
syn keyword Operator kappa conceal cchar=κ
syn keyword Operator lambda conceal cchar=λ
syn keyword Operator mu conceal cchar=μ
syn keyword Operator nu conceal cchar=ν
syn keyword Operator xi conceal cchar=ξ
syn keyword Operator omicron conceal cchar=ο
syn keyword Operator pi conceal cchar=π
syn keyword Operator rho conceal cchar=ρ
syn keyword Operator sigma conceal cchar=σ
syn keyword Operator tau conceal cchar=τ
syn keyword Operator upsilon conceal cchar=υ
syn keyword Operator phi conceal cchar=φ
syn keyword Operator chi conceal cchar=χ
syn keyword Operator psi conceal cchar=ψ
syn keyword Operator omega conceal cchar=ω
:runtime! syntax/_comment_keywords.vim