LanguageServer.jl icon indicating copy to clipboard operation
LanguageServer.jl copied to clipboard

Variables defined via @enum not recognized

Open jlbosse opened this issue 3 years ago • 0 comments

Currently, variables that are defined via @enum are marked as Missing Reference.

Current behaviour:

@enum MyEnum A=0 B=1 C=2 D=3     ■■■■ Missing reference: D
enumarray = [A, B, B, A]     ■■■■ Missing reference: A

Desired behaviour:

@enum MyEnum A=0 B=1 C=2 D=3
enumarray = [A, B, B, A]

and ideally autocompletion etc also work for MyEnum.

My setup I am using LanguageServer.jl v4.2 with the nvim v0.6.0 and the nvim-lsp plugin.

jlbosse avatar Dec 29 '21 10:12 jlbosse