Hi I am new to vim and just above the freshmen in linux
In this instance I am attempting edit to neovim rc file, but i can not save my edits due to buftype error.
I edit the file, then issue PlugInstall command, which does not generate new file. I then try to save the edit, but gety the âbuftype option is setâ error.
I am trying add an option set buftype=nofile to init.vim file but to no change, still E382.
is is a wrong file?
Something is missing here - or I didnât understand the issue.
I have and use vim, normally.
To see the difference and to check/help here I installed âneovimâ.
But even after having used it ⌠I canât even find that file you referenced here. ~/.config/nvim/init.vim
Nor do I know what the meaning of
âthen issue PlugInstall commandâ
is.
Perhaps itâs not about neovim but about something else?
that is my path of actions:
mantas î° Lenovo-x250 î° ~ î° $ î° nvim ~/.config/nvim/init.vim
<<~: nvim - Konsole >>
Here I am adding my Plugins:
like Plug âsirver/ultisnipsâ
Plug âpressrvim/nercommenterâ
etc.
Then,
:so %
and
:PlugInstall
I can see the count of Elapsed Time, but
Plugins are not loading.
I try to save file with w!
and get error E382 Buftype is set
Since my initial post for help,
I
added set buftype=â"" to the init.vim file as a parameter.
saved the file.
after adding plugs I did
:so %
then
same
:set buftype=""
just this time i am issuing it as a command right before
:Pluginstall
Now Plugins would compile, I can see new list is generated.
yet, the issue is that each time I add a Plug and want to compile it, i get same error E382 even if i made set buftype="" parameter as a part of my init.vim file
so, each time before PlugInstall, I have to put the :set buftype= parameter as a command for the PlugInstall to go without errors.
I believe ~/.config/nvim/init.vim is a settings file, an equivalent to vim.rc in the instance when you have VIm insted nvim. i chose neovim for python studies and use Pluginstal command to add various options of the automation etc.
You are trying to (re)configure nvim?
I donât even have a vim.rc file
Probably/possibly because I have never even tried to (re)configure the default vim
This is then way too advanced stuff for me and Iâm out since I surely canât help.
Not sure if the manjaro forum is the best place to ask about how to configure vim/nvim âŚ