Skip to content

Including python syntax sets conceillevel (bad interaction with LaTeX buffers) #440

@Rmano

Description

@Rmano

Hi ---
I have installed jedi-vim and I find it really nice to edit python files. But I came across a problem that I am unable to solve --- it makes editing of LaTeX files much more complex. The problem is the following. I have in my .vimrc:

Plug 'davidhalter/jedi-vim'
    autocmd FileType python setlocal completeopt-=preview 

And when I edit a LaTeX file, the $...$ marks that define an inline math disappears unless the line is under the cursor. See:

Case 1, cursor in different line of the math formula (the cursor does not appear on screenshot, but believe me...)

selection_036

Case 2, few instant after, cursor in the same line:

selection_037

This make LaTeX files almost impossible to edit. Is there a way to restrict all of the jedi-vim effects to python buffers?

PD I checked that commenting out the plugin will remove the problem.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions