hoschi / yode-nvim

Yode plugin for NeoVim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collection of tips to get Yode-Nvim working with other plugins

hoschi opened this issue · comments

The seditors are special buffers of type "acwrite", which may cause problems with other plugins. If you have any tips how to change settings to make a plugin work with the seditors, post them here as a comment.

I leverage the close-buffers glob feature and the session plugin pre-save callback to close them this way:

call plug#begin('~/.config/nvim/plugged')

Plug 'nvim-lua/plenary.nvim'
Plug 'hoschi/yode-nvim'
Plug 'kazhala/close-buffers.nvim'
Plug 'rmagatti/auto-session'

call plug#end()

lua << EOF

require('yode-nvim').setup {}
require('auto-session').setup {
  pre_save_cmds = {"BDelete glob=yode*"}
}

EOF

#7 (comment)