We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cba0d2 commit 8e4993aCopy full SHA for 8e4993a
lua/claudecode/integrations.lua
@@ -10,9 +10,9 @@ end
10
11
function M.get_path_from_tree()
12
local path
13
- if vim.bo.filetype == 'NvimTree' then
14
- path = get_node_path(require('nvim-tree.api').tree.get_node_under_cursor)
15
- elseif vim.bo.filetype == 'neo-tree' then
+ if vim.bo.filetype == "NvimTree" then
+ path = get_node_path(require("nvim-tree.api").tree.get_node_under_cursor)
+ elseif vim.bo.filetype == "neo-tree" then
16
path = get_node_path(require("neo-tree.sources.filesystem").get_node)
17
end
18
return path
0 commit comments