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.
2 parents 346062e + 10a0f3d commit 35e397cCopy full SHA for 35e397c
lua/typescript-tools/tsserver_provider.lua
@@ -64,7 +64,7 @@ function TsserverProvider.new(on_loaded)
64
65
assert(util.bufname_valid(bufname), "Invalid buffer name!")
66
67
- local sanitized_bufname = util.path.sanitize(bufname)
+ local sanitized_bufname = vim.fs.normalize(bufname)
68
69
self.root_dir = Path:new(config.get_root_dir(sanitized_bufname, bufnr))
70
self.npm_local_path = find_deep_node_modules_ancestor(sanitized_bufname):joinpath "node_modules"
0 commit comments