{"action":"opened","issue":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/440","labels_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/440/comments","events_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/440/events","html_url":"https://github.com/davidhalter/jedi-vim/issues/440","id":96032778,"number":440,"title":"Strange (bad) interaction with LaTeX buffers","user":{"login":"Rmano","id":6414907,"avatar_url":"https://avatars.githubusercontent.com/u/6414907?v=3","gravatar_id":"","url":"https://api.github.com/users/Rmano","html_url":"https://github.com/Rmano","followers_url":"https://api.github.com/users/Rmano/followers","following_url":"https://api.github.com/users/Rmano/following{/other_user}","gists_url":"https://api.github.com/users/Rmano/gists{/gist_id}","starred_url":"https://api.github.com/users/Rmano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rmano/subscriptions","organizations_url":"https://api.github.com/users/Rmano/orgs","repos_url":"https://api.github.com/users/Rmano/repos","events_url":"https://api.github.com/users/Rmano/events{/privacy}","received_events_url":"https://api.github.com/users/Rmano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-20T10:16:13Z","updated_at":"2015-07-20T10:16:13Z","closed_at":null,"body":"Hi --- \r\nI 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`: \r\n\r\n```\r\nPlug 'davidhalter/jedi-vim'\r\n    autocmd FileType python setlocal completeopt-=preview \r\n```\r\n\r\nAnd when I edit a LaTeX file, the `$...$` marks that define an inline math disappears unless the line is under the cursor. See: \r\n\r\nCase 1, cursor in different line of the math formula (the cursor does not appear on screenshot, but believe me...) \r\n\r\n![selection_036](https://cloud.githubusercontent.com/assets/6414907/8773950/d84d6838-2ed8-11e5-80ef-c24c3814cbfc.png)\r\n\r\nCase 2, few instant after, cursor in the same line: \r\n\r\n![selection_037](https://cloud.githubusercontent.com/assets/6414907/8773962/f4f523d6-2ed8-11e5-9d02-97d91bff34ac.png)\r\n\r\nThis make LaTeX files almost impossible to edit. Is there a way to restrict all of the `jedi-vim` effects to python buffers? \r\n\r\n \r\n"}}