diff options
| author | Marcus Caisey <marcus@teckna.com> | 2026-06-03 16:05:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-03 11:05:33 -0400 |
| commit | be7b24e5432434c44229036344a0116300d29e9a (patch) | |
| tree | 71955e2c2cbc16063828082ab831e646c7eaaee3 /plugin | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.tar nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.tar.gz nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.tar.bz2 nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.tar.lz nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.tar.xz nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.tar.zst nvim-lspconfig-be7b24e5432434c44229036344a0116300d29e9a.zip | |
fix(emmylua_ls): move settings under emmylua section #4447
Problem:
EmmyLua requests configuration from the "emmylua" section, but the
current configuration doesn't expose the settings under that section.
Example request and response:
```json
{
"jsonrpc": "2.0",
"id": 1,
"method": "workspace/configuration",
"params": {
"items": [
{
"scopeUri": "file:///Users/marcus/.dotfiles",
"section": "emmylua"
}
]
}
}
```
```json
{
"result": [
null
],
"id": 1,
"jsonrpc": "2.0"
}
```
Solution:
Move the settings under the "emmylua" section.
After these changes:
```json
{
"jsonrpc": "2.0",
"id": 1,
"method": "workspace/configuration",
"params": {
"items": [
{
"scopeUri": "file:///Users/marcus/.dotfiles",
"section": "emmylua"
}
]
}
}
```
```json
{
"result": [
{
"hint": {
"enable": true
},
"codeLens": {
"enable": true
}
}
],
"id": 1,
"jsonrpc": "2.0"
}
```
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions
