3 ms·
I haven't used VSCode enough to consider myself knowledgeable about it's syntax highlighting or auto-indentation, so caveat emptor. I use CoC.nvim using the co
by 7786655 6y ago
I haven't used VSCode enough to consider myself knowledgeable about it's syntax highlighting or auto-indentation, so caveat emptor.
I use CoC.nvim using the coc-tsserver plugin to get Typescript completion/jump to definition etc, ALE to get ESLint warnings, HerringtonDarkholme/yats.vim (A Typescript syntax, Neovim comes bundled with this, but the bundled version might be out of date), and maxmellon/vim-jsx-pretty for JSX syntax highlighting and indentation (vim-jsx-pretty's auto indentation is not 100%, but it works well enough).
My colorscheme is tomasiser/vim-code-dark, in case that matters. Example screenshot: https://i.imgur.com/6UzKtU2.png https://i.imgur.com/6UzKtU2.png
- mttrms 6y agoThanks for sharing! My current setup is: Plug 'HerringtonDarkholme/yats.vim' Plug 'mhartington/nvim-typescript', { 'do': './install.sh' } Plug 'pangloss/vim-javascript' Plug 'maxmellon/vim-jsx-pretty' Not too far off, but different. I'll adjust a bit and see how it looks on some production code.