Skip to content

Commit b4fd80d

Browse files
committed
chore: use luals for style check
1 parent 49f77c9 commit b4fd80d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
style:
3838
runs-on: ubuntu-latest
3939
env:
40+
GITHUB_PATH: luals/bin
4041
VIMRUNTIME: /home/runner/nvim-${{ matrix.nvim_version }}/share/nvim/runtime
4142

4243
concurrency:
@@ -61,8 +62,6 @@ jobs:
6162
mkdir -p luals
6263
curl -L "https://github.com/LuaLS/lua-language-server/releases/download/${{ matrix.luals_version }}/lua-language-server-${{ matrix.luals_version }}-linux-x64.tar.gz" | tar zx --directory luals
6364
64-
- run: echo "luals/bin" >> "$GITHUB_PATH"
65-
6665
- name: make style
6766
run: make style
6867

lua/nvim-tree/explorer/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ function Explorer:populate_children(handle, cwd, node, project, parent)
388388
})
389389
if child then
390390
table.insert(node.nodes, child)
391-
nodes_by_path[child.absolute_path] = true
392-
child:update_git_status(node_ignored, project)
391+
nodes_by_path[child.absolute_path] = true
392+
child:update_git_status(node_ignored, 1)
393393
end
394394
elseif node.hidden_stats then
395395
for reason, value in pairs(FILTER_REASON) do

0 commit comments

Comments
 (0)