diff --git a/home/common/nvim/default.nix b/home/common/nvim/default.nix index ed1c389..79997f0 100644 --- a/home/common/nvim/default.nix +++ b/home/common/nvim/default.nix @@ -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!" ])