Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

unrealhoang/lspc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lsp Client

Language server protocol client implement in Rust. First target editor is neovim. First target language server is rust-analyzer

Development setup

  1. Clone project
  2. Add path to vim-plug:
Plug '~/path/to/lspc'
  1. Build project
cargo build
  1. Config your vim:
let g:lspc = {
      \ 'rust': {
      \     'root_markers': ['Cargo.lock'],
      \     'command': ['rustup', 'run', 'stable', 'ra_lsp_server'],
      \     },
      \ }
  1. Start Rust handler:
:LspcStart

or

:call lspc#init()
  1. Test command:
:call lspc#hello_from_the_other_side()
  1. Start Language Server for current buffer
:call lspc#start_lang_server()
  1. View debug log at log.txt

About

Language Server Protocol Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published