Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hoschi opened this issue Feb 12, 2022 · 1 comment
Open

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

hoschi opened this issue Feb 12, 2022 · 1 comment
Labels

Comments

@hoschi
Copy link
Owner

hoschi commented Feb 12, 2022

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.

@timtyrrell
Copy link

timtyrrell commented Feb 13, 2022

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)

@hoschi hoschi pinned this issue Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants