Repository navigation
Limiting the scope of plugin files. - #80
Conversation
after/indent/typescript.vim, after/indent/javascriptreact.vim, and jsx.vim * Not pulling in every indent/javascript.vim file. * Resolves styled-components#75 * Resolves styled-components#76
|
Just to explain a bit on why this fix works: |
|
I unfortunately don't have the time/energy/...desire(?) to test this fully, so I suggest I merge this branch and let the potential issues flow in... Also you are aware, that now with two merged PRs you are the most likely candidate to become the maintainer of this project? (Slightly joking, but not really. 😅 ) |
Previously, we were loading all known javascript files for anything not specifically javascript. Now, we're only referencing the specific plugin files we intend to reference for syntax highlighting and indentation in styled-components. This should resolve any conflicts with other plugins.
sourceinstead ofruntime!(which pulls in every known javascript.vim file for after/indent/ftplugin/etc).