Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .vue to 'suffixesadd' #46

Merged
merged 1 commit into from
Jan 22, 2017
Merged

Add .vue to 'suffixesadd' #46

merged 1 commit into from
Jan 22, 2017

Conversation

fvictorio
Copy link
Contributor

This allows navigating between .vue files using gf.

I did it in after/ftplugin instead of ftplugin because that's the way vim-javascript and vim-jsx do it, but I'm not sure about the reason.

@posva
Copy link
Owner

posva commented Jan 22, 2017

Thanks, cool! From what I read, after scripts are executed after any other plugins so it can override other settings

@posva posva merged commit f6694b4 into posva:master Jan 22, 2017
adriaanzon pushed a commit that referenced this pull request Feb 21, 2017
In #46, the question was where to put this option, and why some other
plugins put it in the 'after' directory. Vim-javascript puts it in the
'after' directory because they want to keep the settings in the ftplugin
shipped with Vim, and only add the 'suffixesadd' option. Since Vim
doesn't ship with a Vue plugin, we can safely put this option in ftplugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants