aboutsummaryrefslogtreecommitdiffstats
path: root/README_preamble.md
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2019-11-14 20:12:55 +0100
committerAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-14 11:12:55 -0800
commit0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4 (patch)
tree3ccff5c8ed524752a6e9e2918196b86a18b2710e /README_preamble.md
parentImprove documentation and docgen command. (diff)
downloadnvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.tar
nvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.tar.gz
nvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.tar.bz2
nvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.tar.lz
nvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.tar.xz
nvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.tar.zst
nvim-lspconfig-0d2920ef8b04eab6cb55f5f2ea90fa82279e01e4.zip
Small edits to readme (#4)
Diffstat (limited to 'README_preamble.md')
-rw-r--r--README_preamble.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/README_preamble.md b/README_preamble.md
index 2b8eb6c4..18e1566d 100644
--- a/README_preamble.md
+++ b/README_preamble.md
@@ -3,10 +3,10 @@
WIP Common configurations for Language Servers.
This repository aims to be a central location to store configurations for
-Language Servers which leverages Neovim's built-in LSP client `vim.lsp` for the
+Language Servers which leverage Neovim's built-in LSP client `vim.lsp` as the
client backbone. The `vim.lsp` implementation is made to be customizable and
greatly extensible, but most users just want to get up and going. This
-plugin/library is for those people, although it still let's you customize
+plugin/library is for those people, although it still lets you customize
things as much as you want in addition to the defaults that this provides.
**NOTE**: Requires current Neovim master as of 2019-11-13
@@ -54,9 +54,6 @@ In progress:
From vim:
```vim
-call nvim_lsp#setup("clangd", {})
-call nvim_lsp#setup("gopls", {})
-call nvim_lsp#setup("pyls", {})
call nvim_lsp#setup("texlab", {})
```
@@ -85,7 +82,6 @@ nvim_lsp.gopls.setup {
require 'nvim_lsp'.texlab.buf_build(0)
```
-```
These are functions to set up servers more easily with some server specific
defaults and more server specific things like commands or different
diagnostics.
@@ -95,6 +91,7 @@ Servers may define extra functions on the `nvim_lsp.SERVER` table, e.g.
The main setup signature will be:
+```
nvim_lsp.SERVER.setup({config})
{config} is the same as |vim.lsp.start_client()|, but with some