revert: automatically restart lsp server (#128)
semi revert of 7c198a1b36
This commit is contained in:
parent
f599e75963
commit
7764f6e37f
5 changed files with 0 additions and 31 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue