nolanderc / glsl_analyzer

Language server for GLSL (autocomplete, goto-definition, formatter, and more)
GNU General Public License v3.0
156 stars 3 forks source link

cant work in neovim #52

Closed Penguin-SAMA closed 6 months ago

Penguin-SAMA commented 6 months ago

I'm using a setup similar to lazyvim with nvimdots on Windows 11. Following issue #51, I've installed and set up vim-glsl, and file types are successfully recognized as glsl. However, it seems that only vim-glsl is working properly, and the features related to glsl-analyzer (like go to definition, formatting, etc.) are not functioning. My configuration is as follows. image this does not print "attached" when i open an .vert or .frag file. When I use 'go to definition,' the following error occurs. image :LspInfo image

nolanderc commented 6 months ago

In vim.fn.executable, it should probably be glsl_analyzer with an underscore.

Penguin-SAMA commented 6 months ago

okay :) i solved it.