From 1d76f7f6669bd21020127d2a9faf769e41c57537 Mon Sep 17 00:00:00 2001 From: juan Date: Mon, 21 Nov 2022 10:46:22 +0800 Subject: [PATCH] Fix a bug that lsp server doesn't attach --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 8faab0c..9e7bf71 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -72,7 +72,7 @@ return require('packer').startup(function(use) } -- formating and editing - use { "williamboman/mason.nvim", event = "UIEnter" } + use { "williamboman/mason.nvim", event = 'BufEnter'} use { 'windwp/nvim-autopairs', after = 'nvim-cmp',