j-morano / buffer_manager.nvim

A simple plugin to easily manage Neovim buffers.
MIT License
241 stars 12 forks source link

fix : show short_file_name properly in Windows #35

Open Jaehaks opened 6 months ago

Jaehaks commented 6 months ago

/// Problem: #32

1) Set configuration doesn't be applied in M.toggle_quick_menu() It makes short_file_name option don't work 2) The number of slash('/') doesn't show properly in short_file_name mode. On Windows, sometimes the file path has both '/' and '\' as delimiter because of neovim inherit problem.

/// Solution:

1) call get_config() function in toggle_quick_menu again. 2) On Windows, backslash of file path in buffer list is replaced by '/'