From e31d5f333cf78eae2a01fdc5ee62ac09063671f1 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 15 Sep 2013 09:22:23 -0400 Subject: [PATCH] for the sourcerers out there... (#254) --- doc/airline.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/airline.txt b/doc/airline.txt index 77a27e9..6b59051 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -124,9 +124,13 @@ CUSTOMIZATION *airline-customization* The following are some unicode symbols for customizing the left/right separators, as well as the powerline font glyths. -Note: You must define the dictionary first before setting values: > - let g:airline_symbols = {} -> +Note: You must define the dictionary first before setting values. Also, it's a +good idea to check whether if it exists as to avoid accidentally overwritting +its contents. > + if !exists('g:airline_symbols') + let g:airline_symbols = {} + endif + " unicode symbols let g:airline_left_sep = '»' let g:airline_left_sep = '▶'