diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-16 00:32:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-16 00:32:04 +0800 |
commit | 82a759024b87ccd2aa828faef214a43ac18dacb5 (patch) | |
tree | 598cee32157e2a6ceee2336bea6829374d863464 | |
parent | 8b315d6f1d1ed2e680014841b84c3a768a136bd9 (diff) | |
download | lua-language-server-82a759024b87ccd2aa828faef214a43ac18dacb5.zip |
inlay hint is enabled by default
-rw-r--r-- | .luarc.json | 3 | ||||
-rw-r--r-- | .vscode/launch.json | 2 | ||||
-rw-r--r-- | script/config/config.lua | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/.luarc.json b/.luarc.json index 7be0e621..993be427 100644 --- a/.luarc.json +++ b/.luarc.json @@ -36,8 +36,5 @@ "script/meta", "bin" ] - }, - "hint": { - "enable": true } } diff --git a/.vscode/launch.json b/.vscode/launch.json index 59325875..e6811966 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -26,7 +26,7 @@ "type": "lua", "request": "attach", "stopOnEntry": false, - "address": "127.0.0.1:11429", + "address": "127.0.0.1:11413", "outputCapture": [ ], "sourceMaps": [ diff --git a/script/config/config.lua b/script/config/config.lua index bde214b0..c18a7fdf 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -201,7 +201,7 @@ local Template = { ['Lua.semantic.variable'] = Type.Boolean >> true, ['Lua.semantic.annotation'] = Type.Boolean >> true, ['Lua.semantic.keyword'] = Type.Boolean >> false, - ['Lua.hint.enable'] = Type.Boolean >> false, + ['Lua.hint.enable'] = Type.Boolean >> true, ['Lua.hint.paramType'] = Type.Boolean >> true, ['Lua.hint.setType'] = Type.Boolean >> false, ['Lua.hint.paramName'] = Type.String >> 'All', |