From 6fb00edaa36fe41b9bd89febf14fd9f170975caa Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Mon, 14 Mar 2022 16:51:21 +0300 Subject: [PATCH] add fileformat option --- config/nvim/lua/user/options.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/nvim/lua/user/options.lua b/config/nvim/lua/user/options.lua index 085761b..60d7d69 100644 --- a/config/nvim/lua/user/options.lua +++ b/config/nvim/lua/user/options.lua @@ -31,6 +31,8 @@ opt.fillchars:append({ eob = " " }) opt.showtabline = 2 opt.showcmd = false opt.guicursor = "a:block,i:ver25" +opt.fileformat = "unix" +opt.fileformats = { "unix", "dos", "mac" } -- if vim.fn.has("win32") == 1 then -- opt.shell = "powershell.exe"