Unsure where to look for this, but since this morning every file I create is of type plaintext.
The last thing I did was remove vim to install the gtk-3 version for python support etc. Just Just before this I did make a python, C# and go file simply by using
touch file.<extension type>
What part of linux goes over assigning filetypes? Did I destroy something by building the gtk version of vim?
Update To further specify what I did before it changed. Before installing vim gtk-3 I used the following command to remove my old install
sudo apt remove vim vim-runtime gvim
then I installed the gtk version with
sudo apt install vim-gtk3
Ran PlugInstall in vim, the plugins.
Afterwards I wanted to try it out so I did a
Straight away I noticed the icon was a plaintext, also the description said 'text/plain'. All my old files were still using their respective types. Even when open in a editor the autocomplete suggestions worked.