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