From d3e7e17d4013ceb57104b852f34f58610c6c6842 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 15 Aug 2022 03:19:23 +0200 Subject: [PATCH] nvim: don't format numbered lists --- .config/nvim/lua/my/settings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/lua/my/settings.lua b/.config/nvim/lua/my/settings.lua index 308fe0e..e43f768 100644 --- a/.config/nvim/lua/my/settings.lua +++ b/.config/nvim/lua/my/settings.lua @@ -19,6 +19,7 @@ vim.o.mouse = '' -- make use of mouse in these modes vim.o.pumheight = 10 -- maximum entries in popup menu vim.o.smartindent = true -- indent after { and so on vim.o.statusline = '%<%f %h%m%r%=%-16.(%l,%c%V (%P)%)%y' +vim.o.formatoptions = vim.o.formatoptions .. 'n' vim.cmd([[command! -narg=1 -complete=help Hv vert help ]]) vim.cmd([[command! -narg=1 -complete=help Ht tab help ]])