Currently in the event that a file has variables set by the file type default settings and has variables set by a .kateconfig file, on initial file opening the variables from the .kateconfig file take precedence. However, when saving the file, variables are updated using the file type settings but the .kateconfig file is not reread, causing variables to change to their file type settings values.
Update the logic such that the file type settings are only reloaded when the file name changes, as is currently done for .kateconfig reading, to ensure that .kateconfig always takes precedence.