Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printf の % が足りない #177

Closed
syngan opened this issue Dec 9, 2014 · 2 comments
Closed

printf の % が足りない #177

syngan opened this issue Dec 9, 2014 · 2 comments

Comments

@syngan
Copy link
Contributor

syngan commented Dec 9, 2014

      call s:highlight_with(start + 1, printf('"\ze\%(^\[%%\]\|%s\)"',
            \ context.prompt_pattern), b:interactive.syntax)

autoload/vimshell/parser.vim|242 col 46| の pritnf ですが、これは

      call s:highlight_with(start + 1, printf('"\ze\%%(^\[%%\]\|%s\)"',
            \ context.prompt_pattern), b:interactive.syntax)

でなくて大丈夫でしょうか?

@Shougo
Copy link
Owner

Shougo commented Dec 9, 2014

上記のパターンは \%( という Vim の正規表現なので問題ないです。

@Shougo Shougo closed this as completed Dec 9, 2014
Shougo added a commit that referenced this issue Dec 9, 2014
@Shougo
Copy link
Owner

Shougo commented Dec 9, 2014

再度パターンを見ると問題があるように見えるので修正しました。
指摘ありがとうございます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants