Skip to content

Commit

Permalink
adding sample ftplugin file
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcWeber committed Dec 18, 2010
1 parent dde36c2 commit 3dc4e0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vim/ftplugin/scala.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if !exists('g:ensime') | let g:ensime = {} | endif | let s:c = g:ensime

setlocal omnifunc=ensime#Completion

" M-. or Control+Left-Click
exec 'noremap <buffer> '. s:c.ensime_map_leader .'. :call ensime#TypeAtCursor()<cr>'

0 comments on commit 3dc4e0f

Please sign in to comment.