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

Fix highlight for first buffer, script indentation #30

Closed drougas closed 9 years ago

drougas commented 9 years ago

This fixes #29 by explicitly calling the FileType autocommands for the first buffer. The BufEnter autocommands and the diffthis are there to correct folding (I have au BufEnter * silent! :%foldopen! in my vimrc). I also changed the indentation of various lines to tab (most of the script is tab-indented).

bogado commented 9 years ago

Please don't change space and do work at the same time. This makes your diff impossible to follow.

drougas commented 9 years ago

Got it. Is this one better?

bogado commented 9 years ago

I merged this on my end here and it seems to be still broken.

bogado commented 9 years ago

I've merged your change, thanks.

drougas commented 9 years ago

Thanks. Only now I realized it works on 7.4 but not 7.3. I'll try to get it for 7.3 if I ever get time, but don't hold your breath...