elihunter173 / dirbuf.nvim

A file manager for Neovim which lets you edit your filesystem like you edit text
GNU Affero General Public License v3.0
423 stars 7 forks source link

Invalid option name: dirbuf_show_hidden #32

Closed tex closed 2 years ago

tex commented 2 years ago

Clean installation, nvim-0.6 and I get this anytime I try to rename or create file/folder:

Error detected while processing BufWriteCmd Autocommands for "<buffer=19>":                               
E5108: Error executing lua ...local/share/nvim/site/plugged/dirbuf.nvim/lua/dirbuf.lua:230: Invalid option
 name: 'dirbuf_show_hidden'                                                                               
stack traceback:                                                                                          
        [C]: in function '__index'                                                                        
        ...local/share/nvim/site/plugged/dirbuf.nvim/lua/dirbuf.lua:230: in function 'check_dirbuf'       
        ...local/share/nvim/site/plugged/dirbuf.nvim/lua/dirbuf.lua:308: in function 'sync'               
        [string ":lua"]:1: in main chunk                                               
elihunter173 commented 2 years ago

Fixed.

Sorry about this. This typo should have been caught when I was reviewing my latest batch of changes. I'll be working on expanding the test cases to make sure this stuff gets caught automatically in the future.