glacambre / firenvim

Embed Neovim in Chrome, Firefox & others.
GNU General Public License v3.0
4.68k stars 144 forks source link

Firenvim with Pathogen and Vanilla Vim #1487

Closed heywoodlh closed 1 year ago

heywoodlh commented 1 year ago

This isn't an issue, more of a courtesy for anyone else who uses vanilla Vim in addition to Neovim. I like having an interoperable Vanilla Vim config and Neovim. Here is how I disabled firenvim from loading with Pathogen in vanilla Vim:

if has("nvim")
  " Neovim specific blacklist goes here
else
  " Vim specific blacklist goes here
  let g:pathogen_blacklist = [ 'firenvim' ]
endif

execute pathogen#infect()

This allows me to have firenvim in my ~/.vim/bundle directory, but not load via Pathogen when I run vim.


One suggestion for firenvim would be a check in Firenvim to not load if you are not running nvim.