Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find URI color scheme #82

Open
vssukharev opened this issue Oct 6, 2024 · 4 comments
Open

Could not find URI color scheme #82

vssukharev opened this issue Oct 6, 2024 · 4 comments

Comments

@vssukharev
Copy link

Description
LSP suddenly stops with a message: Could not find URI color scheme in neovim

To Reproduce
Steps to reproduce the behavior:

  1. Import any .c3l library (for example, sdl2 from vendor repo)
  2. Type something
  3. Get an error

Expected behavior
No error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: NixOS
  • Editor: Neovim
  • Version: 0.3.2

Additional context
Neovim :LspLog:
[ERROR][2024-10-06 10:55:39] .../vim/lsp/rpc.lua:770 "rpc" "/nix/store/b3dd09bxczhmf0hdhmi5l2y19a7732yz-c3-lsp-0.3.2/bin/c3-lsp" "stderr" '2024/10/06 10:55:39.955 DEBUG [C3-LSP:rpc] jsonrpc2: <-- notif: textDocument/publishDiagnostics: {"uri":"/home/starleks/coding/probe/c3/vlk_tutorial/src/main.c3","diagnostics":[]}\n'

@pherrymason
Copy link
Owner

Are you sure this is not a neovim or a neovim plugin error?
LSP is not doing not providing anything related to color scheme

@vssukharev
Copy link
Author

Here is the actual error
image

@vssukharev
Copy link
Author

It seems like an issue with URI request: "uri":"/home/starleks/coding/probe/c3/vlk_tutorial/src/main.c3". I mean, shouldn't LSP add file:// before file name? So the actual URI path must be: "file:///home/starleks/coding/probe/c3/vlk_tutorial/src/main.c3"

@pherrymason
Copy link
Owner

Now it makes more sense to me. Will review this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants