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

fileType=dosbatchの時、トグルとコメント解除が動作しない #164

Open
Stranger31-20190707 opened this issue Jun 3, 2021 · 0 comments

Comments

@Stranger31-20190707
Copy link

Stranger31-20190707 commented Jun 3, 2021

filetype=dosbatchの時、コメントの追加はできるのですが、トグル時やコメント解除時にうまく動作しませんでした。

  • トグル(gcc)時: 先頭にREMがあってもREMが追加される
  • 解除(gcui)時: 先頭にREMがあっても何も起きない

確認してみたところvimにおけるfiletype=dosbatchのcommentstringが「::」であるためにコメントと判定できないようです。
当該ファイルタイプのcaw.vim(caw.vim\after\ftplugin\dosbatch\caw.vim)のコメントを'::'に変更してみたところ、「::」ではありますがトグル及びコメントの解除ができるようになりました。

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