mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 16:18:33 +01:00
introduced highlighting for .dia files
This commit is contained in:
18
vim/rc
18
vim/rc
@@ -101,3 +101,21 @@ nnoremap U CTRL-r
|
|||||||
nnoremap <leader>s :mksession<CR>
|
nnoremap <leader>s :mksession<CR>
|
||||||
"save session, resume with vim -S
|
"save session, resume with vim -S
|
||||||
|
|
||||||
|
"highlighting for .dia
|
||||||
|
if 1 == 1
|
||||||
|
syntax match nodeID "N.*:"
|
||||||
|
syntax match leaveID "[A-MO-Z].*:"
|
||||||
|
|
||||||
|
syntax match annotation "[%@].*"
|
||||||
|
|
||||||
|
syntax match badcode "\\.*"
|
||||||
|
syntax match regie "\*[^"]*\*"
|
||||||
|
syntax match text "\"[^*]*\""
|
||||||
|
|
||||||
|
hi def link nodeID Structure
|
||||||
|
hi def link leaveID Tag
|
||||||
|
hi def link annotation Function
|
||||||
|
hi def link regie String
|
||||||
|
hi def link text Visual
|
||||||
|
hi def link badcode ErrorMsg
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user