You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing this as well. My default softtabstop=2 and shiftwidth=2, but before instally vim-flake8, python files the default python ftplugin to change both settings to =4. After flake8, it seems that the default ftplugin isn't loaded.
Ok, I had this in vimrc:
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
set autoindent
set smarttab
and I added the following to enable Flake8:
execute pathogen#infect()
filetype plugin indent on
The second line "filetype plugin indent on" is required to make Flake8 work. Without that line, I get this when trying to run Flake8:
E117: Unknown function: Flake8
So I have to add that filetype line in order to use Flake8 on python code.
However, when I turn that on, my tabstops no longer work and I get THIS whenever I try using the Tab key during an edit:
Error detected while processing function 34_SetVals:
line 12:
E121: Undefined variable: g:pydiction_location
So I am either doing something wrong, or there's a bug somewhere... I followed the instructions in the README file...
The text was updated successfully, but these errors were encountered: