Tuesday, April 2, 2019

Error detected while processing BufRead Auto commands for "*.py":

I am just starting out Vim. I am now making my ~/.vimrc file. But I get error after adding the python specific configuration. The error is:

Error detected while processing BufRead Auto commands for "*.py":
E518: Unknown option: set

Here is my ~/.vimrc file:


set nocompatible " required
filetype off " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" add all your plugins here (note older versions of Vundle
" used Bundle instead of Plugin)

" ...

Plugin 'tmhedberg/SimpylFold'

" All of your Plugins must be added before the following line
call vundle

No comments: