Migrate '.vim/after/syntax' to neovim
parent
85d56f97d1
commit
f3188f7b4b
|
|
@ -1,5 +1,7 @@
|
||||||
|
vim.cmd([[
|
||||||
syn match Todo /TODO/
|
syn match Todo /TODO/
|
||||||
syn match Todo /FIXME/
|
syn match Todo /FIXME/
|
||||||
syn match Todo /FIX/
|
syn match Todo /FIX/
|
||||||
syn match Todo /QUESTION/
|
syn match Todo /QUESTION/
|
||||||
syn match Todo /NOTE/
|
syn match Todo /NOTE/
|
||||||
|
]])
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
vim.cmd([[
|
||||||
" Override the pandoc-syntax highlighting colors for more subtle citations
|
" Override the pandoc-syntax highlighting colors for more subtle citations
|
||||||
hi! link pandocPCite Comment
|
hi! link pandocPCite Comment
|
||||||
hi! link pandocICite Comment
|
hi! link pandocICite Comment
|
||||||
|
|
@ -5,9 +6,6 @@ hi! link pandocCiteKey Comment
|
||||||
hi! link pandocCiteAnchor Comment
|
hi! link pandocCiteAnchor Comment
|
||||||
hi! link pandocCiteLocator 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 `}}`
|
" Match cloze delimiters e.g. `{{c1::` and `}}`
|
||||||
syn match ClozeDelimiter /{{c\d\+::/ conceal containedin=pandocUListItem,pandocListItem
|
syn match ClozeDelimiter /{{c\d\+::/ conceal containedin=pandocUListItem,pandocListItem
|
||||||
syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem
|
syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem
|
||||||
|
|
@ -23,4 +21,6 @@ syn match TaskWikiTaskUuid containedin=TaskWikiTask /\v#([A-Z]:)?[0-9a-fA-F]{8}-
|
||||||
syn match TaskWikiTaskUuid containedin=TaskWikiTask /\v#([A-Z]:)?[0-9a-fA-F]{8}$/
|
syn match TaskWikiTaskUuid containedin=TaskWikiTask /\v#([A-Z]:)?[0-9a-fA-F]{8}$/
|
||||||
highlight link TaskWikiTaskUuid Comment
|
highlight link TaskWikiTaskUuid Comment
|
||||||
|
|
||||||
:runtime! syntax/_comment_keywords.vim
|
]])
|
||||||
|
|
||||||
|
vim.cmd.runtime("syntax/_comment_keywords.lua")
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
|
vim.cmd([[
|
||||||
syn keyword Operator \+ conceal cchar=¬
|
syn keyword Operator \+ conceal cchar=¬
|
||||||
syn keyword Operator , conceal cchar=∧
|
syn keyword Operator , conceal cchar=∧
|
||||||
syn keyword Operator ; conceal cchar=∨
|
syn keyword Operator ; conceal cchar=∨
|
||||||
|
]])
|
||||||
|
|
||||||
:runtime! syntax/_comment_keywords.vim
|
vim.cmd.runtime("syntax/_comment_keywords.lua")
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
vim.cmd([[
|
||||||
syntax keyword Statement define conceal cchar=≔
|
syntax keyword Statement define conceal cchar=≔
|
||||||
|
|
||||||
syn keyword Operator not conceal cchar=¬
|
syn keyword Operator not conceal cchar=¬
|
||||||
|
|
@ -35,5 +36,6 @@ syn keyword Operator phi conceal cchar=φ
|
||||||
syn keyword Operator chi conceal cchar=χ
|
syn keyword Operator chi conceal cchar=χ
|
||||||
syn keyword Operator psi conceal cchar=ψ
|
syn keyword Operator psi conceal cchar=ψ
|
||||||
syn keyword Operator omega conceal cchar=ω
|
syn keyword Operator omega conceal cchar=ω
|
||||||
|
]])
|
||||||
|
|
||||||
:runtime! syntax/_comment_keywords.vim
|
vim.cmd.runtime("syntax/_comment_keywords.lua")
|
||||||
Loading…
Reference in New Issue