summaryrefslogtreecommitdiff
path: root/lua/user/lua.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/lua.lua')
-rw-r--r--lua/user/lua.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/user/lua.lua b/lua/user/lua.lua
index c97c178..a37b3e7 100644
--- a/lua/user/lua.lua
+++ b/lua/user/lua.lua
@@ -12,8 +12,6 @@ local function dir_separator()
-- Look at package.config for directory separator string (it's the first line)
if package.config then
return string.match(package.config, '^[^\n]')
- elseif vim.fn.has('win32') == 1 then
- return '\\'
else
return '/'
end
@@ -76,4 +74,4 @@ end
-- Set options to open require with gf
vim.opt_local.include = [=[\v<((do|load)file|require)\s*\(?['"]\zs[^'"]+\ze['"]]=]
-vim.opt_local.includeexpr = "v:lua.find_required_path(v:fname)" \ No newline at end of file
+vim.opt_local.includeexpr = "v:lua.find_required_path(v:fname)"