You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK there's no way to request formatting additional extensions, when formating is done on file save.
I'd like to format files like tpp, cxx and hxx, which are sometimes used throughout projects.
BR
The text was updated successfully, but these errors were encountered:
For those extensions, if you have properly setup autocmds[1] (e.g perhaps via autocmd BufRead,BufNewFile *.tpp setfiletype cpp) to detect and set the filetype then g:clang_format#auto_format should still take effect.
Does this cover your needs?
[1]: Currently, it looks like *.cc,*.cpp,*.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl,*.C,*.H,*.tlh are already recognized as filetype cpp by vim/neovim, so that is why I mentioned tpp above.
Hi,
AFAIK there's no way to request formatting additional extensions, when formating is done on file save.
I'd like to format files like tpp, cxx and hxx, which are sometimes used throughout projects.
BR
The text was updated successfully, but these errors were encountered: