summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-29 14:43:41 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-29 14:48:05 -0400
commit9211f6ff3484477ae4bf7afdd2ece7f50d4f26e4 (patch)
treec92da894502f8c56a19604e1e3e7b7a1a1b3d1b8 /vim/ftplugin
parent577b87d021eb904cd5bf4f6d2e0d49a0b1936045 (diff)
downloadconf-9211f6ff3484477ae4bf7afdd2ece7f50d4f26e4.tar.gz
conf-9211f6ff3484477ae4bf7afdd2ece7f50d4f26e4.zip
unite was fixed, so i can do the right thing here
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/perl.vim2
-rw-r--r--vim/ftplugin/scala.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 20c6c55..e1cf11b 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -20,7 +20,7 @@ vmap <buffer> <silent>K :call Help(1, [':'], '<SID>perldoc')<CR>
nmap <buffer> <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR>
" XXX: <cfile> is wrong here, need to do something like i do for Help
"vmap <buffer> <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR>
-call unite#custom#profile('with_dir', 'context', {'input' : 'lib/ '})
+call unite#custom#profile('with_dir', 'context', {'input' : '^lib/ '})
function! s:unpostfix()
let postop_pattern = '\<\(if\|unless\|while\|until\|for\)\>'
diff --git a/vim/ftplugin/scala.vim b/vim/ftplugin/scala.vim
index 17f8200..7b8e826 100644
--- a/vim/ftplugin/scala.vim
+++ b/vim/ftplugin/scala.vim
@@ -1 +1 @@
-call unite#custom#profile('with_dir', 'context', {'input' : 'src/ '})
+call unite#custom#profile('with_dir', 'context', {'input' : '^src/ '})