olimorris / persisted.nvim

💾 Simple session management for Neovim with git branching, autoloading and Telescope support
MIT License
437 stars 26 forks source link

Fix autoload buffers #49

Closed olimorris closed 1 year ago

olimorris commented 1 year ago

Hey @akinsho. Made a first attempt at #46.

I'm getting the same issue as #12, whereby when it autoloads, no syntax highlight is visible in the first buffer until you do :e. No idea why this is the case

olimorris commented 1 year ago

Alright we should be close to fully working now. This resolved the issues on my end. I moved the autocmds to the plugins/persisted.lua file which makes a whole lot more sense.

I just need to check if the ignoring of directories for autoloading still works as the test is failing for that.

olimorris commented 1 year ago

@akinsho this should be good to go now. If you could have a final test and let me know 👍🏼

akinsho commented 1 year ago

Just tested it locally and it works like a charm. Thanks @olimorris