diff options
author | CppCXY <812125110@qq.com> | 2022-09-28 20:44:25 +0800 |
---|---|---|
committer | CppCXY <812125110@qq.com> | 2022-09-28 20:44:25 +0800 |
commit | 8148c37d33973c6689ab4a5c0895dceec6f6880a (patch) | |
tree | 07a13bc835a203ea07ed525b29753b8c74bb876e /script/core | |
parent | 4bb318f2e0d19e447ca43bc6a252ffb6ecd297d9 (diff) | |
download | lua-language-server-8148c37d33973c6689ab4a5c0895dceec6f6880a.zip |
支持注释
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/view/psi-view.lua | 3 |
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) |