My 5 year old macbook pro handles the development version of jquery (10,309 loc) with syntax highlighting just fine. It can be (a bit) janky when scrolling through the whole thing, but it's not very noticeable. Local edits / search are as fast as vim.