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?
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 correspondingBlah.cpp
file. Usingautocmd BufEnter *.h.in let b:fswitchdst = 'cpp'
lands me in a buffer namedBlah.h.cpp
instead of the expectedBlah.cpp
.Is there any way to suggest to fswitch that it may need to do more work to get the proper basename?