home/nvim: fix a small redundancy

This commit is contained in:
chayleaf 2023-03-15 16:45:02 +07:00
parent 035933f8b2
commit e74887723f

View file

@ -247,10 +247,8 @@
pattern = ["markdown"];
callback = defun (set vim.o.textwidth 72); }
{ event = "BufReadPre";
inherit group;
callback = defun (set vim.o.foldmethod "syntax"); }
{ event = "BufWinEnter";
inherit group;
callback = { buf, ... }:
(bind (vim.filetype.match { inherit buf; }) (filetype: [
(vimcmd "folddoc" [ "foldopen!" ])