I've redone the subtype detection completely in ftdetect.[vim|lua].
This just set the filetype as 'subtype.type' and let vim loads ftplugins and syntax file for both filetype.
I didn't add new versions of vim to the workflow of this MR but ran tests on a separate branch, you can see the results there: https://github.com/shadowwa/vim-puppet/actions/runs/10981471798
With this, I have syntax highlighting + linting from ALE + lsp from COC for the subtype lanquage.
I've redone the subtype detection completely in ftdetect.[vim|lua]. This just set the filetype as 'subtype.type' and let vim loads ftplugins and syntax file for both filetype.
I didn't add new versions of vim to the workflow of this MR but ran tests on a separate branch, you can see the results there: https://github.com/shadowwa/vim-puppet/actions/runs/10981471798 With this, I have syntax highlighting + linting from ALE + lsp from COC for the subtype lanquage.
this should close https://github.com/rodjek/vim-puppet/issues/154 and https://github.com/rodjek/vim-puppet/issues/148