Updated Configuration Examples and Snippets (markdown)

Jorgen Scott 2017-12-30 07:25:49 +01:00
parent 020a98b4d5
commit 2039cb845e
1 changed files with 3 additions and 2 deletions

@ -117,7 +117,8 @@ call airline#parts#define('linenr', {'function': 'MyLineNumber', 'accents': 'bol
let g:airline_section_z = airline#section#create(['%3p%%: ', 'linenr', ':%3v']) let g:airline_section_z = airline#section#create(['%3p%%: ', 'linenr', ':%3v'])
``` ```
## Integrate with CMake build system ## Integrate with CMake build system
This example adds CMAKE_BUILD_TYPE and a custom defined cmake variable by peeking into the CMakeCache.txt ![](https://github.com/raspine/assets/blob/master/cmakestat_small.png)
This example adds the CMAKE_BUILD_TYPE and a user defined cmake variable by peeking into the CMakeCache.txt
```viml ```viml
function! CMakeStat() function! CMakeStat()
let l:cmake_build_dir = get(g:, 'cmake_build_dir', 'build') let l:cmake_build_dir = get(g:, 'cmake_build_dir', 'build')