dot_vim
This commit is contained in:
parent
f0510126ba
commit
7a7c647c22
212 changed files with 30625 additions and 30625 deletions
23
dot_vim/syntax/motd.vim
Normal file
23
dot_vim/syntax/motd.vim
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
" Vim syntax file
|
||||
" Language: MotD Public
|
||||
" Maintainer: David Bushong <david@bushong.net>
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn match motdSig "\(\s\s\+\|\t\)--\?.\+$\|\s--\?\w\+\s*$"
|
||||
syn match motdThread "^\s\+\\[_-]"
|
||||
syn match motdDate "^\d\+/\d\+\s"
|
||||
syn match motdLink "https\?://\S\+"
|
||||
|
||||
hi link motdSig String
|
||||
hi link motdThread Type
|
||||
hi link motdDate Number
|
||||
hi link motdLink Underlined
|
||||
|
||||
let b:current_syntax = "motd"
|
||||
Loading…
Add table
Add a link
Reference in a new issue