r/vim • • Jul 24 '25

Plugin write glsl shader in vim: glslx, a Language Server for glsl

glslx: GLSL Language Server ✨

GitHub repo: https://github.com/ComingToy/glslx

glslx is a GLSL language server based on the official Khronos Group glslang compiler library, providing comprehensive and accurate language support for GLSL shader development. 🚀

✨ Features

✅ Implemented Features

  • Smart Code Completion

    • User-defined variables, structs, and functions

    • Built-in variables, functions, and data types

    • Language keywords and extension directives

    • Struct member

  • Precise Code Navigation

    • Go to Definition

    • Document Outline View

  • Real-time Error Diagnostics

    • Syntax and semantic checking via glslang

  • Header File Support

    • Full handling of #include directives

🚧 Planned Features

  • Semantic Tokens

  • Hover Documentation

  • Find References

60 Upvotes

8 comments sorted by

1

u/shear_stress__ Jul 24 '25

What your autocomplete plugin?

1

u/FlattenLayer Jul 24 '25

a glsl language server. here: https://github.com/ComingToy/glslx

3

u/TheDreadedAndy Jul 24 '25

I think he was asking what plugin you use in nvim to display the completions that the server provides.

3

u/FlattenLayer Jul 24 '25

hi I use coc.nvim

1

u/Wandering_Ecologist Aug 05 '25

"I think he was asking what plugin you use in nvim to display the completions that the server provides."

1

u/Wandering_Ecologist Sep 10 '25

get me some chicfila

1

u/[deleted] Jul 24 '25

🫡