Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pymode seems to freeze on opening a very simple file and trying to source folding.vim #826

Closed
@kevinkjt2000

Description

@kevinkjt2000

Most of the output fromnvim -i NONE -u ~/.config/nvim/bundle/python-mode/debugvimrc.vim has possibly sensitive path names, so here is the tail end of it:

pymode_lint           #1pymode_lint_async     #1pymode_lint_async_updatetime #1000pymode_lint_checkers  ['pyflakes', 'pep8', 'mccabe']pymode_lint_comment_symbol  CCpymode_lint_cwindow   #1pymode_lint_docs_symbol  DDpymode_lint_error_symbol  EEpymode_lint_ignore    []pymode_lint_info_symbol  IIpymode_lint_message   #1pymode_lint_on_fly    #0pymode_lint_on_write  #1pymode_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  FFpymode_lint_select    []pymode_lint_signs     #1pymode_lint_sort      []pymode_lint_todo_symbol  WWpymode_lint_unmodified #0pymode_lint_visual_symbol  RRpymode_motion         #1pymode_options        #1pymode_options_colorcolumn #1pymode_options_max_line_length #79pymode_paths          []pymode_python          python3pymode_quickfix_maxheight #6pymode_quickfix_minheight #3pymode_rope           #0pymode_run            #1pymode_run_bind        <leader>rpymode_trim_whitespaces #1pymode_version         0.9.4pymode_virtualenv     #1pymode_virtualenv_enabledpymode_virtualenv_pathpymode_warning        #1-------------------------------------------------------------------------------pymode debug msg 5: Git commit:39d9ab803c8a7538581050841910af66ae5b03d8-------------------------------------------------------------------------------pymode debug msg 6: End of pymode#debug#sysinfopymode debug msg 7: line 1 has folding: >1 with foldcase function declarationpymode debug msg 8: line 2 has folding: = with foldcase non blank line; first line of block or part of itpymode debug msg 9: line 3 has folding: = with foldcase blank line after non blank linepymode debug msg 10: line 4 has folding: 0 with foldcase generalpymode debug msg 11: line 5 has folding: >1 with foldcase function declaration

The file that I was trying to load:

defspam():passdefeggs():pass

What I expected is that vim would not freeze when loading this simple of a python file. I did notice that if I add a newline above the spam function, the file opens and does not freeze vim. Vim also does not freeze if I remove python-mode from my list of pluginshttps://github.com/kevinkjt2000/dot-vim/blob/c8eccb09ccc8f71697ba3a4a81049abd5820ec10/plugins.vim#L25

(And by vim, I mean neovim's nvim)

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp