merge map parsing with expose
This commit is contained in:
commit
d1f2136b13
35 changed files with 1364 additions and 152 deletions
23
dev/cub.vim
Normal file
23
dev/cub.vim
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Vim plugin to edit .cub files
|
||||
|
||||
function! CubSyntax()
|
||||
if expand('%:e') == 'cub'
|
||||
|
||||
highlight cubParameter ctermfg=blue
|
||||
syntax match cubParameter /^(NO|SO|WE|EA|F|C) .$/
|
||||
|
||||
highlight cubDefault ctermfg=white
|
||||
syntax match cubDefault /./
|
||||
|
||||
highlight cub0 ctermfg=grey
|
||||
syntax match cub0 /0/
|
||||
|
||||
highlight cub1 cterm=bold ctermfg=white
|
||||
syntax match cub1 /1/
|
||||
|
||||
highlight cubP cterm=bold ctermfg=blue
|
||||
syntax match cubP /[NSWE]/
|
||||
|
||||
endif
|
||||
endfunction
|
||||
autocmd BufReadPost * call CubSyntax()
|
||||
Loading…
Add table
Add a link
Reference in a new issue