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
|
snippet p
|
||||||
abbr println()
|
abbr println()
|
||||||
prev_word '^'
|
println(${1})
|
||||||
println(${1})${0}
|
|
||||||
|
|
||||||
snippet pn
|
snippet pn
|
||||||
abbr println('name, name)
|
abbr println('name, name)
|
||||||
prev_word '^'
|
println('${1:name}, $1)
|
||||||
println('${1:name}, $1)${0}
|
|
||||||
|
|
||||||
snippet main
|
snippet main
|
||||||
abbr def main(args: Array[String]) {
|
abbr def main(args: Array[String]) {
|
||||||
@ -32,6 +30,7 @@ prev_word '^'
|
|||||||
|
|
||||||
snippet hello
|
snippet hello
|
||||||
abbr object HelloWorld { def main(...) }
|
abbr object HelloWorld { def main(...) }
|
||||||
|
prev_word '^'
|
||||||
object HelloWorld {
|
object HelloWorld {
|
||||||
def main(args: Array[String]) {
|
def main(args: Array[String]) {
|
||||||
println("Hello, world!")
|
println("Hello, world!")
|
||||||
|
@ -443,6 +443,9 @@ snippet *neosnippet-unite-action-snippet*
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
CHANGELOG *neosnippet-changelog*
|
CHANGELOG *neosnippet-changelog*
|
||||||
|
|
||||||
|
2012-10-20
|
||||||
|
- Improved scala snip.
|
||||||
|
|
||||||
2012-10-19
|
2012-10-19
|
||||||
- Fixed syntax highlight.
|
- Fixed syntax highlight.
|
||||||
- Improved documentation.
|
- Improved documentation.
|
||||||
|
Loading…
Reference in New Issue
Block a user