vim-flake8
vim-flake8 copied to clipboard
enabling flake8 kills my tabstops
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 <SNR>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...
~~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.~~
Actually, I'm hitting: https://github.com/vim/vim/issues/326
same issue
Same problem. Has anyone found a solution?