diff --git a/rpc.go b/rpc.go index 708a243..0b1bd66 100644 --- a/rpc.go +++ b/rpc.go @@ -43,9 +43,5 @@ func IsLspRPCErrorCode(code int64) bool { return true } - if code == RPCServerNotInitialized || code == RPCUnknownErrorCode { - return true - } - - return false + return code == RPCServerNotInitialized || code == RPCUnknownErrorCode }