We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
core.autocrlf
true
WindowsではGitの設定core.autocrlfはtrueがデフォルトです。この場合、vim-jp/vimdoc-jaのdoc/tags-jaファイルは改行がCRLFに翻訳されてチェックアウトされますが、minpac#update()で:helptagsが実行されると、出力されるファイルはLFのため、次のアップデート時に変更ありと見なされて衝突が発生します。
minpac#update()
:helptags
doc/tags*ファイルがリポジトリのindexにある場合は:helptagsを実行しないべきと思います。 (tagsファイルを手書きしているプラグインが存在する可能性も考えると)
The text was updated successfully, but these errors were encountered:
slack の方でも書きましたが、tags ファイルがリポジトリにあるかどうかをチェックするには git コマンドを実行する必要があり、Windows だと確実に遅くなるのでどうするか悩ましいです。
とりあえず、vimdoc-ja の方で対処する方法を考えてみました。 vim-jp/vimdoc-ja#269
Sorry, something went wrong.
autofmt でも同様に vim-jp/autofmt#19
参考情報: 私が3年ほど前にvim-plugに出したPR。(git管理のtagファイルがあったら:helptagsしない) junegunn/vim-plug#773
No branches or pull requests
WindowsではGitの設定
core.autocrlf
はtrue
がデフォルトです。この場合、vim-jp/vimdoc-jaのdoc/tags-jaファイルは改行がCRLFに翻訳されてチェックアウトされますが、minpac#update()
で:helptags
が実行されると、出力されるファイルはLFのため、次のアップデート時に変更ありと見なされて衝突が発生します。doc/tags*ファイルがリポジトリのindexにある場合は
:helptags
を実行しないべきと思います。(tagsファイルを手書きしているプラグインが存在する可能性も考えると)
The text was updated successfully, but these errors were encountered: