add fileformat support for wsl

This commit is contained in:
fengyuanlin 2025-06-21 14:08:35 -05:00
parent 0e22b20823
commit d42b8d95d6

View file

@ -17,6 +17,7 @@ elseif vim.fn.has("wsl") == 1 then
}, },
cache_enabled = 0, cache_enabled = 0,
} }
vim.opt.fileformat = "unix"
end end
vim.g.copilot_no_tab_map = true vim.g.copilot_no_tab_map = true
vim.o.guifont = "Monaco:h16" vim.o.guifont = "Monaco:h16"