Fix bug with large buffers being resized incorrectly in Lev
Add folding ranges for more AST types (#680)