util: Add comment header, declaring s:vars as constant

This commit is contained in:
Christian Brabandt 2019-08-20 22:19:48 +02:00
parent 486b68cb08
commit 15322e41c7
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
scriptencoding utf-8
call airline#init#bootstrap()
" couple of static variables. Those should not change within a session, thus
" can be initialized here as "static"
let s:spc = g:airline_symbols.space
let s:nomodeline = (v:version > 703 || (v:version == 703 && has("patch438"))) ? '<nomodeline>' : ''