Improved scala snip -- prev_word wasn't used properly

This commit is contained in:
ujihisa 2012-10-20 00:24:26 -07:00
parent 7286b8e819
commit 76e8612410
2 changed files with 6 additions and 4 deletions

View File

@ -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!")

View File

@ -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.