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

Double file extensions #14

Open
godbyk opened this issue Mar 15, 2016 · 1 comment
Open

Double file extensions #14

godbyk opened this issue Mar 15, 2016 · 1 comment

Comments

@godbyk
Copy link

godbyk commented Mar 15, 2016

I use the fswitch plugin all the time and love it.

I occasionally have a Blah.h.in file (which will be partially generated by the build system) which has a corresponding Blah.cpp file. Using autocmd BufEnter *.h.in let b:fswitchdst = 'cpp' lands me in a buffer named Blah.h.cpp instead of the expected Blah.cpp.

Is there any way to suggest to fswitch that it may need to do more work to get the proper basename?

@slycelote
Copy link

I believe that the option fswitchfnames can help you.

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

No branches or pull requests

2 participants