diff options
Diffstat (limited to 'server-beta/src/proto/define.lua')
-rw-r--r-- | server-beta/src/proto/define.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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, |