joshnajera / godot-vim

VIM bindings for godot 4
MIT License
249 stars 27 forks source link

Support for Shader Editor #32

Open bbb651 opened 3 months ago

bbb651 commented 3 months ago

Would be really useful, even for people who usually use external editors as you need instant feedback when editing and there's currently no support for gdshader in the official LSP.

The actual logic seems pretty straight forward as it uses the exact same editor component, although I'm not sure how or if it's even possible to access it since it's an editor plugin and does not have something like EditorInterface::get_script_editor (there is EditorInterface::is_plugin_enabled which seems useful for conditionally enabling it). In either case having a better api in godot for modifying all text editors would be a lot more scalable and would work with every editor without additional support.