Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:setf FALLBACK is not available in older versions (#346)
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
- Loading branch information