diff options
| author | William Boman <william@redwill.se> | 2021-11-27 15:58:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-27 09:58:00 -0500 |
| commit | d0263c11e53086242eea72cb76db9fecc6fbc449 (patch) | |
| tree | a99053ab3a4db8fee5e71b8e191763e9f6c20ede /lua/lspconfig/util.lua | |
| parent | docs: update adding a new server example (#1499) (diff) | |
| download | nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.tar nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.tar.gz nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.tar.bz2 nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.tar.lz nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.tar.xz nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.tar.zst nvim-lspconfig-d0263c11e53086242eea72cb76db9fecc6fbc449.zip | |
chore: prefix all vim.notify message with [lspconfig] (#1496)
Diffstat (limited to 'lua/lspconfig/util.lua')
| -rw-r--r-- | lua/lspconfig/util.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua index 915396b3..b6780aa9 100644 --- a/lua/lspconfig/util.lua +++ b/lua/lspconfig/util.lua @@ -260,9 +260,10 @@ function M.server_per_root_dir_manager(_make_config) if not new_config.cmd then vim.notify( string.format( - 'Error: cmd not defined for %q. Manually set cmd in the setup {} call according to server_configurations.md, see :help lspconfig-index.', + '[lspconfig] cmd not defined for %q. Manually set cmd in the setup {} call according to server_configurations.md, see :help lspconfig-index.', new_config.name - ) + ), + vim.log.levels.ERROR ) return end |
