Closed LeafCage closed 10 years ago
ftplugin/vim/cfi.vim
let s:END_PATTERN = '\C'.'^\s*'.'endf*\%[unction]\>'
の終了パターンは'endf*\%[unction]\>'の、fの後の*はいらないのではないでしょうか?
'endf*\%[unction]\>'
*
if end
があった場合、endが関数の終了とみなされてしまいます。
end
直しました。 確認お願いします。
ありがとうございます。
ftplugin/vim/cfi.vim
の終了パターンは
'endf*\%[unction]\>'
の、fの後の*
はいらないのではないでしょうか?があった場合、
end
が関数の終了とみなされてしまいます。