summaryrefslogtreecommitdiff
path: root/server/src/files/file.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-14 11:35:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-14 11:35:52 +0800
commit6b51351ecf215a09609e63a17209ac8757cc3844 (patch)
treecc014b6beb7438be735168a3eecf2792bf393627 /server/src/files/file.lua
parenta1a5e4da0d5b1f994117d8e51ea7e105cca7d049 (diff)
downloadlua-language-server-6b51351ecf215a09609e63a17209ac8757cc3844.zip
多行注释支持折行
Diffstat (limited to 'server/src/files/file.lua')
-rw-r--r--server/src/files/file.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/files/file.lua b/server/src/files/file.lua
index 61f62a00..81aabba5 100644
--- a/server/src/files/file.lua
+++ b/server/src/files/file.lua
@@ -100,6 +100,10 @@ function mt:getLines()
return self._lines
end
+function mt:getComments()
+ return self.comments
+end
+
---@return file
function mt:getParent()
return self._parent