4 ms·
Same exact experience here. Like, I could never get ES6 highlighting to work in Vim. Just flat out didn't work, so all non-ES5 code I write looks terrible. Coul
by Touche 10y ago
Same exact experience here. Like, I could never get ES6 highlighting to work in Vim. Just flat out didn't work, so all non-ES5 code I write looks terrible. Could be a conflict with my theme or something else. I don't know, or care to do the work to figure it out.
I used Vim for a good 5 years. I still miss many things about it, but a shitty default UX is not one of them.
- fredsir 10y agoI feel ya. tmux+vim looks terrible compared to for example VSCode. Problem is that VSCode just works much worse (for me at least) for editing code, navigation, running commands and so on, and I'd rather have an ugly editor that works great, than the opposite.
- syncopatience 10y agoFor anyone else who happens by and has the same issue, vim had (has?) substandard syntax highlighting for javascript. Pulling in pangloss's vim-javascript (https://github.com/pangloss/vim-javascript https://github.com/pangloss/vim-javascript) fixed that up for me. If you write JSX, you can pull in https://github.com/mxw/vim-jsx https://github.com/mxw/vim-jsx to get great highlighting for that too.
- Touche 10y agoI of course use vim-javascript. This didn't fix the issue for me. An issue with the color scheme I use I suppose.
- ika 10y agoYeah exactly... Main objective is just to write code, nothing more. No editor is perfect for me atm, VSCode eats my battery and it lacks some features but at least I'm only focused on writing code and having features that actually work...