Skip to content

Commit

Permalink
Merge pull request #55 from ldong/master
Browse files Browse the repository at this point in the history
Added only use file_line upon files not directory
  • Loading branch information
bogado committed Oct 21, 2016
2 parents af58a45 + 149f8e1 commit 559088a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/file_line.vim
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ function! s:startup()
endif endif
endfunction endfunction


autocmd VimEnter * call s:startup() if !isdirectory(expand("%:p"))
autocmd VimEnter * call s:startup()
endif

0 comments on commit 559088a

Please sign in to comment.