Skip to content

Commit de15ddf

Browse files
fix(windows): normalize parser path
1 parent bad7aaa commit de15ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/utils/treesitter/install.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function M.get_parser_locations()
9898
local install_location = nil
9999
local conflicting_parsers = {}
100100
for _, parser in ipairs(installed_org_parsers) do
101-
if parser == parser_path then
101+
if vim.fs.normalize(parser) == vim.fs.normalize(parser_path) then
102102
install_location = parser
103103
else
104104
table.insert(conflicting_parsers, parser)

0 commit comments

Comments
 (0)