diff options
author | fesily <fesil@foxmail.com> | 2024-01-19 12:47:06 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2024-01-19 12:47:06 +0800 |
commit | 82c004e0ba166deaca282d2d6cfb8819eb830830 (patch) | |
tree | 29c59a864b9ce08f63b8a5cc89c9e00500b03841 /script/workspace | |
parent | dd49a6dd6afc35a14fba3b675a2d9f1ee2bb7ca4 (diff) | |
download | lua-language-server-82c004e0ba166deaca282d2d6cfb8819eb830830.zip |
recode plugin interface
Diffstat (limited to 'script/workspace')
-rw-r--r-- | script/workspace/scope.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/script/workspace/scope.lua b/script/workspace/scope.lua index da72a1eb..a158c8de 100644 --- a/script/workspace/scope.lua +++ b/script/workspace/scope.lua @@ -125,8 +125,9 @@ function mt:set(k, v) return v end ----@param k string ----@return any +---@generic T +---@param k `T` +---@return T function mt:get(k) return self._data[k] end |