mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
docs(c/c++): update c/c++ tutorial
This commit is contained in:
parent
f8a4655464
commit
6a56c58a1c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user