I'm currently using the plugin on elementary OS 6.1 (based on Ubuntu focal) stripped of DE, with bspwm in place. I can't however get the plugin to work. presumably it has to do with the GUI, given that you've referenced linux and the i3 variant too.
Current configuration
let g:XkbSwitchEnabled = 1
let g:XkbSwitchLib = '/usr/local/lib/libxkbswitch.so'
let g:XkbSwitchIMappings = ['ru']
The problem turned out to be connected with the library (not the plugin itself) as i came to realize that while invoking its respective cli resulting in this error
I'm currently using the plugin on elementary OS 6.1 (based on Ubuntu focal) stripped of DE, with bspwm in place. I can't however get the plugin to work. presumably it has to do with the GUI, given that you've referenced linux and the i3 variant too.
Current configuration