We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3f79b commit d3412a8Copy full SHA for d3412a8
README.md
@@ -1,2 +1,4 @@
1
-<b>nerdtree-svn-plugin</b><br/>
+# nerdtree-svn-plugin
2
A plugin of NERDTree to show "commit" and "update" SVN commands in directory menu.
3
+## demo
4
+
images/image_1.png
11.9 KB
nerdtree_plugin/nerdthree-svn-plugin.vim
@@ -7,7 +7,13 @@ let g:loaded_nerdtree_svn_menuitem = 1
7
8
function! NERDTreeSvnDirectoryCheck()
9
let curNode = g:NERDTreeFileNode.GetSelected()
10
- return curNode.path.isDirectory
+ if curNode.path.isDirectory
11
+ let output = system("svn info ".curNode.path.str() . g:NERDTreePath.Slash())
12
+ if output !~ "E155007"
13
+ return 1
14
+ endif
15
16
+ return 0
17
endfunction
18
19
0 commit comments