Improved scala snip -- prev_word wasn't used properly
This commit is contained in:
parent
7286b8e819
commit
76e8612410
@ -15,13 +15,11 @@ prev_word '^'
|
||||
|
||||
snippet p
|
||||
abbr println()
|
||||
prev_word '^'
|
||||
println(${1})${0}
|
||||
println(${1})
|
||||
|
||||
snippet pn
|
||||
abbr println('name, name)
|
||||
prev_word '^'
|
||||
println('${1:name}, $1)${0}
|
||||
println('${1:name}, $1)
|
||||
|
||||
snippet main
|
||||
abbr def main(args: Array[String]) {
|
||||
@ -32,6 +30,7 @@ prev_word '^'
|
||||
|
||||
snippet hello
|
||||
abbr object HelloWorld { def main(...) }
|
||||
prev_word '^'
|
||||
object HelloWorld {
|
||||
def main(args: Array[String]) {
|
||||
println("Hello, world!")
|
||||
|
@ -443,6 +443,9 @@ snippet *neosnippet-unite-action-snippet*
|
||||
==============================================================================
|
||||
CHANGELOG *neosnippet-changelog*
|
||||
|
||||
2012-10-20
|
||||
- Improved scala snip.
|
||||
|
||||
2012-10-19
|
||||
- Fixed syntax highlight.
|
||||
- Improved documentation.
|
||||
|
Loading…
Reference in New Issue
Block a user