home/nvim: fix a small redundancy
This commit is contained in:
parent
035933f8b2
commit
e74887723f
|
@ -247,10 +247,8 @@
|
||||||
pattern = ["markdown"];
|
pattern = ["markdown"];
|
||||||
callback = defun (set vim.o.textwidth 72); }
|
callback = defun (set vim.o.textwidth 72); }
|
||||||
{ event = "BufReadPre";
|
{ event = "BufReadPre";
|
||||||
inherit group;
|
|
||||||
callback = defun (set vim.o.foldmethod "syntax"); }
|
callback = defun (set vim.o.foldmethod "syntax"); }
|
||||||
{ event = "BufWinEnter";
|
{ event = "BufWinEnter";
|
||||||
inherit group;
|
|
||||||
callback = { buf, ... }:
|
callback = { buf, ... }:
|
||||||
(bind (vim.filetype.match { inherit buf; }) (filetype: [
|
(bind (vim.filetype.match { inherit buf; }) (filetype: [
|
||||||
(vimcmd "folddoc" [ "foldopen!" ])
|
(vimcmd "folddoc" [ "foldopen!" ])
|
||||||
|
|
Loading…
Reference in a new issue