We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FIX
1 parent 7b018aa commit a2f5949Copy full SHA for a2f5949
changelog.md
@@ -3,6 +3,7 @@
3
## 2.5.4
4
* `FIX` [#848](https://github.com/sumneko/lua-language-server/issues/848)
5
* `FIX` completion: incorrect cache
6
+* `FIX` hover: always view string
7
8
## 2.5.3
9
`2021-12-6`
script/core/hover/description.lua
@@ -63,7 +63,7 @@ end
63
64
local function asStringView(source, literal)
65
-- 内部包含转义符?
66
- local rawLen = source.finish - source.start - 2 * #source[2] + 1
+ local rawLen = source.finish - source.start - 2 * #source[2]
67
if config.get 'Lua.hover.viewString'
68
and (source[2] == '"' or source[2] == "'")
69
and rawLen > #literal then
0 commit comments