diff --git a/lua/dirvish-do/lsp.lua b/lua/dirvish-do/lsp.lua
index 931a380..2756957 100644
--- a/lua/dirvish-do/lsp.lua
+++ b/lua/dirvish-do/lsp.lua
@@ -3,7 +3,7 @@ require('dirvish-do.compat')
 local M = {}
 
 local lsp = vim.lsp
-local sep = require('dirvish-do.operations').sep
+local sep = vim.fn.exists('+shellslash') == 1 and not vim.o.shellslash and '\\' or '/'
 
 ---@param method string
 ---@param params table