I installed glsl_analyzer for neovim by following the steps in README, but when I open any glsl file and start typing I get this error:
~/.local/share/nvim/lazy/nvim-cmp/lua/cmp/config/compare.lua:85: attempt to perform arithmetic on local 'kind1' (a string value)
here is my init.lua snippet for glsl_analyzer:
-- glsl
require'lspconfig'.glsl_analyzer.setup{}
vim.filetype.add({
extension = {
["vert"] = "glsl",
["tesc"] = "glsl",
["tese"] = "glsl",
["frag"] = "glsl",
["geom"] = "glsl",
["comp"] = "glsl",
["vs"] = "glsl",
["fs"] = "glsl",
},
})
Please help, thanks!
I installed glsl_analyzer for neovim by following the steps in README, but when I open any glsl file and start typing I get this error:
~/.local/share/nvim/lazy/nvim-cmp/lua/cmp/config/compare.lua:85: attempt to perform arithmetic on local 'kind1' (a string value)
here is my init.lua snippet for glsl_analyzer:
Please help, thanks!