I hereby claim:
- I am eddsteel on github.
- I am eddsteel (https://keybase.io/eddsteel) on keybase.
- I have a public key whose fingerprint is 1BE8 48D7 6C7C 4C51 349D DDCC 3362 0159 D403 85A0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
" because cygwin sets $HOME, ~/.vimrc will be read if you launch gvim from cygwin. | |
" If you have a _vimrc as well, this will be read in preference on windows. | |
" You can then source your normal windows rc (which you probably pointed back at your unix one directly, | |
" avoiding symlinks. | |
" If you have pathogen, this will make it work on gvim launched from cygwin as well! | |
let &rtp = &rtp.','.'D:/opt/cygwin/home/<user name here>/dotfiles/home/.vim' " Where your bundles are. | |
so D:/opt/vim/_vimrc " Whatever your windows rc is. |
ensime - "Scaladoc comments are indented according to the Scaladoc style guide".
vim-scala refers to "the indentation standard as recommended for Scaladoc comments" and links to the guide.
Intellij apparently uses "formatting for ScalaDoc2" in its UI.
scalafmt has two options for indenting scaladoc: "ScalaDoc" and "JavaDoc".
In addition Twitter, Databricks and Spark style guides all refer to "ScalaDoc style", as does my employer's. Others don't mention it specifically but begin their guides "where unspecified, refer to the official guide". Oops, which one?
fun f(vararg strings: String, block: () -> Unit): String { | |
// this implementation makes no sense, but the signature it's based on does. | |
block() | |
return if (strings.isEmpty()) { | |
"hello" | |
} else { | |
strings.reduce{ a, b -> a + b } | |
} | |
} |