revert: automatically restart lsp server (#128)

semi revert of 7c198a1b36
This commit is contained in:
Oleksandr Smirnov 2025-11-25 17:02:38 +02:00 committed by GitHub
parent f599e75963
commit 7764f6e37f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 0 additions and 31 deletions

View file

@ -33,9 +33,6 @@ local default_config = {
---@type number
installer_timeout = 999999,
-- restart gopls server after commands like `:GoMod`, `:GoGet`, `:GoWork`
restart_lsp = false,
-- user specified paths to binaries
---@class gopher.ConfigCommand
commands = {
@ -101,7 +98,6 @@ function config.setup(user_config)
vim.validate("log_level", _config.log_level, "number")
vim.validate("timeout", _config.timeout, "number")
vim.validate("installer_timeout", _config.timeout, "number")
vim.validate("restart_lsp", _config.restart_lsp, "boolean")
vim.validate("commands", _config.commands, "table")
vim.validate("commands.go", _config.commands.go, "string")
vim.validate("commands.gomodifytags", _config.commands.gomodifytags, "string")