Filetype dependent non-filetype commands are only loaded from the project file, not from the user filetype file.

I admit that the wiki article could be clearer when it says:

"As noted before, filetype dependent settings are only considered if the file currently selected in the editor matches the filetype the setting is for. For settings in the filetype file, clearly that is the filetype the settings are in, but for project settings both the filetype and non-filetype dependent settings are stored in the project file."

which is intended to indicate only the project file has those settings.

This was done to retain backward compatibility with the preceeding build settings operation where the user non-filetype settings are loaded from the user config file, not the user filetype file because, after all, they are non-filetype settings.

The reason non-filetype commands were read from system filetype commands was because there was already some hard coded exceptions that checked the filetype and overrode the default "make" commands, so that was removed and it was generalised.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.