I am working on a project that creates a shader for a GLSL fragment, and so it is, it has a file extension .fs, so vim automatically loads the following syntax when opening a file.
This is usually not a problem, I could just change the syntax with au BufRead, but for some reason, the fourth syntax is loaded first, which completely confused the situation. It adds more characters to the word, which makes syntax and motion highlighting not work as expected.
Is there a way to stop the fourth syntax from loading and load only the specified syntax?
source
share