bogado / file-line

Plugin for vim to enabling opening a file in a given line
http://www.vim.org/scripts/script.php?script_id=2184
299 stars 61 forks source link

Breaks syntax highlighting for all but first file when opening multiple files at once. #63

Open ghost opened 8 years ago

ghost commented 8 years ago

When opening multiple files at once like vim file1.py file2.py, only file1.py will have syntax highlighting enabled. For file2.py, no :set syntax is available and I have to set it manually.

I install files with Vundle, so here's my Plugin list, maybe this helps:

 Plugin 'flazz/vim-colorschemes'
 Plugin 'scrooloose/syntastic'
 Plugin 'Valloric/YouCompleteMe'
 Plugin 'evanmiller/nginx-vim-syntax'
 Plugin 'othree/html5.vim'
 Plugin 'othree/javascript-libraries-syntax.vim'
 Plugin 'pangloss/vim-javascript'
 Plugin 'rdolgushin/gitignore.vim'
 Plugin 'gregsexton/MatchTag'
 Plugin 'justinmk/vim-syntax-extra'
 Plugin 'nathanaelkane/vim-indent-guides'
 Plugin 'bogado/file-line'
FelikZ commented 8 years ago

:+1: