Browse Source

vim: add initial uboot mode, with identifiers and # line comments

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 10 years ago
parent
commit
fba2e9afa1
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      files/.vim/syntax/uboot.vim

+ 15
- 0
files/.vim/syntax/uboot.vim

@ -0,0 +1,15 @@
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
finish
endif
" case sensitive
syn case match
syn match scrComment "^[ \t]*#.*$"
syn match scrProperty "\${[a-z\.]\+}"
hi link scrComment Comment
hi link scrProperty Identifier
let b:current_syntax = "uboot"

Loading…
Cancel
Save