mirror of
https://github.com/FAUSheppy/config
synced 2026-06-18 22:32:36 +02:00
started working on automatic filedetection
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
autocmd BufRead,BufNewFile *.dia set filetype=dia
|
||||||
Binary file not shown.
@@ -0,0 +1,15 @@
|
|||||||
|
echom "WAT IS THIS CRAP"
|
||||||
|
|
||||||
|
syntax match nodeID "/\vN.*:"
|
||||||
|
syntax match leaveID '/\v[A-MO-Z].*:'
|
||||||
|
|
||||||
|
syntax match annotation "[%@].*"
|
||||||
|
|
||||||
|
syntax match regie "\*.*\*"
|
||||||
|
|
||||||
|
hi def link nodeID Structure
|
||||||
|
hi def link leaveID Tag
|
||||||
|
hi def link annotation Function
|
||||||
|
hi def link regie String
|
||||||
|
|
||||||
|
let b:current_syntax = 'dia'
|
||||||
Reference in New Issue
Block a user