diff options
author | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
commit | 9931e0888b2419326ae10ebbfae532261c5c125f (patch) | |
tree | 7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/tagbar/syntax | |
parent | e573b3020c032400eed60b649a2cbf55266e6bb0 (diff) | |
download | myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2 myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip |
Fix submodules
Diffstat (limited to 'vim/bundle/tagbar/syntax')
m--------- | vim/bundle/tagbar | 0 | ||||
-rw-r--r-- | vim/bundle/tagbar/syntax/tagbar.vim | 63 |
2 files changed, 0 insertions, 63 deletions
diff --git a/vim/bundle/tagbar b/vim/bundle/tagbar new file mode 160000 +Subproject 7b36c46d17d57db34fdb0adac9ba6382d0bb5e6 diff --git a/vim/bundle/tagbar/syntax/tagbar.vim b/vim/bundle/tagbar/syntax/tagbar.vim deleted file mode 100644 index a1d450b..0000000 --- a/vim/bundle/tagbar/syntax/tagbar.vim +++ /dev/null @@ -1,63 +0,0 @@ -" File: tagbar.vim -" Description: Tagbar syntax settings -" Author: Jan Larres <jan@majutsushi.net> -" Licence: Vim licence -" Website: http://majutsushi.github.com/tagbar/ -" Version: 2.6.1 - -scriptencoding utf-8 - -if exists("b:current_syntax") - finish -endif - -let s:ics = escape(join(g:tagbar_iconchars, ''), ']^\-') -let s:pattern = '\(^[' . s:ics . '] \?\)\@<=[^-+: ]\+[^:]\+$' -execute "syntax match TagbarKind '" . s:pattern . "'" - -let s:pattern = '\(\S\@<![' . s:ics . '][-+# ]\?\)\@<=[^*(]\+\(\*\?\(([^)]\+)\)\? :\)\@=' -execute "syntax match TagbarScope '" . s:pattern . "'" - -let s:pattern = '\S\@<![' . s:ics . ']\([-+# ]\?\)\@=' -execute "syntax match TagbarFoldIcon '" . s:pattern . "'" - -let s:pattern = '\(\S\@<![' . s:ics . ' ]\)\@<=+\([^-+# ]\)\@=' -execute "syntax match TagbarVisibilityPublic '" . s:pattern . "'" -let s:pattern = '\(\S\@<![' . s:ics . ' ]\)\@<=#\([^-+# ]\)\@=' -execute "syntax match TagbarVisibilityProtected '" . s:pattern . "'" -let s:pattern = '\(\S\@<![' . s:ics . ' ]\)\@<=-\([^-+# ]\)\@=' -execute "syntax match TagbarVisibilityPrivate '" . s:pattern . "'" - -unlet s:pattern - -syntax match TagbarHelp '^".*' contains=TagbarHelpKey,TagbarHelpTitle -syntax match TagbarHelpKey '" \zs.*\ze:' contained -syntax match TagbarHelpTitle '" \zs-\+ \w\+ -\+' contained - -syntax match TagbarNestedKind '^\s\+\[[^]]\+\]$' -syntax match TagbarType ' : \zs.*' -syntax match TagbarSignature '(.*)' -syntax match TagbarPseudoID '\*\ze :' - -highlight default link TagbarHelp Comment -highlight default link TagbarHelpKey Identifier -highlight default link TagbarHelpTitle PreProc -highlight default link TagbarKind Identifier -highlight default link TagbarNestedKind TagbarKind -highlight default link TagbarScope Title -highlight default link TagbarType Type -highlight default link TagbarSignature SpecialKey -highlight default link TagbarPseudoID NonText -highlight default link TagbarFoldIcon Statement -highlight default link TagbarHighlight Search - -highlight default TagbarAccessPublic guifg=Green ctermfg=Green -highlight default TagbarAccessProtected guifg=Blue ctermfg=Blue -highlight default TagbarAccessPrivate guifg=Red ctermfg=Red -highlight default link TagbarVisibilityPublic TagbarAccessPublic -highlight default link TagbarVisibilityProtected TagbarAccessProtected -highlight default link TagbarVisibilityPrivate TagbarAccessPrivate - -let b:current_syntax = "tagbar" - -" vim: ts=8 sw=4 sts=4 et foldenable foldmethod=marker foldcolumn=1 |