diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-03-13 08:55:11 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-03-13 08:55:11 +0000 |
commit | e4a6c982883b37b9772fb80d4ea7efe6283dc6a3 (patch) | |
tree | b0a60023b7e093557a0f07a171007491156b9cfb /app-text/cmigemo/files | |
parent | Moved to ~arch as it borks with newer gccs. Also, upstream development is de... (diff) | |
download | historical-e4a6c982883b37b9772fb80d4ea7efe6283dc6a3.tar.gz historical-e4a6c982883b37b9772fb80d4ea7efe6283dc6a3.tar.bz2 historical-e4a6c982883b37b9772fb80d4ea7efe6283dc6a3.zip |
Added missing migemo-dict patch.
Diffstat (limited to 'app-text/cmigemo/files')
-rw-r--r-- | app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff new file mode 100644 index 000000000000..a216ceafb0ca --- /dev/null +++ b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff @@ -0,0 +1,23 @@ +diff -urN cmigemo-1.2.ORIG/tools/migemo.vim cmigemo-1.2/tools/migemo.vim +--- cmigemo-1.2.ORIG/tools/migemo.vim 2003-01-07 22:57:59.000000000 +0900 ++++ cmigemo-1.2/tools/migemo.vim 2004-03-13 17:25:31.944190968 +0900 +@@ -20,7 +20,7 @@ + let dict = globpath(path, "migemo-dict") + endif + if dict == '' +- let dict = '/usr/local/share/migemo/'.&encoding.'/migemo-dict' ++ let dict = '/usr/share/migemo/migemo-dict' + if !filereadable(dict) + let dict = '' + endif +@@ -43,7 +43,9 @@ + nnoremap <Leader>f :call <SID>SearchChar(0)<CR> + else + " non-builtin version +- let g:migemodict = s:SearchDict() ++ if !exists('g:migemodict') ++ let g:migemodict = s:SearchDict() ++ endif + command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>) + nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr> + |