From d0263c11e53086242eea72cb76db9fecc6fbc449 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 27 Nov 2021 15:58:00 +0100 Subject: chore: prefix all vim.notify message with [lspconfig] (#1496) --- lua/lspconfig/util.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/lspconfig/util.lua') 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 -- cgit v1.2.3-70-g09d2