diff options
Diffstat (limited to 'doc/server_configurations.md')
| -rw-r--r-- | doc/server_configurations.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 2c559faf..01d28e55 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -2552,6 +2552,8 @@ npm i -g vscode-langservers-extracted Neovim does not currently include built-in snippets. `vscode-html-language-server` only provides completions when snippet support is enabled. To enable completion, install a snippet plugin and add the following override to your language client capabilities during setup. +The code-formatting feature of the lsp can be controlled with the `provideFormatter` option. + ```lua --Enable (broadcasting) snippet capability for completion local capabilities = vim.lsp.protocol.make_client_capabilities() @@ -2581,7 +2583,8 @@ require'lspconfig'.html.setup{} embeddedLanguages = { css = true, javascript = true - } + }, + provideFormatter = true } root_dir = function(startpath) return M.search_ancestors(startpath, matcher) |
