I have a ftplugin for emails (~/.vim/ftplugin/mail.vim) that sets the textwidth to 72 columns.
When I use nvim in a terminal, the textwidth is correctly set: :set tw after I edit an email file nvim file.eml correctly indicates tw=72.
However, when I use gnvim (or open -a Neovim file.eml) it indicates tw=79 which is the general textwidth I set in ~/.vimrc.
The lists scriptnames are identical in the two situations, at least the files content are identical.
Here is the list:
I have a ftplugin for emails (
~/.vim/ftplugin/mail.vim
) that sets the textwidth to 72 columns. When I use nvim in a terminal, the textwidth is correctly set::set tw
after I edit an email filenvim file.eml
correctly indicatestw=72
. However, when I use gnvim (oropen -a Neovim file.eml
) it indicatestw=79
which is the general textwidth I set in~/.vimrc
. The listsscriptnames
are identical in the two situations, at least the files content are identical. Here is the list:Another issue I have: After I use
gnvim file.eml
, the file file.eml is opened twice which is quite annoying.