I want to go to a vue component file.
Vue component filenames are written in PascalCase:
In html (or in my case
ExampleComponent.vue is instantiated
When my cursor is over
<example-component> I get
E447: Can't find file "container-gallery" in path
In the docs is written:
If the file can't be found, 'includeexpr' is used to modify the name and another attempt is done.
So my Question is how do I use
includeexpr in order to change from
Further research pointed me to the substitute function:
:set includeexpr=substitute(v:fname, ..... )
but then I would need to preprocess the
A hint how to tackle that problem would be highly appreciated.