~ubuntu-branches/ubuntu/vivid/vim-ultisnips/vivid

« back to all changes in this revision

Viewing changes to ftplugin/snippets.vim

  • Committer: Package Import Robot
  • Author(s): Michael Fladischer
  • Date: 2014-10-12 18:11:54 UTC
  • Revision ID: package-import@ubuntu.com-20141012181154-1jeoj467dh2l5f2e
Tags: upstream-3.0
ImportĀ upstreamĀ versionĀ 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
" Set some sane defaults for snippet files
 
2
 
 
3
" Fold by syntax, but open all folds by default
 
4
setlocal foldmethod=syntax
 
5
setlocal foldlevel=99
 
6
 
 
7
setlocal commentstring=#%s
 
8
 
 
9
setlocal noexpandtab
 
10
 
 
11
" Define match words for use with matchit plugin
 
12
" http://www.vim.org/scripts/script.php?script_id=39
 
13
if exists("loaded_matchit") && !exists("b:match_words")
 
14
  let b:match_ignorecase = 0
 
15
  let b:match_words = '^snippet\>:^endsnippet\>,^global\>:^endglobal\>,\${:}'
 
16
endif