Open
Description
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.