Permalink
Browse files

Merge pull request #55 from ldong/master

Added only use file_line upon files not directory
  • Loading branch information...
2 parents af58a45 + 149f8e1 commit 559088afaf10124ea663ee0f4f73b1de48fb1632 @bogado committed on GitHub Oct 21, 2016
Showing with 3 additions and 1 deletion.
  1. +3 −1 plugin/file_line.vim
@@ -87,4 +87,6 @@ function! s:startup()
endif
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.