From adb93f97e43702251d48f30972acdd804b0fdef4 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 27 Oct 2021 15:26:56 +0300 Subject: nvim: buku omnifunc --- .config/nvim/after/plugin/autocmds.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/nvim/after/plugin') diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim index 6b95ad4..b361f7c 100644 --- a/.config/nvim/after/plugin/autocmds.vim +++ b/.config/nvim/after/plugin/autocmds.vim @@ -2,3 +2,7 @@ autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif autocmd BufNewFile,BufRead /tmp/neomutt* set noautoindent filetype=mail wm=0 tw=80 + +augroup bukugroup + au! BufRead,BufNewFile,BufEnter buku-edit-* set filetype=buku +augroup END -- cgit v1.2.3-70-g09d2