Improved ruby snip.
This commit is contained in:
parent
20db46190d
commit
52d86e726c
@ -6,7 +6,7 @@ abbr if end
|
||||
|
||||
snippet def
|
||||
abbr def end
|
||||
def ${1:func_name}
|
||||
def ${1:method_name}
|
||||
${2}
|
||||
end
|
||||
|
||||
@ -23,7 +23,7 @@ abbr do |var| end
|
||||
end
|
||||
|
||||
snippet block
|
||||
abbr { |var| }
|
||||
abbr { }
|
||||
{
|
||||
${1}
|
||||
}
|
||||
@ -34,6 +34,12 @@ abbr { |var| }
|
||||
${2}
|
||||
}
|
||||
|
||||
snippet fileopen
|
||||
abbr File.open(filename) do end
|
||||
File.open(${1:filename}, '${2:w}') do |${3:io}|
|
||||
${0}
|
||||
end
|
||||
|
||||
snippet edn
|
||||
abbr => end?
|
||||
end
|
||||
|
@ -312,6 +312,7 @@ CHANGELOG *neocomplcache-snippets-complete-changelog*
|
||||
- Fixed column in select mode.
|
||||
- Added lua snip.
|
||||
- Improved javascript snip.
|
||||
- Improved ruby snip.
|
||||
|
||||
2012-09-06
|
||||
- Added neocomplcache__convertable attribute.
|
||||
|
Loading…
Reference in New Issue
Block a user