vim highligh support
This commit is contained in:
parent
93d838f14c
commit
7baa9f7fce
1
ass/.vim/ftdetect/algo.vim
Normal file
1
ass/.vim/ftdetect/algo.vim
Normal file
@ -0,0 +1 @@
|
||||
au Bufread,BufNewFile *.algo,*.algo.m4 set filetype=algo
|
16
ass/.vim/syntax/algo.vim
Normal file
16
ass/.vim/syntax/algo.vim
Normal file
@ -0,0 +1,16 @@
|
||||
" Vim syntax file
|
||||
|
||||
runtime! syntax/m4.vim
|
||||
unlet b:current_syntax
|
||||
let b:current_syntax = "algo"
|
||||
|
||||
syn keyword Keyword return
|
||||
|
||||
syn match Comment "^\".*$"
|
||||
syn match Delimiter ";"
|
||||
syn match Number "\d"
|
||||
syn match Operator "-"
|
||||
syn match Operator "+"
|
||||
syn match Operator "\/"
|
||||
syn match Operator "\*"
|
||||
syn match Operator "%"
|
5
ass/Makefile
Normal file
5
ass/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
main:
|
||||
-pass
|
||||
|
||||
install:
|
||||
rsync -a .vim/ ~/.vim
|
Loading…
x
Reference in New Issue
Block a user