diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-05 15:13:21 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-05 15:13:21 -0800 |
| commit | e9ebec1c6888f099a5cbff85e87f7b6de0209ac7 (patch) | |
| tree | a2c697889a370fc6ee61cba63661325e7bb75e9c | |
| parent | Merge pull request #540 from mjlbach/angularls_fix_documentation (diff) | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.tar nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.tar.gz nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.tar.bz2 nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.tar.lz nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.tar.xz nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.tar.zst nvim-lspconfig-e9ebec1c6888f099a5cbff85e87f7b6de0209ac7.zip | |
Merge pull request #544 from mjlbach/clarify_on_new_config
Add clarification about on_new_config
| -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 |
