Permalink
Browse files

Swapped Autotags for Indexer

- Autotags just wasn't working... Indexer does.
- Also snuck in a change to customize a scala test template
  • Loading branch information...
1 parent ee6c375 commit f5657dc412962f739cb61624cab37fb557632dd3 @derekwyatt committed Feb 18, 2014
Showing with 23 additions and 11 deletions.
  1. +4 −1 bundle/.gitignore
  2. +3 −1 bundle/from_github.md
  3. +0 −9 vimrc
  4. +16 −0 xpt-personal/ftplugin/scala/scala.xpt.vim
View
@@ -9,6 +9,7 @@ vim-command-t
vim-completion
vim-conque
vim-ctrlp
+vim-dfrankutil
vim-easyalign
vim-easymotion
vim-ensime
@@ -18,6 +19,7 @@ vim-fugitive
vim-fuzzyfinder
vim-gnupg
vim-gundo
+vim-indexer
vim-jade
vim-javascript
vim-jellybeans
@@ -38,11 +40,12 @@ vim-self
vim-signs
vim-solarized
vim-surround
+vim-tabular
vim-twitvim
vim-unimpaired
+vim-vimprj
vim-vimproc
vim-vimshell
vim-vimside
vim-visincr
-vim-tabular
vim-xptemplate
View
@@ -1,15 +1,16 @@
# Stuff pulled from GitHub
* **AG**: `git clone git@github.com:derekwyatt/ag.vim.git vim-ag`
-* **AutoTags**: `git clone https://github.com/vim-scripts/autotags.git vim-autotags`
* **BufKill**: `git clone https://github.com/vim-scripts/bufkill.vim.git vim-bufkill`
* **Completion**: `git clone https://github.com/MarcWeber/vim-addon-completion.git vim-completion`
* **CtrlP**: `git clone https://github.com/kien/ctrlp.vim.git vim-ctrlp`
+* **DfrankUtil**: `git clone https://github.com/vim-scripts/DfrankUtil.git vim-dfrankutil`
* **EasyMotion**: `git clone https://github.com/vim-scripts/EasyMotion.git vim-easymotion`
* **FSwitch**: `git clone https://github.com/derekwyatt/vim-fswitch.git vim-fswitch`
* **Fugitive**: `git clone https://github.com/tpope/vim-fugitive.git vim-fugitive`
* **GNUPG**: `git clone https://github.com/vim-scripts/gnupg.vim.git vim-gnupg`
* **Gundo**: `git clone https://github.com/sjl/gundo.vim.git vim-gundo`
+* **Indexer**: `git clone https://github.com/vim-scripts/indexer.tar.gz vim-indexer`
* **Jellybeans**: `git clone https://github.com/nanotech/jellybeans.vim.git vim-jellybeans`
* **JSON**: `git clone https://github.com/elzr/vim-json.git vim-json`
* **NERDTree**: `git clone https://github.com/scrooloose/nerdtree.git vim-nerdtree`
@@ -21,5 +22,6 @@
* **Tabular**: `git clone https://github.com/godlygeek/tabular.git vim-tabular`
* **TwitVim**: `git clone https://github.com/vim-scripts/TwitVim.git vim-twitvim`
* **Unimpaired**: `git clone https://github.com/tpope/vim-unimpaired.git vim-unimpaired`
+* **VimPrj**: `git clone https://github.com/vim-scripts/vimprj.git vim-vimprj`
* **VisIncr**: `git clone https://github.com/vim-scripts/VisIncr.git vim-visincr`
* **XPTemplate**: `git clone https://github.com/drmingdrmer/xptemplate.git vim-xptemplate`
View
9 vimrc
@@ -508,15 +508,6 @@ function! VCSDiffMore(from)
endfunction
nmap ,dd :call VCSDiffMore(0)<cr>
-"-----------------------------------------------------------------------------
-" Autotags Settings
-"-----------------------------------------------------------------------------
-let g:autotags_no_global = 0
-let g:autotags_ctags_opts = "--exclude=target --exclude=vendor"
-let g:autotags_ctags_languages = "+Scala,+Java,+Vim"
-let g:autotags_ctags_langmap = "Scala:.scala,Java:.java,Vim:.vim,JavaScript:.js"
-let g:autotags_ctags_global_include = ""
-
"-----------------------------------------------------------------------------
" Gundo Settings
"-----------------------------------------------------------------------------
@@ -56,6 +56,10 @@ function! s:f.classNameFromSpec(...)
return substitute(s:f.classname(), 'Spec$', '', '')
endfunction
+function! s:f.classNameFromTest(...)
+ return substitute(s:f.classname(), 'Test$', '', '')
+endfunction
+
function! s:f.multiJvmNode(num, ...)
let className = substitute(s:f.classname(), 'Spec$', 'MultiJvmNode', '') . a:num
let class = join(['class ' . className . ' extends AkkaRemoteSpec(' . s:f.multijvmObject() . '.nodeConfigs(' . (a:num - 1). '))',
@@ -275,6 +279,18 @@ class `classname()^ extends TestKit(ActorSystem("`classname()^"))
}
}
+XPT auviktest hint=Test\ file\ for\ Auvik\ code
+`getPackageLine()^
+
+import com.auvik.npl.common.AkkaTest
+
+class `classname()^ extends AkkaTest {
+
+ "`classNameFromTest()^" should "`do something^" in {
+ `cursor^
+ }
+}
+
XPT multijvm hint=Multi\ JVM\ Test\ for\ Scala
`getPackageLine()^

0 comments on commit f5657dc

Please sign in to comment.