mirror of
https://github.com/FAUSheppy/config
synced 2025-12-05 22:51:35 +01:00
started working on automatic filedetection
This commit is contained in:
1
vim/ftdetect/dia.vim
Normal file
1
vim/ftdetect/dia.vim
Normal file
@@ -0,0 +1 @@
|
||||
autocmd BufRead,BufNewFile *.dia set filetype=dia
|
||||
BIN
vim/syntax/.dia.vim.swp
Normal file
BIN
vim/syntax/.dia.vim.swp
Normal file
Binary file not shown.
15
vim/syntax/dia.vim
Normal file
15
vim/syntax/dia.vim
Normal file
@@ -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