summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua31
1 files changed, 16 insertions, 15 deletions
diff --git a/script/files.lua b/script/files.lua
index 7998ceed..b7a20e8b 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -19,20 +19,20 @@ local sp = require 'bee.subprocess'
local pub = require 'pub'
---@class file
----@field uri uri
----@field content string
----@field ref? integer
----@field trusted? boolean
----@field rows? integer[]
----@field originText? string
----@field text string
----@field version? integer
----@field originLines? integer[]
----@field diffInfo? table[]
----@field cache table
----@field id integer
----@field state? parser.state
----@field compileCount integer
+---@field uri uri
+---@field ref? integer
+---@field trusted? boolean
+---@field rows? integer[]
+---@field originText? string
+---@field text? string
+---@field version? integer
+---@field originLines? integer[]
+---@field diffInfo? table[]
+---@field cache? table
+---@field id integer
+---@field state? parser.state
+---@field compileCount? integer
+---@field words? table
---@class files
---@field lazyCache? lazy-cacher
@@ -725,7 +725,8 @@ end
---@class parser.state
---@field diffInfo? table[]
---@field originLines? integer[]
----@field originText string
+---@field originText? string
+---@field lua? string
--- 获取文件语法树
---@param uri uri