Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Commit

Permalink
don't start the server automatically on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Mar 3, 2013
1 parent 233dd61 commit 4760ce0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugin/browser-connect.vim
@@ -1,6 +1,6 @@
" =======================================================================
" File: browser-connect.vim
" Version: 0.2.2
" Version: 0.2.3
" Description: Live browser interaction for VIM.
" Maintainer: Bogdan Popa <popa.bogdanp@gmail.com>
" License: Copyright (C) 2013 Bogdan Popa
Expand Down Expand Up @@ -47,8 +47,9 @@ let g:bc_loaded = "010"
" }}}
" Python source. {{{
python <<EOF
import subprocess
import os
import platform
import subprocess
import sys
import vim

Expand All @@ -65,7 +66,7 @@ class BrowserConnectConstants(object):

class BrowserConnect(object):
def __init__(self):
if not self.server_running():
if not self.server_running() and platform.system().lower() != "windows":
sys.stdout.write("BrowserConnect: starting browser-connect-server.")
self.run_server()

Expand Down

0 comments on commit 4760ce0

Please sign in to comment.