Leon Bogaert
Leon Bogaert
vscode took me a while... I think the api changed and the documentation isn't updated. Some examples in the repo made that clear: ```["DEBUG",{"request":{"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"languageServerExample":{"maxNumberOfProblems":200,"trace":{"server":"off"}}}}}}]``` So vscode also uses params.settings but...
In the example client this is what does the sending of the LanguageClientOptions: https://github.com/matarillo/vscode-languageserver-csharp-example/blob/master/client/src/extension.ts#L44 I'm going to look at the state in `lsp.jq` and see if I can get that...
@wader how do you want the `_import_env` function to be adjusted? Should I include a search_paths argument? `def _import_env($search_paths):` or maybe add it to the data taken in? `{"include_path":{"start":8,"stop":11,"str":"a", "search_paths":...
That makes sense. I'll give it a go. But not today anymore :)
I made some changes: https://github.com/LeonB/jq-lsp/commit/ddf01365aea7f5fea40f7be282c09375f3ee6e32 Curious what you think about them. Only thing I'm having trouble with is feeding the settings.jqlsp.search_paths into `_import_env` https://github.com/LeonB/jq-lsp/blob/master/lsp/lsp.jq#L447 @wader any pointers how I could...
@wader thanks! I hope I have some time this weekend to work on it!
Worked a bit on it! Sorry I can't work more on it. Your suggested changes worked like a charm! That's the way I went but I wasn't sure that was...
I'm also having the issue with the 425 error but with a very simple client: ``` go package main import ( "crypto/tls" "log" "os" "github.com/jlaffaye/ftp" ) func main() { var...
Using `config.filesystem.follow_current_file.enabled = true` in combination with `position=current` doesn't seem to solve the issue. When opening a a file and then toggling neo-tree, the cursor in neo-tree jumps back to...
The suggestion from @danieljonguitud seemed to work! ``` lua vim.keymap.set({ "n" }, "-", ":Neotree reveal position=current toggle", { desc = "Toggle neotree" }) ``` Now toggling remember the cursor position