Document why `filetype` is not supported by Oni
Oni Version: 0.3.9 Neovim Version (Linux only): Operating System: macOS 10.14
Issue: The docs claim:
" init.vim
filetype off " required
Why must filetype be disabled to use Oni? (I haven't yet set this setting, and it seems to be working fine — I assume I just haven't yet run into some corner-case that expects it to be disabled?)
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
I'm not actually sure why that is in the docs....but looking at the current defaults and forced Oni settings (https://github.com/onivim/oni/blob/master/vim/default/bundle/oni-vim-defaults/plugin/init.vim and https://github.com/onivim/oni/blob/master/vim/core/oni-core-interop/plugin/init.vim) its nowhere to be seen.
In fact, lots of Oni depends on the filetype existing... At a guess, its either a bug when the docs were added, or some old old code when Oni did some form of its own filetype detection (though I don't think that has ever been the case since it would break so many plugins...)
I use and have used filetype plugin indent on in my init.vim for as long as I've used Oni and have hit no issues, plus its the default in neovim so every Oni user that doesn't overwrite it will be using that too.
I'll go ahead and update the docs since I can't see why that would be needed, unless @badosu knows?
It was not required, I just copied values that were the default at the time. If it works without, better to not have it there.
Thanks for reporting @ELLIOTTCABLE and for fixing @CrossR!