Skip to content

compare.lua:85: attempt to perform arithmetic on local 'kind1' (a string value) #86

@vackka

Description

@vackka

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions