summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2022-09-28 20:44:25 +0800
committerCppCXY <812125110@qq.com>2022-09-28 20:44:25 +0800
commit8148c37d33973c6689ab4a5c0895dceec6f6880a (patch)
tree07a13bc835a203ea07ed525b29753b8c74bb876e
parent4bb318f2e0d19e447ca43bc6a252ffb6ecd297d9 (diff)
downloadlua-language-server-8148c37d33973c6689ab4a5c0895dceec6f6880a.zip
支持注释
-rw-r--r--script/core/view/psi-view.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/core/view/psi-view.lua b/script/core/view/psi-view.lua
index c0653b00..86089dd4 100644
--- a/script/core/view/psi-view.lua
+++ b/script/core/view/psi-view.lua
@@ -24,9 +24,6 @@ local function toPsiNode(astNode, state)
if not astNode then
return
end
- if astNode.type == "doc" then
- return
- end
local startOffset = guide.positionToOffset(state, astNode.start)
local finishOffset = guide.positionToOffset(state, astNode.finish)