Switch to .h/cpp via lsp

I can’t get it to switch to .h/cpp in a split without changing this line in the nvim-lspconfig core. This suggests it’s basic vimscript, but it is not for me :cry:… And I would like to do as much as possible in lua. Any help is greatly appreciated.