1348
submitted 1 month ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 7 points 1 month ago

4.2 megs on one line? Vim probably can handle it fine, although syntax won't be highlighted past a certain point

[-] [email protected] 5 points 1 month ago

I've accidentally opened enormous single line json files more than once. Could be lsp config or treesitter or any number of things but trying to do any operations after opening such a file is not a good time.

[-] [email protected] 1 points 1 month ago

Yeah, very well may be. LSPs always slow down opening big files, so I usually inspect those with an empty/different config

[-] [email protected] 3 points 1 month ago

Technically every JSON file is a single line, with line break characters here and there

this post was submitted on 14 May 2024
1348 points (99.1% liked)

Programmer Humor

31214 readers
1237 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS