changeset 178:c2e0dac0be42

Fix getcwd for vim
author Henry Kupty <hkupty@gmail.com>
date Thu, 09 Mar 2017 20:03:06 -0300
parents 7b9c2f191e69
children 411f3fa915f5
files autoload/gutentags.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autoload/gutentags.vim	Thu Mar 09 19:15:04 2017 -0300
+++ b/autoload/gutentags.vim	Thu Mar 09 20:03:06 2017 -0300
@@ -6,7 +6,7 @@
   if has('nvim')
     return haslocaldir() ? getcwd(0, 0) : haslocaldir(-1, 0) ? getcwd(-1, 0) : getcwd()
   else
-    return haslocaldir() ? getcwd(0, 0) : getcwd()
+    return getcwd()
   endif
 endfunction