-
Notifications
You must be signed in to change notification settings - Fork 301
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
Unknown option: cfg #345
Comments
You didn't mention the As for the order issue: When |
the version I used is 8.0.003-1 provided in Ghettoforge Plus repo in CentOS 7. Is there any possibility to do the version check before to prevent this issue? |
The above PR should fix it for you. |
There is no workaround for this. If we would set the filetype first via `:set filetype=cfg` or `:setfiletype cfg`, more specialized plugins like vim-toml, wouldn't be able to overwrite the filetype with `:setfiletype toml` anymore. Now, we simply don't set a filetype at all for older Vim versions. Not great, but better than an error that keeps rust.vim from getting sourced properly. Fixes #345
Steps to reproduce:
mine installation is through vim-plug.
by changing the order of these two lines, different results will occur:
Expected vs. actual behavior:
if vim-toml is loaded before rust.vim, no error will occur.
otherwise, vim will output something like:
and vim-toml will be ignored (no color for the script).
The error message is produced by this line
vim version is
Paste debugging info from the Rust Vim plugin via one of the following
commands:
:RustInfo
,:RustInfoToClipboard
, or:RustInfoToFile <filename>
.these won't work.
The text was updated successfully, but these errors were encountered: