Skip to content

Commit

Permalink
fix #339
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Jan 4, 2021
1 parent 5852b8d commit 50a1df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 1.9.1
* `CHG` supports `~` in command line
* `FIX` [#339](https://github.com/sumneko/lua-language-server/issues/339)

## 1.9.0
`2020-12-31`
Expand Down
2 changes: 1 addition & 1 deletion script/core/rename.lua
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ local function ofField(source, newname, callback)
else
node = source.node
end
for _, src in ipairs(vm.getFields(node, 0)) do
for _, src in ipairs(vm.getFields(node, 5)) do
ofFieldThen(key, src, newname, callback)
end
end
Expand Down

0 comments on commit 50a1df6

Please sign in to comment.