Closed ebengt closed 2 years ago
The error is misleading. You need to add some filename handlers, like this:
[[FilenameHandlers]]
Pattern = "\\.go$"
ServerKey = "gopls"
Thank you. Yes, it might have been helpful if the error message had been about filename handlers. Now that I know, I can see from the example of how to start without config file, that file name handlers are needed.
Is the format of the config documented? I would like to add the .mod and .sum files from the cli example.
The config file is defined by this struct: https://pkg.go.dev/github.com/fhs/acme-lsp@v0.10.0/internal/lsp/acmelsp/config#File The README has an example of how to add go.mod and go.sum: https://github.com/fhs/acme-lsp#gopls
Thank you very much. I apologise for missing that in the README.
Greetings, How should I find out why the config file is not read? It is such a basic thing that it is unlikely to be acme-lsp that is at fault. However, how do I find out what I am doing wrong?
Config file (renamed to work with attaching file, it is called config.toml) config.txt