diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-23 00:42:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-23 00:42:10 +0800 |
commit | ec1f746a71dfb981f093bf00322db75d559fd6b6 (patch) | |
tree | 71730d2de455bf7cd8a9481a554a56cddf47f341 /script/files.lua | |
parent | 6e00db5b51646ad91c5ee5598897cad7f8d65915 (diff) | |
download | lua-language-server-ec1f746a71dfb981f093bf00322db75d559fd6b6.zip |
fix optional parameters
Diffstat (limited to 'script/files.lua')
-rw-r--r-- | script/files.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/files.lua b/script/files.lua index d16474fd..22c9ae31 100644 --- a/script/files.lua +++ b/script/files.lua @@ -165,8 +165,8 @@ end --- 设置文件文本 ---@param uri uri ---@param text string ----@param isTrust boolean ----@param callback function +---@param isTrust? boolean +---@param callback? function function m.setText(uri, text, isTrust, callback) if not text then return |