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

bug? report: Space handling has mistake pattern. #11

Open
tsuyoshicho opened this issue Aug 20, 2022 · 0 comments
Open

bug? report: Space handling has mistake pattern. #11

tsuyoshicho opened this issue Aug 20, 2022 · 0 comments

Comments

@tsuyoshicho
Copy link
Contributor

2022/08/20 latest で確認

次の辞書設定のとき

Vim9 script:
  - VIM9 スクリプト
  - VIM9スクリプト
  - Vim9 スクリプト
  - Vim9スクリプト

次の文章の修正が適切でない(スペースが2つになる)状態になりました。

base

Valid
Vim9 script とは...

pattern 1 (invalied)
VIM9 スクリプトとは...

pattern 2
VIM9スクリプトとは...

pattern 3 (invalied)
Vim9 スクリプトとは...

pattern 4
Vim9スクリプトとは...

fixed

Valid
Vim9 script とは...

pattern 1 (invalied)
Vim9  scriptとは...

pattern 2
Vim9 scriptとは...

pattern 3 (invalied)
Vim9  scriptとは...

pattern 4
Vim9 scriptとは...

これは

  • -i でのインプレース修正
  • -r のstdoutの修正出力

で発生し、引数なしのチェック時は適切なようです。

$ nvcheck.exe test_base.txt
test_base.txt:5: VIM9 スクリプト >> Vim9 script
test_base.txt:8: VIM9スクリプト >> Vim9 script
test_base.txt:11: Vim9 スクリプト >> Vim9 script
test_base.txt:14: Vim9スクリプト >> Vim9 script
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

1 participant