From d42b8d95d67ae397821614bab0fdbf9ae5edff3e Mon Sep 17 00:00:00 2001 From: fengyuanlin Date: Sat, 21 Jun 2025 14:08:35 -0500 Subject: [PATCH] add fileformat support for wsl --- lua/config/options.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/config/options.lua b/lua/config/options.lua index ab989f6..97bdbad 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -17,6 +17,7 @@ elseif vim.fn.has("wsl") == 1 then }, cache_enabled = 0, } + vim.opt.fileformat = "unix" end vim.g.copilot_no_tab_map = true vim.o.guifont = "Monaco:h16"