mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-13 12:49:10 +08:00
Update c layer doc
This commit is contained in:
parent
2e45e0f06c
commit
77e8ee52c2
@ -10,6 +10,7 @@ description: "This layer is for c/c++/object-c development"
|
||||
|
||||
- [Description](#description)
|
||||
- [Layer Installation](#layer-installation)
|
||||
- [Features](#features)
|
||||
- [Configuration](#configuration)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
@ -20,7 +21,7 @@ This layer is for c/c++/object-c development.
|
||||
|
||||
## Layer Installation
|
||||
|
||||
To use this configuration layer, add `SPLayer 'lang#c'` to your custom configuration file or load layer with custom options.
|
||||
To use this configuration layer, add `call SpaceVim#layers#load('lang#c')` to your custom configuration file.
|
||||
|
||||
```vim
|
||||
call SpaceVim#layers#load('lang#c',
|
||||
@ -30,6 +31,13 @@ call SpaceVim#layers#load('lang#c',
|
||||
\ )
|
||||
```
|
||||
|
||||
## Features
|
||||
|
||||
- code completion
|
||||
- syntax checking
|
||||
- formatting
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
- `clang_executable` (string)
|
||||
|
Loading…
x
Reference in New Issue
Block a user