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

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.

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

BaldProphet
link
fedilink
34M

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

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.2K Comments
  • Modlog