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

Be more flexible with .cxx matching #22

Open
nachogoro opened this issue Sep 20, 2018 · 0 comments
Open

Be more flexible with .cxx matching #22

nachogoro opened this issue Sep 20, 2018 · 0 comments

Comments

@nachogoro
Copy link

I have worked on several codebases which use .h as header file for .cxx files. The plugin currently does not support that. Do you reckon it's a common enough situation that it might be worth updating the plugin so that:

au BufEnter *.cxx  call s:SetVariables('hxx,h',        'reg:/src/include/,reg:|src|include/**|,ifrel:|/src/|../include|')
...
au BufEnter *.h    call s:SetVariables('c,cpp,cxx,m',  'reg:/include/src/,reg:/include.*/src/,ifrel:|/include/|../src|')

?

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

1 participant