41 howm-mode.vim (2-19) 検索結果の出力フォーマットを変更、の修正
38 howm-mode.vim (2-16) 検索結果の出力フォーマットを変更で、ShowDirectory() (
" grep によって全文検索した結果を整形する. " TODO: 第一引数の扱いがイマイチ function! s:FormatSearchResult(...) " ... let lineFormat = (exists('a:1') ? a:1 : g:howm_lineFormat) " ... endfunction
function! s:ShowDirectory() " ... call s:FormatSearchResult(g:howm_lineFormatShowDirectory) " ... endfunction
if !exists('g:howm_lineFormatShowDirectory') let g:howm_lineFormatShowDirectory = "%filename% | %content%" endif
対処がその場しのぎすぎるので、そのうち修正したい。FormatSearchResult() は色々な場所から呼ばれているので面倒。