summaryrefslogtreecommitdiff
path: root/app-text/cmigemo/files/cmigemo-vim.patch
blob: a73103268352f228d8a1bc1e80ec0974cb77aa2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/misc/vim/migemo.vim
+++ b/misc/vim/migemo.vim
@@ -26,10 +26,7 @@
   if dict == ''
     for path in [
           \ '/usr/local/share/migemo/',
-          \ '/usr/local/share/cmigemo/',
-          \ '/usr/local/share/',
-          \ '/usr/share/cmigemo/',
-          \ '/usr/share/',
+          \ '/usr/share/migemo/',
           \ ]
       let path = path . a:name
       if filereadable(path)
@@ -45,9 +42,6 @@
 function! s:SearchDict()
   let dict = ''
   if dict == ''
-    let dict = s:SearchDict2('migemo/'.&encoding.'/migemo-dict')
-  endif
-  if dict == ''
     let dict = s:SearchDict2(&encoding.'/migemo-dict')
   endif
   if dict == ''