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

Rainbow_csv interferes with syntax of BufExplorer #82

Open
Hans-Guenter opened this issue Jul 3, 2019 · 0 comments
Open

Rainbow_csv interferes with syntax of BufExplorer #82

Hans-Guenter opened this issue Jul 3, 2019 · 0 comments

Comments

@Hans-Guenter
Copy link

Hans-Guenter commented Jul 3, 2019

The hack introduced in rainbow_csv#handle_buffer_enter() of the plugin rainbow_csv on July 1st 2019 (ugly hacks) disables all syntax elements when reentering the Bufexplorer buffer by executing the BufEnter autocommand and therein

execute "set ft=" . ft_hack

because Bufexplorer has not defined a FileType autocommand.

An easy fix for me was to add the autocommand

autocmd FileType bufexplorer call s:SetupSyntax()

to the augroup BufExplorer and remove the call s:SetupSyntax() from the function s:DisplayBufferList().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant