Hello
Since I updated my system my editor lunarVim frequently crashes when i delete a character.
As you can think this is really annoying.
the log says following:
[START][2025-01-06 00:20:21] LSP logging initiated
[ERROR][2025-01-06 00:20:21] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[ERROR][2025-01-06 00:20:22] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[START][2025-01-06 00:21:15] LSP logging initiated
[ERROR][2025-01-06 00:21:15] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:21:15] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:23:55] LSP logging initiated
[ERROR][2025-01-06 00:23:55] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:23:56] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:24:44] LSP logging initiated
[ERROR][2025-01-06 00:24:44] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:24:44] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:28:03] LSP logging initiated
[ERROR][2025-01-06 00:28:03] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:28:04] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:28:29] LSP logging initiated
[ERROR][2025-01-06 00:28:29] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:28:29] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:28:39] LSP logging initiated
[ERROR][2025-01-06 00:28:39] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:28:39] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:32:09] LSP logging initiated
[ERROR][2025-01-06 00:32:09] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:32:09] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 00:35:35] LSP logging initiated
[ERROR][2025-01-06 00:35:35] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 00:35:36] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 09:43:32] LSP logging initiated
[ERROR][2025-01-06 09:43:32] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[ERROR][2025-01-06 09:43:32] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2025-01-06 10:04:21] LSP logging initiated
[ERROR][2025-01-06 10:04:21] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[START][2025-01-06 10:04:39] LSP logging initiated
[ERROR][2025-01-06 10:04:39] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[START][2025-01-06 10:08:57] LSP logging initiated
[ERROR][2025-01-06 10:08:57] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
[WARN][2025-01-06 10:20:25] ...m/lsp/client.lua:1025 "server_request: no handler found for" "workspace/diagnostic/refresh"
[ERROR][2025-01-06 10:20:25] ...lsp/handlers.lua:623 "Unhandled exception: MethodNotFound\nError: MethodNotFound\n at handleResponse (/home/matt/.local/share/lvim/mason/packages/json-lsp/node_modules/vscode-langservers-extracted/node_modules/vscode-jsonrpc/lib/common/connection.js:595:48)\n at handleMessage (/home/matt/.local/share/lvim/mason/packages/json-lsp/node_modules/vscode-langservers-extracted/node_modules/vscode-jsonrpc/lib/common/connection.js:432:20)\n at Immediate.<anonymous> (/home/matt/.local/share/lvim/mason/packages/json-lsp/node_modules/vscode-langservers-extracted/node_modules/vscode-jsonrpc/lib/common/connection.js:402:30)\n at process.processImmediate (node:internal/timers:491:21)"
[START][2025-01-06 10:22:22] LSP logging initiated
[ERROR][2025-01-06 10:22:22] .../vim/lsp/rpc.lua:770 "rpc" "/home/matt/.local/share/lvim/mason/bin/ruff" "stderr" "Could not start dynamically linked executable: /home/matt/.local/share/lvim/mason/bin/ruff\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
I installed Lvim trough homemanager packages
and the config is the following:
lvim.colorscheme = "onedark"
lvim.plugins = {
{"navarasu/onedark.nvim"},
{"neovim/nvim-lspconfig"},
}
local lspconfig = require('lspconfig')
lspconfig.tsserver.setup({})
Even after deleting all of the config and reloading it in lvim nothing changed.
I am currently on nix Unstable
NixOS 25.05.20241229.88195a9 (Warbler) x86_64