styled-components / vim-styled-components

Vim bundle for http://styled-components.com based javascript files.
300 stars 24 forks source link

Adding pro-tip when working with clean buffers #29

Closed shelldandy closed 6 years ago

shelldandy commented 7 years ago

Just some cool info i stumbled upon that might be useful to know in the readme 😉

shelldandy commented 7 years ago

The text I added to the readme is this below: ⬇️

Note: This plugin won't change the syntax if you start with an empty buffer and then add styled-components code, you will need to close the buffer and re-open it so that the styles apply.

A quick way to do that is with this command: :edit! which will do exactly that. You can map that to a shortcut if you wish.

shelldandy commented 6 years ago

I no longer use vim I have fled to Atom so this PR is bound to stay in limbo forever.

Thanks for the plugin tho

fleischie commented 6 years ago

@mike3run sorry to hear that. I hope you enjoy Atom and maybe give some vim-mode plugins a chance. :smile:

:wave:

shelldandy commented 6 years ago

Oh you know it haha full vim mode in my atom, im actually enjoying it a lot