AstroNvim / AstroNvim

AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
https://AstroNvim.com
GNU General Public License v3.0
12.67k stars 924 forks source link

Neovim window crowded by errors when language server fails #1822

Closed eljost closed 1 year ago

eljost commented 1 year ago

Checklist

Operating system/version

Linux 5.10.177-1-MANJARO

Terminal/GUI

Gnome Terminal

AstroNvim Health

============================================================================== astronvim: require("astronvim.health").check()

AstroNvim ~

============================================================================== gitsigns: require("gitsigns.health").check()

============================================================================== lazy: require("lazy.health").check()

lazy.nvim ~

============================================================================== mason: require("mason.health").check()

mason.nvim ~

mason.nvim [Registries] ~

mason.nvim [Core utils] ~

mason.nvim [Languages] ~

mason.nvim [GitHub] ~

============================================================================== null-ls: require("null-ls.health").check()

============================================================================== nvim: require("nvim.health").check()

Configuration ~

Runtime ~

Performance ~

Remote Plugins ~

terminal ~

tmux ~

============================================================================== nvim-treesitter: require("nvim-treesitter.health").check()

Installation ~

OS Info: { machine = "x86_64", release = "5.10.177-1-MANJARO", sysname = "Linux", version = "#1 SMP PREEMPT Wed Apr 5 09:56:50 UTC 2023" } ~

Parser/Features H L F I J

============================================================================== provider: health#provider#check

Clipboard (optional) ~

Python 3 provider (optional) ~

Python virtualenv ~

Ruby provider (optional) ~

Node.js provider (optional) ~

Perl provider (optional) ~

============================================================================== vim.lsp: require("vim.lsp.health").check()

vim.lsp: Active Clients ~

============================================================================== vim.treesitter: require("vim.treesitter.health").check()

============================================================================== which-key: require("which-key.health").check()

WhichKey: checking conflicting keymaps ~

Describe the bug

Dear AstroNvim developers,

I'm developing a python project that contains quite some amount of generated python code that comprises very long/big functions. It seems like at some point pyright crashes/chokes on some files. After opening a file in my project the number of analyzed files grows over time but at some point a yellow error boy appears, telling me that some client crashed ("Client 1 quit with exit code 0 and signal 6") and the number of analyzed files does not grow anymore. Then the editor window is flooded with error messages, making AstroNvim unusable.

Below you can see the output of $HOME/.local/state/nvim/lsp.log

[WARN][2023-04-26 09:21:28] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:21:30] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:21:36] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:21:37] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:21:47] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:21:48] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:21:50] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:22:49] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:22:52] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:23:03] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:23:04] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:23:06] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:23:40] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:23:43] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:23:45] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:24:57] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "\n<--- Last few GCs --->\n\n[422770:0x55c883df5fd0]   124837 ms: Mark-Compact (reduce) 2042.9 (2081.4) -> 2041.9 (2081.6) MB, 1478.9 / 0.0 ms  (average mu = 0.237, current mu = 0.014) allocation failure; scavenge might not succeed\n[422770:0x55c883df5fd0]   127208 ms: Mark-Compact (reduce) 2043.5 (2082.1) -> 2042.7 (2082.4) MB, 2085.7 / 0.0 ms  (average mu = 0.170, current mu = 0.120) allocation failure; GC in old space requested\n\n\n<--- JS stacktrace --->\n\nFATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 1: 0x7f9419407dfd node::Abort() [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 2: 0x7f94190e1929 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 3: 0x7f94197cef64 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 4: 0x7f94197cf358 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 5: 0x7f94199c1a3c  [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 6: 0x7f94199dc224 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 7: 0x7f94199b7217 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 8: 0x7f94199b843a v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 9: 0x7f941999b6cf v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "10: 0x7f9419d7c1ad v8::internal::Runtime_AllocateInOldGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:27:06] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "11: 0x7f94196ca3f9  [/usr/bin/../lib/libnode.so.111]\n"
[WARN][2023-04-26 09:28:36] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:37] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:39] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:40] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:42] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:44] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:48] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:49] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:50] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:51] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:51] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:52] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:53] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:54] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:28:55] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:29:30] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:29:39] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:29:42] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:29:45] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:29:46] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:30:00] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:30:01] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:30:04] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:30:05] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:30:06] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:31:38] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:31:54] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:32:03] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:32:07] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:32:31] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[START][2023-04-26 09:36:16] LSP logging initiated
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "\n<--- Last few GCs --->\n\n[424699:0x56278e0d0fd0]   129974 ms: Mark-Compact (reduce) 2042.4 (2081.7) -> 2041.4 (2081.4) MB, 1739.0 / 0.0 ms  (average mu = 0.248, current mu = 0.019) allocation failure; scavenge might not succeed\n[424699:0x56278e0d0fd0]   132398 ms: Mark-Compact (reduce) 2043.0 (2082.2) -> 2042.3 (2082.4) MB, 2137.6 / 0.0 ms  (average mu = 0.178, current mu = 0.118) allocation failure; GC in old space requested\n\n\n<--- JS stacktrace --->\n\nFATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 1: 0x7f4fcc6e5dfd node::Abort() [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 2: 0x7f4fcc3bf929 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 3: 0x7f4fccaacf64 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 4: 0x7f4fccaad358 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 5: 0x7f4fccc9fa3c  [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 6: 0x7f4fcccba224 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 7: 0x7f4fccc95217 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 8: 0x7f4fccc9643a v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 9: 0x7f4fccc796cf v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "10: 0x7f4fcd05a1ad v8::internal::Runtime_AllocateInOldGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:36:16] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "11: 0x7f4fcc9a83f9  [/usr/bin/../lib/libnode.so.111]\n"
[WARN][2023-04-26 09:38:24] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:41:26] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[WARN][2023-04-26 09:41:28] .../lua/vim/lsp.lua:101 "method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer"
[START][2023-04-26 09:43:42] LSP logging initiated
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "\n<--- Last few GCs --->\n\n[426973:0x55b5ab299fd0]   125192 ms: Mark-Compact (reduce) 2042.5 (2081.4) -> 2041.5 (2081.4) MB, 1490.6 / 0.0 ms  (average mu = 0.231, current mu = 0.011) allocation failure; scavenge might not succeed\n[426973:0x55b5ab299fd0]   127583 ms: Mark-Compact (reduce) 2043.4 (2082.2) -> 2042.5 (2082.4) MB, 2387.1 / 0.0 ms  (average mu = 0.098, current mu = 0.002) allocation failure; scavenge might not succeed\n\n\n<--- JS stacktrace --->\n\nFATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 1: 0x7fcec34a8dfd node::Abort() [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 2: 0x7fcec3182929 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 3: 0x7fcec386ff64 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 4: 0x7fcec3870358 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 5: 0x7fcec3a62a3c  [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 6: 0x7fcec3a7d224 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 7: 0x7fcec3a58217 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 8: 0x7fcec3a5943a v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    " 9: 0x7fcec3a3c6cf v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "10: 0x7fcec3e1cf71 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/../lib/libnode.so.111]\n"
[ERROR][2023-04-26 09:43:42] .../vim/lsp/rpc.lua:734    "rpc"   "pyright-langserver"    "stderr"    "11: 0x7fcec376b3f9  [/usr/bin/../lib/libnode.so.111]\n"

There is proably something to be done on my side to exclude the big files and to fiddle around with pyright, but a LS-crash should not render the editor unusable.

Steps to Reproduce

  1. Setup AstroNvim with pyright
  2. Clone my project git@github.com:eljost/pysisyphus.git and checkout the wigner branch
  3. Open any python file in the project and wait until pyright crashes
  4. See the editor window fill up

Expected behavior

Don't flood the editor window with error messages, as this makes the editor fully unusable.

Screenshots

client_exited

astronvim_error

Additional Context

There is proably something to be done on my side to exclude the big files and to fiddle around with pyright, but a LS-crash should not render the editor unusable.

mehalter commented 1 year ago

This definitely a good thing for us to have and I've been avoiding adding this tooling 😅 I just added a push to nightly that resolves this issue. Also good because this will set us further apart from all of the other neovim distributions as well 😄

eljost commented 1 year ago

Thanks for the quick fix. It works.