Emmet support for JSX is somewhat limited in Neovim as it is not able to easily distinguish between when it should provide JSX completions in render methods or CSS completions in styled components or similar CSS-in-JS libraries. If you only care about CSS completions and you are okay with a few config changes, you can make it work pretty easily with an entry_filter for your completions.
Bits and bytes of code
Bytes is my collection of short-form posts, tips, and things I learn as I build software.
Showing results for #vim
ClearThe :GBrowse command from vim-fugitive is a great way to open a file or range in the configured upstream provider (e.g. GitHub). However, it's usually a pain since it opens in the current branch, which is often not pushed.
I use scratch (unnamed) buffers in Vim a fair bit when working with text manipulation for content not saved to a file such as editing some JSON, or building some commands to run from a list of ids. Knowing how to easily create scratch buffers is a must have when using Vim.
In Vim, sometimes I want to jump to a specific column. For example, jumping to column 80 (the print width of the file), to do some reformatting. Thankfully, this is pretty easy using the | command.