➕ C++ Extra
For the CPP Modules, ft_irc and webserv.
Enabling
Select lang.cpp in :FtVimExtras or add:
{ import = "ftvim.plugins.extras.lang.cpp" },
Features
.tppfiles (template implementations) are recognized as C++- Formatting with clang-format (
<leader>cf), installed with Mason - clangd and the C++ treesitter parser come with the core
Together with the 42 extra:
:FtVimClass NamecreatesName.hppandName.cppin Orthodox Canonical Form- The
ocfandcoutsnippets compile_commands.jsonis generated from your Makefile, so clangd uses-std=c++98and your include paths. For projects without a Makefile,:FtVimCompileFlagswrites acompile_flags.txtwith-std=c++98