Skip to content

One buffer save, cursor jumping declarations #814

@tony

Description

@tony

Around November 21, 2017, 2e027cb , this started happening

If I remove python-mode, this behavior goes away.

Pymode version: 0.9.4 interpreter: python3 lint: 0 rope: 0

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 17 2017 12:01:00)
macOS version
Included patches: 1-1305
Compiled by Homebrew

My python-mode settings:

function! StartPymode()
    let g:pymode_virtualenv = 1 " Auto fix vim python paths if virtualenv enabled        
    let g:pymode_folding= 1  " Enable python folding
    let g:pymode_rope = 0

    let g:pymode_lint = 0
    if g:pymode_lint != 0
        if exists('flake8')
          let g:pymode_lint_checkers = []
          autocmd BufWritePost *.py call Flake8()
        else
          let g:pymode_lint_checkers = ['pep8', 'pep257', 'pyflakes', 'mccabe']
        endif
        let g:pymode_lint_ignore = 'C0111,D100,D101,D102,D103'
        let g:pymode_lint_sort = ['E', 'C', 'W', 'R', 'I', 'F', 'D']
        let g:pymode_lint_unmodified = 1
    endif
endfunction

call PlugOnLoad('python-mode', 'call StartPymode()')

https://github.com/tony/vim-config-framework/blob/01def0b72494febbb6d7a05d9990c8a92a088593/plugins.settings/contrib/pymode.vim

Whole vim config https://github.com/tony/vim-config-framework/tree/01def0b72494febbb6d7a05d9990c8a92a088593/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions