forked from VimPlug/jedi-vim
turn syntax highlighting on again if it's turned off by renaming (possible vim bug).
This commit is contained in:
1 parent
ef1011d8c6
commit
69e4cead81
3 files changed
+7
-8
No files matched your search
@@ -96,6 +96,9 @@ function! jedi#new_buffer(path)
|
||||
endif
|
||||
Python vim.command('edit ' + jedi_vim.escape_file_path(vim.eval('a:path')))
|
||||
endif
|
||||
" sometimes syntax is being disabled and the filetype not set.
|
||||
syntax on
|
||||
set filetype=python
|
||||
endfunction
|
||||
|
||||
function! s:add_goto_window()
|
||||
|
||||
Reference in new issue
Block a user