derekwyatt / vim-fswitch

Vim plug for switching between companion source files (e.g. ".h" and ".cpp")
179 stars 57 forks source link

Error in documentation #10

Open Sinity opened 9 years ago

Sinity commented 9 years ago

{/code/src/a/b/MyFile.cpp} and has the following set:

let b:fswitchdst = 'h,hpp'
let b:fswitchlocs = 'reg:/src/include/,../include,../inc'

< then the created filename will be {/code/include/a/b/MyFile.cpp}.

It should he rather {/code/include/a/b/MyFile.h}(extension of created file).