This repository was archived by the owner on Apr 3, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ __More info can be found on the [announcement post!](http://www.fredkschott.com/
1515
1616##Hello, World(s)!
17171 . Double-check you have twisted library installed: ` pip install twisted `
18- 2 . Add client.vim & server.py to your plugin folder: ` ~/.vim/plugin/ `
18+ 2 . Add client.vim & server.py to your plugin folder: ` ~/.vim/plugin/ ` or install through Vundle/Pathogen
19193 . Open Vim
20204 . To start a new CoVim server: ` :CoVim start [port] [name] `
21215 . To connect to a running server: ` :CoVim connect [host address / 'localhost'] [port] [name] `
Original file line number Diff line number Diff line change @@ -32,8 +32,11 @@ import os
3232from time import sleep
3333
3434
35- CoVimServerPath = ' ~/.vim/plugin/server.py'
36-
35+ # Check for Vundle/Pathogen
36+ if os.path .exists (os.path .expanduser (' ~' ) + ' /.vim/bundle/CoVim/plugin' ):
37+ CoVimServerPath = ' ~/.vim/bundle/CoVim/plugin/server.py'
38+ else :
39+ CoVimServerPath = ' ~/.vim/plugin/server.py'
3740
3841class VimProtocol (Protocol):
3942 def __init__ (self , fact):
@@ -288,4 +291,4 @@ class CoVimScope:
288291CoVim = CoVimScope ()
289292EOF
290293
291- com ! -nargs =+ CoVim py CoVim.command (<f-args> )
294+ com ! -nargs =+ CoVim py CoVim.command (<f-args> )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments