Upstream the GLSL syntax files from https://github.com/tikhomirov/vim-glsl. I've added myself as maintainer with a link to the upstream repo.
The only differences from upstream are:
'formatoptions'
in the indent file. If anything, these should go into a ftplugin
file, not an indent
file, but since these particular settings are subjective and not required for the filetype, I just removed it.after/syntax
files. The upstream repo contains some after/syntax
files to modify HTML and Elm filetypes to include inline GLSL. We could modify the html and elm syntax files in Vim to include this, but I opted to leave those alone and just omit them (I'll leave this to Vim maintainers on how they want to address this).There was a conflict in the .comp
extension between GLSL and the "Mason" filetype. The .comp
extension for mason was added in August 2014. There are not many details about that proposed change: the submitter said only that .comp files denote Mason components. However, the upstream Mason documentation claims that component files use only .mc
, .mi
, and .mp
extensions. I could not find any search results indicating that the .comp
extension is used for anything related to Mason (or indeed, for anything at all other than GLSL), so I think it is safe to remove this conflict in favor of GLSL.
https://github.com/vim/vim/pull/15317
(4 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.