From a909de07c5f982968cb8cd0f2101ac052f4a0034 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 3 Oct 2013 09:48:51 +0600 Subject: Vim plugins cleaning up. --- files/.vim/syntax/asciidoc.vim | 166 ----------------------------------------- files/.vim/syntax/rfc.vim | 30 -------- files/.vim/syntax/scala.vim | 87 --------------------- 3 files changed, 283 deletions(-) delete mode 100644 files/.vim/syntax/asciidoc.vim delete mode 100644 files/.vim/syntax/rfc.vim delete mode 100644 files/.vim/syntax/scala.vim (limited to 'files/.vim/syntax') diff --git a/files/.vim/syntax/asciidoc.vim b/files/.vim/syntax/asciidoc.vim deleted file mode 100644 index a102e5a..0000000 --- a/files/.vim/syntax/asciidoc.vim +++ /dev/null @@ -1,166 +0,0 @@ -" Vim syntax file -" Language: AsciiDoc -" Author: Stuart Rackham (inspired by Felix -" Obenhuber's original asciidoc.vim script). -" URL: http://www.methods.co.nz/asciidoc/ -" Licence: GPL (http://www.gnu.org) -" Remarks: Vim 6 or greater -" Limitations: See 'Appendix E: Vim Syntax Highlighter' in the AsciiDoc 'User -" Guide'. - -if exists("b:current_syntax") - finish -endif - -syn clear -syn sync fromstart -syn sync linebreaks=1 - -" Run :help syn-priority to review syntax matching priority. -syn keyword asciidocToDo TODO FIXME XXX ZZZ -syn match asciidocBackslash /\\/ -syn region asciidocIdMarker start=/^\$Id:\s/ end=/\s\$$/ -syn match asciidocCallout /\\\@/ -syn match asciidocListBlockDelimiter /^--$/ -syn match asciidocLineBreak /[ \t]+$/ -syn match asciidocRuler /^'\{3,}$/ -syn match asciidocPagebreak /^<\{3,}$/ -syn match asciidocEntityRef /\\\@\?[0-9A-Za-z_]\@!/ -syn match asciidocAttributeRef /\\\@.]\{,3}\)\?\([a-z]\)\?\)\?|/ containedin=asciidocTableBlock contained -syn region asciidocTableBlock matchgroup=asciidocTableDelimiter start=/^|=\{3,}$/ end=/^|=\{3,}$/ keepend contains=ALL -syn match asciidocTablePrefix /\(\S\@.]\{,3}\)\?\([a-z]\)\?\)\?!/ containedin=asciidocTableBlock contained -syn region asciidocTableBlock2 matchgroup=asciidocTableDelimiter2 start=/^!=\{3,}$/ end=/^!=\{3,}$/ keepend contains=ALL - -syn match asciidocListContinuation /^+$/ -syn region asciidocLiteralBlock start=/^\.\{4,}$/ end=/^\.\{4,}$/ contains=asciidocCallout keepend -syn region asciidocOpenBlock start=/^-\{4,}$/ end=/^-\{4,}$/ contains=asciidocCallout keepend -syn region asciidocCommentBlock start="^/\{4,}$" end="^/\{4,}$" contains=asciidocToDo -syn region asciidocPassthroughBlock start="^+\{4,}$" end="^+\{4,}$" -" Allowing leading \w characters in the filter delimiter is to accomodate -" the pre version 8.2.7 syntax and may be removed in future releases. -syn region asciidocFilterBlock start=/^\w*\~\{4,}$/ end=/^\w*\~\{4,}$/ - -syn region asciidocMacroAttributes matchgroup=asciidocRefMacro start=/\\\@>\)\|^$/ contains=asciidocQuoted.* keepend -syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start=/\\\@ -" Last Change: 2010年1月16日 - -syntax clear -syntax case match - -syn match rfcTitle /^\v( \n)@ -" URL: http://diwww.epfl.ch/~haberer/syntax/scala.html -" Last Change: 2004 April 18 -" Disclaimer: It's an absolut basic, very simple and by far not finished -" syntax file! It only recognizes basic keywords and constructs like comments -" any help is welcome - -" Remove any old syntax stuff -syn clear - -" syntax highlighting for words that are not identifiers: -" int unit double String Array byte short char long float -syn keyword scalaExternal import package -syn keyword scalaConditional if then else -syn keyword scalaRepeat while for do -syn keyword scalaType boolean int double byte short char long float -syn keyword scalaType unit -syn keyword scalaType val with type var yield - -syn keyword scalaStatement return -syn keyword scalaBoolean true false -syn keyword scalaConstant null -syn keyword scalaTypedef this super -syn keyword scalaLangClass String Array -syn keyword scalaScopeDecl private protected override -syn keyword scalaStorageClass abstract final sealed -syn keyword scalaExceptions throw try catch finally -syn keyword scalaClassDecl extends -" TODO differentiate the keyword class from MyClass.class -> use a match here -syn keyword scalaTypedef class -syn keyword scalaTypedef case -syn keyword scalaTypedef trait - -syn match scalaTypedef "\s*\" - -syn keyword scalaOperator new - -" same number definition as in java.vim -syn match scalaNumber "\<\(0[0-7]*\|0[xX]\x\+\|\d\+\)[lL]\=\>" -syn match scalaNumber "\(\<\d\+\.\d*\|\.\d\+\)\([eE][-+]\=\d\+\)\=[fFdD]\=" -syn match scalaNumber "\<\d\+[eE][-+]\=\d\+[fFdD]\=\>" -syn match scalaNumber "\<\d\+\([eE][-+]\=\d\+\)\=[fFdD]\>" - -syn region scalaString start=+"+ end=+"+ - -" Functions -" def [name] [(prototype)] { -" -syn match scalaFunction "\s*\" - -" Comments -syn region scalaComment start="/\*" end="\*/" -syn match scalaLineComment "//.*" - - -if !exists("did_scala_syntax_inits") - let did_scala_syntax_inits = 1 - - " The default methods for highlighting. Can be overridden later - hi link scalaExternal Include - hi link scalaStatement Statement - hi link scalaConditional Conditional - hi link scalaRepeat Repeat - hi link scalaType Type - hi link scalaTypedef Typedef - hi link scalaBoolean Boolean - hi link scalaFunction Function - hi link scalaLangClass Constant - hi link scalaConstant Constant - hi link scalaScopeDecl scalaStorageClass - hi link scalaClassDecl scalaStorageClass - hi link scalaStorageClass StorageClass - hi link scalaExceptions Exception - hi link scalaOperator Operator - hi link scalaNumber Number - hi link scalaString String - hi link scalaComment Comment - hi link scalaLineComment Comment -endif - -let b:current_syntax = "scala" - -" if you want to override default methods for highlighting -"hi Conditional term=bold ctermfg=Cyan guifg=#80a0ff -- cgit v1.2.3