grafana / grafana/jsonnet-language-server

`nvim-lspconfig` not detecting `jsonnet_ls` on file-open

Open
#107 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
223
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Followed guide [here](https://github.com/grafana/jsonnet-language-server/tree/main/editor/vim#jsonnet-language-server-integration-for-vim) for nvim-lspconfig, then installed `jsonnet_ls` using `LspInstall`.

`LspInfo` does recognize the `jsonnet_ls` config, but the filetype is not detected.

Also followed the steps outlined in the [nvim-lspconfig server config doc](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#jsonnet_ls).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the nvim-lspconfig setup from the linked Jsonnet language-server Vim guide and the server configuration documentation, using LspInstall and LspInfo. Check why the filetype is not detected when a Jsonnet file opens; done means jsonnet_ls is recognized and starts automatically for the relevant filetype.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.