From 4286c610562bb4dd9d288b47d60bdaf28a70438d Mon Sep 17 00:00:00 2001 From: "Vito G. Graffagnino" Date: Fri, 3 Jun 2022 19:46:30 +0100 Subject: Minor fixes --- lua/user/lua.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lua/user/lua.lua') 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)" -- cgit v1.2.3