From 2039cb845ebd03a417a894776d30424b89d1a494 Mon Sep 17 00:00:00 2001 From: Jorgen Scott Date: Sat, 30 Dec 2017 07:25:49 +0100 Subject: [PATCH] Updated Configuration Examples and Snippets (markdown) --- Configuration-Examples-and-Snippets.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Configuration-Examples-and-Snippets.md b/Configuration-Examples-and-Snippets.md index a30263b..c3ebf8e 100644 --- a/Configuration-Examples-and-Snippets.md +++ b/Configuration-Examples-and-Snippets.md @@ -117,7 +117,8 @@ call airline#parts#define('linenr', {'function': 'MyLineNumber', 'accents': 'bol let g:airline_section_z = airline#section#create(['%3p%%: ', 'linenr', ':%3v']) ``` ## 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 function! CMakeStat() let l:cmake_build_dir = get(g:, 'cmake_build_dir', 'build') @@ -143,4 +144,4 @@ endfunction call airline#parts#define('cmake', {'function': 'CMakeStat'}) let g:airline_section_b = airline#section#create_left(['cmake']) -``` \ No newline at end of file +```