Skip to content

Go-to Definition erring in Nvim #60

@Tobiky

Description

@Tobiky

The Go-to Definition support for the language server is erroring and unable to find the target locations. Looking at the logs and the file reading for the server, it's likely to do with the reliance on the open/close/change file notifications as well as capabilities being enabled.

Here is the log for the transaction lsp.log.

Nvim version:

NVIM v0.11.1
Build type: RelWithDebInfo
LuaJIT 2.1.1741730670

LSP Setup (init.lua):

vim.lsp.config['malls'] = {
    cmd = { "malls", "--stdio" },
    filetypes = { 'mal' },
}
vim.lsp.enable('malls')
vim.lsp.set_log_level 'trace'
require('vim.lsp.log').set_format_func(vim.inspect)

Metadata

Metadata

Assignees

Labels

A-methodsConcerning the existence of, or lack thereof, LSP methodsP-highHigh priorityT-bugA confirmed bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions