mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 10:15: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
|
### code format
|
||||||
|
|
||||||
The format layer use neoformat as default tool to format code, it will format current file.
|
In order to be able to format C/C++ files, you need to install `uncrustify`, `clangformat` or `astyle`.
|
||||||
And the default key binding is `SPC b f`.
|
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`.
|
||||||
```toml
|
|
||||||
[[layers]]
|
|
||||||
name = "format"
|
|
||||||
```
|
|
||||||
|
|
||||||
### REPL support
|
### REPL support
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user