vim highligh support

This commit is contained in:
anon 2023-02-09 17:17:49 +01:00
parent 93d838f14c
commit 7baa9f7fce
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1 @@
au Bufread,BufNewFile *.algo,*.algo.m4 set filetype=algo

16
ass/.vim/syntax/algo.vim Normal file
View 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
View File

@ -0,0 +1,5 @@
main:
-pass
install:
rsync -a .vim/ ~/.vim