diff --git a/docs/_posts/2019-05-10-use-vim-as-a-c-cpp-ide.md b/docs/_posts/2019-05-10-use-vim-as-a-c-cpp-ide.md index b340ca544..aaf026a6b 100644 --- a/docs/_posts/2019-05-10-use-vim-as-a-c-cpp-ide.md +++ b/docs/_posts/2019-05-10-use-vim-as-a-c-cpp-ide.md @@ -114,13 +114,9 @@ lint for C/C++ is `gcc`/`g++`. These commands also read configuration in `.clang ### code format -The format layer use neoformat as default tool to format code, it will format current file. -And the default key binding is `SPC b f`. - -```toml -[[layers]] - name = "format" -``` +In order to be able to format C/C++ files, you need to install `uncrustify`, `clangformat` or `astyle`. +The key binding `SPC b f` is defineded in [format](../layers/format/) layer which is loaded by default. +In this layer, the default format engine is `neoformat`. ### REPL support