I submitted a pull request that fixes opening splits in the callback. But neovim fails to detect the filetype of the file opened in the split. I have to run 'filetype detect' to fix it, like this:
function! OpenConfigurationFileInSplit(name_index, name) abort
if a:name_index >= 0
execute "tabedit " . g:my_config_dir . a:name
filetype detect
endif
endfunction
function! SelectAndOpenConfigurationFile() abort
call actionmenu#open(["init.vim", "plugins.vim"], 'OpenConfigurationFileInSplit')
endfunction
I submitted a pull request that fixes opening splits in the callback. But neovim fails to detect the filetype of the file opened in the split. I have to run 'filetype detect' to fix it, like this: