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 2
2
3
3
## 2.6.3
4
4
* ` FIX ` new files are not loaded correctly
5
+ * ` FIX ` [ #926 ] ( https://github.com/sumneko/lua-language-server/issues/926 )
5
6
6
7
## 2.6.2
7
8
` 2022-1-25 `
Original file line number Diff line number Diff line change @@ -152,12 +152,12 @@ local Care = util.switch()
152
152
return
153
153
end
154
154
-- 4. 函数的参数 | Function parameters
155
- if source .parent and source .parent .type == ' funcargs' then
155
+ if loc .parent and loc .parent .type == ' funcargs' then
156
156
results [# results + 1 ] = {
157
157
start = source .start ,
158
158
finish = source .finish ,
159
159
type = define .TokenTypes .parameter ,
160
- modifieres = define .TokenModifiers .declaration ,
160
+ modifieres = loc == source and define .TokenModifiers .declaration or nil ,
161
161
}
162
162
return
163
163
end
You can’t perform that action at this time.
0 commit comments