diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-05 15:12:17 -0800 |
|---|---|---|
| committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-05 15:12:17 -0800 |
| commit | d3e181514726efbfaee8a9aa8c59664e61518988 (patch) | |
| tree | c0a227ce0c582eec24d03c0b4e08d4ea57f38d1b /README.md | |
| parent | angularls: update documentation to note on_init overrides cmd (diff) | |
| download | nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.tar nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.tar.gz nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.tar.bz2 nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.tar.lz nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.tar.xz nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.tar.zst nvim-lspconfig-d3e181514726efbfaee8a9aa8c59664e61518988.zip | |
Add clarification about on_new_config
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -224,7 +224,8 @@ lspconfig.SERVER.setup{config} `function(new_config, new_root_dir)` will be executed after a new configuration has been created as a result of {root_dir} returning a unique value. You can use this as an opportunity to further modify the new_config or use it before it is - sent to |vim.lsp.start_client()|. + sent to |vim.lsp.start_client()|. If you set a custom `on_new_config`, ensure that + `new_config.cmd = cmd` is present within the function body. ``` # Individual server documentation |
