1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-28 17:32:39 +01:00

fixed objc/cpp command-based snippets

This commit is contained in:
Michael Sanders
2009-03-01 19:24:43 -05:00
parent dd8b39a9b5
commit a8109fa38f
14 changed files with 18 additions and 52 deletions

View File

@@ -2,8 +2,7 @@ if !exists('loaded_snips') || exists('s:did_ruby_snips')
fini
en
let s:did_ruby_snips = 1
let ft = &ft
let &ft ='ruby'
let snippet_filetype = 'ruby'
" New Block
exe "Snipp =b =begin rdoc\n\t${1}\n=end"
@@ -167,4 +166,3 @@ exe 'Snipp clafn split("::").inject(Object) { |par, const| par.const_get(const)
exe 'Snipp sinc class << self; self end'
exe "Snipp nam namespace :${1:`Filename()`} do\n\t${2}\nend"
exe "Snipp tas desc \"${1:Task description\}\"\ntask :${2:task_name => [:dependent, :tasks]} do\n\t${3}\nend"
let &ft = ft