diff options
| author | Github Actions <actions@github> | 2020-03-04 16:53:46 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2020-03-04 16:53:46 +0000 |
| commit | b69e8baf09d65bde75aad3a717f7c6f86fb643eb (patch) | |
| tree | 25f30db0396dcce6dfce6c98183cc6fec208d920 | |
| parent | [fix] e.g (diff) | |
| download | nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.tar nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.tar.gz nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.tar.bz2 nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.tar.lz nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.tar.xz nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.tar.zst nvim-lspconfig-b69e8baf09d65bde75aad3a717f7c6f86fb643eb.zip | |
[docgen] Update README.md
skip-checks: true
| -rw-r--r-- | README.md | 53 |
1 files changed, 45 insertions, 8 deletions
@@ -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 = <function 1> + root_dir = <function 1> settings = {} ``` @@ -3193,10 +3234,6 @@ Can be installed in Nvim with `:LspInstall sumneko_lua` This server accepts configuration via the `settings` key. <details><summary>Available settings:</summary> -- **`Lua.awakened.cat`**: `boolean` - - - - **`Lua.completion.callSnippet`**: `enum { "Disable", "Both", "Replace" }` Default: `"Disable"` |
