From a139003e6f239650baaef69f747c7ee9558d0170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 17 Nov 2019 17:36:23 +0800 Subject: rename --- server-beta/src/proto/define.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'server-beta/src/proto/define.lua') diff --git a/server-beta/src/proto/define.lua b/server-beta/src/proto/define.lua index a6ad7e47..2319a219 100644 --- a/server-beta/src/proto/define.lua +++ b/server-beta/src/proto/define.lua @@ -81,6 +81,13 @@ function m.locationLink(uri, range, selection, origin) } end +function m.textEdit(range, newtext) + return { + range = range, + newText = newtext, + } +end + --- 诊断等级 m.DiagnosticSeverity = { Error = 1, -- cgit v1.2.3