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/configs.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/configs.lua')
| -rw-r--r-- | lua/lspconfig/configs.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/lspconfig/configs.lua b/lua/lspconfig/configs.lua index 3ec4072b..56567013 100644 --- a/lua/lspconfig/configs.lua +++ b/lua/lspconfig/configs.lua @@ -104,7 +104,9 @@ function configs.__newindex(t, config_name, config_def) local pseudo_root = util.path.dirname(api.nvim_buf_get_name(0)) M.manager.add(pseudo_root, true) else - vim.notify(string.format('Autostart for %s failed: matching root directory not detected.', config_name)) + vim.notify( + string.format('[lspconfig] Autostart for %s failed: matching root directory not detected.', config_name) + ) end end @@ -217,7 +219,9 @@ function configs.__newindex(t, config_name, config_def) local pseudo_root = util.path.dirname(api.nvim_buf_get_name(0)) id = manager.add(pseudo_root, true) else - vim.notify(string.format('Autostart for %s failed: matching root directory not detected.', config_name)) + vim.notify( + string.format('lspconfig: Autostart for %s failed: matching root directory not detected.', config_name) + ) end if id then |
