numirias / semshi

🌈 Semantic Highlighting for Python in Neovim
1.03k stars 34 forks source link

Reset autocommands in `semshi#buffer_attach` #92

Closed blueyed closed 3 years ago

blueyed commented 4 years ago

When a buffer gets unloaded (e.g. :bdelete), b:semshi_attached will not be there anymore when the buffer gets loaded/used again. This typically happens with vim-fugitive, when using :Gdiff.