summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-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)