helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33.29k stars 2.47k forks source link

Helix stalls to open large sql file #9086

Closed max-pod closed 10 months ago

max-pod commented 10 months ago

Summary

I have a sql file that's 271.7 MB that helix struggles to open. I can open the same file on vim/nvim without issue. I have highlighting enabled for SQL in hx --health

Tried in multiple terminal emulators, all in linux.

Reproduction Steps

I tried this: 1. `hx large_sql_file.sql` I expected this to happen: File to open. Instead, this happened: I remained on ### Helix log
~/.cache/helix/helix.log ``` please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines ``` (no related errors logs)
### Platform Linux ### Terminal Emulator kitty 0.26.5 ### Installation Method brew ### Helix Version helix 23.03 (3cf03723)
max-pod commented 10 months ago

Closed, funny enough after I just upgraded from 23.03 to 23.10, I got this error and helix opened immediately

Bad language config: unknown field config, expected one of name, language-id, scope, file-types, shebangs, roots, comment-token, text-width, soft-wrap, auto-format, formatter, diagnostic-severity, grammar, injection-regex, language-servers, indent, debugger, auto-pairs, rulers, workspace-lsp-roots in language