File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33## 2.6.3
44* ` FIX ` new files are not loaded correctly
5+ * ` FIX ` [ #926 ] ( https://github.com/sumneko/lua-language-server/issues/926 )
56
67## 2.6.2
78` 2022-1-25 `
Original file line number Diff line number Diff line change @@ -152,12 +152,12 @@ local Care = util.switch()
152152 return
153153 end
154154 -- 4. 函数的参数 | Function parameters
155- if source .parent and source .parent .type == ' funcargs' then
155+ if loc .parent and loc .parent .type == ' funcargs' then
156156 results [# results + 1 ] = {
157157 start = source .start ,
158158 finish = source .finish ,
159159 type = define .TokenTypes .parameter ,
160- modifieres = define .TokenModifiers .declaration ,
160+ modifieres = loc == source and define .TokenModifiers .declaration or nil ,
161161 }
162162 return
163163 end
You can’t perform that action at this time.
0 commit comments