Esempio n. 1
0
            public Embed(string filename, string args)
            {
                _neovimProcess                     = new Process();
                _neovimProcess.StartInfo           = GetStartInfo(filename, args);
                _neovimProcess.EnableRaisingEvents = true;
                _neovimProcess.Exited             += OnProcessExited;
                _neovimProcess.Start();

                _msgPackIo = new MsgPackIO(_neovimProcess.StandardInput, _neovimProcess.StandardOutput,
                                           _neovimProcess.StandardError);
                _msgPackIo.NotificationReceived += OnNotificationReceived;
                IsRunning = true;
            }
Esempio n. 2
0
 /// <summary>
 /// Initializes the Client
 /// </summary>
 /// <param name="path">Path to Neovim.exe</param>
 public NeovimClient(string path)
 {
     _io = new MsgPackIO(path, @"--embed --headless");
     _io.NotificationReceived += OnNotificationReceived;
     _io.StartReadingOutput();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes the Client
 /// </summary>
 /// <param name="path">Path to Neovim.exe</param>
 public NeovimClient(string path)
 {
     _io = new MsgPackIO(path, @"--embed --headless");
     _io.NotificationReceived += OnNotificationReceived;
     _io.StartReadingOutput();
 }