kurokirasama / nushell_sublime_syntax

Nushell syntax highlight for sublime text
MIT License
12 stars 3 forks source link

LSP exit code 101 #3

Closed brian6932 closed 2 months ago

brian6932 commented 11 months ago

I've tried the full path (It's in my path env anyway), building the latest nushell commit (https://github.com/nushell/nushell/commit/1ff8c2d81dea68e90a6a61b68a50a2098b1d6a8a), but no avail

LSP: starting ['nu.exe', '--lsp'] in ~\scoop\apps\sublime-text\current
LSP: nushell crashed (1 / 5 times in the last 180.0 seconds), exit code 101, exception: None
LSP: starting ['nu.exe', '--lsp'] in ~\scoop\apps\sublime-text\current
LSP: nushell crashed (2 / 5 times in the last 180.0 seconds), exit code 101, exception: None
LSP: starting ['nu.exe', '--lsp'] in ~\scoop\apps\sublime-text\current
LSP: nushell crashed (3 / 5 times in the last 180.0 seconds), exit code 101, exception: None
LSP: starting ['nu.exe', '--lsp'] in ~\scoop\apps\sublime-text\current
LSP: nushell crashed (4 / 5 times in the last 180.0 seconds), exit code 101, exception: None
LSP: starting ['nu.exe', '--lsp'] in ~\scoop\apps\sublime-text\current
LSP: nushell crashed (5 / 5 times in the last 180.0 seconds), exit code 101, exception: None
LSP.sublime-settings ```json { "lsp_format_on_save": true, "lsp_code_actions_on_save": { "source.fixAll": true }, "show_symbol_action_links": true, "inhibit_snippet_completions": true, "inhibit_word_completions": true, "show_inlay_hints": true, "log_debug": true, "log_max_size": 0, "clients": { "nushell": { "command": [ "nu.exe", "--lsp" ], "enabled": true, "selector": "source.nu" } } } ```
kurokirasama commented 11 months ago

Hey, I can't really test on windows. But once in a while I do get the message of that the service has stopped, and I have to restart sublime. Not sure if it's a sublime thing or nushell...

brian6932 commented 11 months ago

Not very positive, but this makes the lsp unusable, as it happens the whole time

kurokirasama commented 2 months ago

hey, I don't have this problem anymore with the latest version of nushell, you could try it now

brian6932 commented 2 months ago

LGTM