From 8148c37d33973c6689ab4a5c0895dceec6f6880a Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Wed, 28 Sep 2022 20:44:25 +0800 Subject: =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/core/view/psi-view.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'script') 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) -- cgit v1.2.3