jeetsukumaran / vim-buffergator

Vim plugin to list, select and switch between buffers.
498 stars 49 forks source link

Getting E518 error with VIM ver 7.2.411 #39

Open ckcin opened 9 years ago

ckcin commented 9 years ago

I just tried Buffergator, been using Bufexplorer for years, but felt it wasn't letting me fully utilize my buffers... so I stumbled across Buffergator... so I know my version of vim is a bit dated..... but do to the nature of the system, I can't do anything about it :-(

So I'm getting the following everytime I open the Buffer window with b

Error detected while processing function buffergator#OpenBuffergator..286..252..254..257:
line    9:
E518: Unknown option: norelativenumber

just for reference: here is a list of the other plugins I'm using (all installed via vundle)

Plugin 'altercation/vim-colors-solarized'
Plugin 'scrooloose/nerdtree.git'
Plugin 'jeetsukumaran/vim-buffergator' 
Plugin 'nacitar/a.vim'
Plugin 'nicoraffo/conque'
Plugin 'vim-scripts/ccase.vim'

Are there any known conflicts? Thanks Nick

jeetsukumaran commented 9 years ago

The issue here is that your version of Vim does not support relativenumber. I will fix this.

ckcin commented 9 years ago

I had a feeling it was something simple from posts I was seeing about other vim plugins/scripts. Let me know when it is ready and I'll give it a test. Thanks Nick

ckcin commented 9 years ago

I think I have a simple solution: file: autoload/buffergator.vim wrap line 682: "setlocal norelativenumber"

as if v:version > 703 setlocal norelativenumber endif

I made that simple change in my local version and no longer see the error and everything still seams to work okay.