revert: automatically restart lsp server

semi revert of 7c198a1b36
This commit is contained in:
Oleksandr Smirnov 2025-11-24 21:40:39 +02:00
parent f599e75963
commit 547b2f45f0
No known key found for this signature in database
5 changed files with 0 additions and 31 deletions

View file

@ -1,11 +0,0 @@
local lsp = {}
local gopls = "gopls"
-- Restarts gopls server (see: `:h lsp-restart`)
function lsp.restart()
vim.lsp.enable(gopls, false)
vim.lsp.enable(gopls, true)
end
return lsp