elixir-lsp / elixir-lsp/vscode-elixir-ls

Wrong highlighting of nested maps with camel case fields

Open
#438 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
599
Forks
108
PR merge metrics
No merged PRs in 30d

Description

### Environment

* Elixir & Erlang versions (elixir --version):

```
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit:ns]

Elixir 1.17.1 (compiled with Erlang/OTP 27)
```

* Elixir Language Server version: 0.24.2
* Operating system: Windows 10
* Editor or IDE name (e.g. Emacs/VSCode): VSCode
* Editor Plugin/LSP Client name and version: ElixirLS v0.24.2

### Current behavior

Using the dot notation on nested maps with camel case fields result in wrong highlighting of the whole file.

![image](https://github.com/user-attachments/assets/0fee7bbb-9163-4423-8eea-867719fc6bfd)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.