mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
Telekasten command with completion
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
" not sure if we really want this:
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! syntax/markdown.vim
|
||||
"unlet b:current_syntax
|
||||
unlet b:current_syntax
|
||||
|
||||
syn region Comment matchgroup=Comment start="<!--" end="-->" contains=tkTag keepend
|
||||
|
||||
syntax region tkLink matchgroup=tkBrackets start=/\[\[/ end=/\]\]/ display oneline
|
||||
@@ -13,6 +18,8 @@ syntax match tkTagSep "\v\s*,\s*" contained
|
||||
syntax region tkTag matchgroup=tkBrackets start=/^tags\s*:\s*\[\s*/ end=/\s*\]\s*$/ contains=tkTagSep display oneline
|
||||
|
||||
|
||||
let b:current_syntax = 'telekasten'
|
||||
|
||||
" " just blue
|
||||
" hi tklink ctermfg=Blue cterm=bold,underline
|
||||
" hi tkBrackets ctermfg=gray
|
||||
|
||||
Reference in New Issue
Block a user