From b69e8baf09d65bde75aad3a717f7c6f86fb643eb Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 4 Mar 2020 16:53:46 +0000 Subject: [docgen] Update README.md skip-checks: true --- README.md | 53 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 18f62e10..087c9a8d 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ Help us create configs for *all the LSPs!* - Requires [Nvim HEAD/nightly](https://github.com/neovim/neovim/releases/tag/nightly) (v0.5 prerelease). - nvim-lsp is just a plugin. Install it like any other Vim plugin. + + e.g. [vim-plug](https://github.com/junegunn/vim-plug) ``` :Plug 'neovim/nvim-lsp' ``` @@ -1694,7 +1696,47 @@ Can be installed in Nvim with `:LspInstall html` require'nvim_lsp'.html.setup{} Default Values: - capabilities = default capabilities, with offsetEncoding utf-8 + capabilities = { + offsetEncoding = { "utf-8", "utf-16" }, + textDocument = { + completion = { + completionItem = { + commitCharactersSupport = false, + deprecatedSupport = false, + documentationFormat = { "markdown", "plaintext" }, + preselectSupport = false, + snippetSupport = false + }, + completionItemKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } + }, + contextSupport = false, + dynamicRegistration = false + }, + documentHighlight = { + dynamicRegistration = false + }, + hover = { + contentFormat = { "markdown", "plaintext" }, + dynamicRegistration = false + }, + references = { + dynamicRegistration = false + }, + signatureHelp = { + dynamicRegistration = false, + signatureInformation = { + documentationFormat = { "markdown", "plaintext" } + } + }, + synchronization = { + didSave = true, + dynamicRegistration = false, + willSave = false, + willSaveWaitUntil = false + } + } + } cmd = { "html-languageserver", "--stdio" } filetypes = { "html" } init_options = { @@ -1704,9 +1746,8 @@ require'nvim_lsp'.html.setup{} javascript = true } } - log_level = 2 - on_init = function to handle changing offsetEncoding - root_dir = root_pattern("package.json") + on_init = + root_dir = settings = {} ``` @@ -3193,10 +3234,6 @@ Can be installed in Nvim with `:LspInstall sumneko_lua` This server accepts configuration via the `settings` key.
Available settings: -- **`Lua.awakened.cat`**: `boolean` - - - - **`Lua.completion.callSnippet`**: `enum { "Disable", "Both", "Replace" }` Default: `"Disable"` -- cgit v1.3.1