From da866ffd3d0646dbdca642136573405160caa504 Mon Sep 17 00:00:00 2001 From: brotifypacha Date: Thu, 13 Jun 2024 20:02:24 +0300 Subject: [PATCH] rework `how to use` section to be `installation` --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad0c727..2fef12e 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,19 @@ A language server implementation for Google Protocol Buffers -## how to use +## installation -1. build the target `pls`, add `pls` to `PATH` -2. for `coc.nvim`, `:CocConfig` like this +Build binary + +```sh +go build -o pls . +``` + +Add it to your PATH + +Configure vim/nvim + +Using [coc.nvim](https://github.com/neoclide/coc.nvim), add it to `:CocConfig` ```json "languageserver": { @@ -17,7 +26,7 @@ A language server implementation for Google Protocol Buffers } ``` -if you use vscode, see `vscode-extension/README.md` +if you use vscode, see [vscode-extension/README.md](./vscode-extension/README.md) ## features