diff options
| author | William Boman <william@redwill.se> | 2022-05-02 19:25:20 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2022-05-02 19:25:20 +0200 |
| commit | aee7e760d2970bf3e0e30194d5c26db355894580 (patch) | |
| tree | 24ee853fa8bf66c6c88a05a2f754ca0a5d798b28 | |
| parent | run autogen_metadata.lua (diff) | |
| download | mason-aee7e760d2970bf3e0e30194d5c26db355894580.tar mason-aee7e760d2970bf3e0e30194d5c26db355894580.tar.gz mason-aee7e760d2970bf3e0e30194d5c26db355894580.tar.bz2 mason-aee7e760d2970bf3e0e30194d5c26db355894580.tar.lz mason-aee7e760d2970bf3e0e30194d5c26db355894580.tar.xz mason-aee7e760d2970bf3e0e30194d5c26db355894580.tar.zst mason-aee7e760d2970bf3e0e30194d5c26db355894580.zip | |
fix(docs): don't use helptags syntax for deprecation notices
Fixes #658.
Closes #660.
| -rw-r--r-- | doc/nvim-lsp-installer.txt | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt index 1ad223ae..8f784b21 100644 --- a/doc/nvim-lsp-installer.txt +++ b/doc/nvim-lsp-installer.txt @@ -274,7 +274,9 @@ uninstall({server_name}) {server_name} (string) The server to uninstall. *nvim-lsp-installer.on_server_ready()* -on_server_ready({cb}) *DEPRECATED - setup servers directly via lspconfig instead* +on_server_ready({cb}) + DEPRECATED - setup servers directly via lspconfig instead + Registers a callback to be executed each time a server is ready to be initiated. @@ -351,7 +353,9 @@ class: Server servers. Methods: ~ - - setup({opts}) *DEPRECATED - setup servers directly via lspconfig instead* + - setup({opts}) + DEPRECATED - setup servers directly via lspconfig instead + Sets up the language server and attaches all open buffers. See: @@ -362,7 +366,9 @@ class: Server {opts} (table) The lspconfig server configuration. See https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md - - setup_lsp({opts}) *DEPRECATED - setup servers directly via lspconfig instead* + - setup_lsp({opts}) + DEPRECATED - setup servers directly via lspconfig instead + Sets up the language server via lspconfig. This function has the same signature as the setup function in nvim-lspconfig. @@ -371,18 +377,22 @@ class: Server {opts} (table) The lspconfig server configuration. See https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md - - attach_buffers() *DEPRECATED - setup servers directly via lspconfig instead* + - attach_buffers() + DEPRECATED - setup servers directly via lspconfig instead + Attaches this server to all current open buffers with a 'filetype' that matches the server's configured filetypes. - - get_default_options() *DEPRECATED* + - get_default_options() Returns a deep copy of the default options provided to lspconfig in the setup({opts}) method. Note: These only include the options provided by nvim-lsp-installer, and not the default options provided by lspconfig. - - on_ready({handler}) *DEPRECATED* + - on_ready({handler}) + DEPRECATED - setup servers directly via lspconfig instead + Registers the provided {handler} to be called when the server is ready to be setup. |
