Skip to content

Neovim woes… #845

@kierun

Description

@kierun

I am using neovim and installed python-mode via dein. Things used to work fairly well, but in recent times options have started to dwindle:

  1. rope is no longer working or initialised or there as far as I can see. The ~/.ropeproject is not created and rope does not seemed to be installed at all.
  2. folding is erratic at best. For example, anything starting with async does not fold correctly.

Is python-mode supporting neovim and in that case, what am I doing wrong?

Here is some debugging info:

NVIM v0.2.2                      
Build type: Debug
LuaJIT 2.0.4
Compilation: /usr/bin/cc -Wconversion -DNVIM_UNIBI_HAS_VAR_FROM -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/home/usr/src/neovim/build/config -I/home/usr/src/neovim/src -I/home/usr/src/neovim/.deps/usr/include -I/home/usr/src/neovim/.deps/usr/include -I/home/usr/src/neovim/.deps/usr/include -I/home/usr/src/neovim/.deps/usr/include -I/home/usr/src/neovim/.deps/usr/include -I/home/usr/src/neovim/.deps/usr/include -I/usr/include -I/home/usr/src/neovim/build/src/nvim/auto -I/home/usr/src/neovim/build/include
Compiled by usr@example.com

Features: +acl +iconv +jemalloc +tui 
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/home/usr/share/nvim"
" ~/.config/nvim/init.vim
let g:python3_host_prog="/home/usr/.virtualenvs/neovim/bin/python"
[…]
call dein#add("python-mode/python-mode")
    nnoremap <space> za
    let g:pymode = 1
    let g:pymode_lint_checkers = ['flake8', 'pep8', 'mccabe', 'pep257']
    let g:pymode_python = 'python3'

and

1517567552 let g:pymode_virtualenv_enabled = "/home/usr/.virtualenvs/BTTS" []
-------------------------------------------------------------------------------
pymode debug msg 1: Starting debug on: 2018-02-02 10:32:32 with file           
-------------------------------------------------------------------------------
pymode debug msg 2: Operating system: Linux                                    
-------------------------------------------------------------------------------
pymode debug msg 3: Scriptnames:                                               
-------------------------------------------------------------------------------
pymode debug msg 4: Pymode variables:                                          
pymode                #1             
pymode_breakpoint     #1
pymode_breakpoint_bind  <leader>b
pymode_breakpoint_cmd  import pdb; pdb.set_trace()  # XXX BREAKPOINT
pymode_debug          #1                                            
pymode_debug_counter  #3
pymode_debug_tempfile   
pymode_doc            #1
pymode_doc_bind        K
pymode_doc_vertical   #0
pymode_folding        #1
pymode_folding_nest_limit #1000
pymode_folding_regex   ^\s*\%(class\|def\|async\s\+def\) .\+\(:\s\+\w\)\@!
pymode_indent         #1                                                  
pymode_init           #1
pymode_lint           #1
pymode_lint_async     #1
pymode_lint_async_updatetime #1000
pymode_lint_checkers  ['pyflakes', 'pep8', 'mccabe']
pymode_lint_comment_symbol  CC                      
pymode_lint_cwindow   #1      
pymode_lint_docs_symbol  DD
pymode_lint_error_symbol  EE
pymode_lint_ignore    []    
pymode_lint_info_symbol  II
pymode_lint_message   #1   
pymode_lint_on_fly    #0
pymode_lint_on_write  #1
pymode_lint_options_mccabe {'complexity': 12}
pymode_lint_options_pep257 {}                
pymode_lint_options_pep8 {'max_line_length': 79}
pymode_lint_options_pyflakes {'builtins': '_'}  
pymode_lint_options_pylint {'max-line-length': 79}
pymode_lint_pyflakes_symbol  FF                   
pymode_lint_select    []       
pymode_lint_signs     #1
pymode_lint_sort      []
pymode_lint_todo_symbol  WW
pymode_lint_unmodified #0  
pymode_lint_visual_symbol  RR
pymode_motion         #1     
pymode_options        #1
pymode_options_colorcolumn #1
pymode_options_max_line_length #79
pymode_paths          []          
pymode_python          python3
pymode_quickfix_maxheight #6  
pymode_quickfix_minheight #3
pymode_rope           #0    
pymode_run            #1
pymode_run_bind        <leader>r
pymode_trim_whitespaces #1      
pymode_version         0.9.4
pymode_virtualenv     #1    
pymode_virtualenv_enabled  /home/usr/.virtualenvs/BTTS
pymode_virtualenv_path  /home/usr/.virtualenvs/BTTS   
pymode_warning        #1                            
-------------------------------------------------------------------------------
pymode debug msg 5: Git commit:                                                
371eba4e7f334dc239053124dae94cf7da8d9c61
-------------------------------------------------------------------------------
pymode debug msg 6: End of pymode#debug#sysinfo         

Let me know if you need some more debugging information or for me to try something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions