mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-14 14:33:51 -05:00
g:loaded_lightline
This commit is contained in:
@@ -3,9 +3,13 @@
|
||||
" Version: 0.0
|
||||
" Author: itchyny
|
||||
" License: MIT License
|
||||
" Last Change: 2013/08/23 14:19:14.
|
||||
" Last Change: 2013/08/23 14:27:31.
|
||||
" =============================================================================
|
||||
|
||||
if exists('g:loaded_lightline') && g:loaded_lightline
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
@@ -16,5 +20,7 @@ augroup LightLine
|
||||
autocmd CursorMoved,FileType,BufUnload * call lightline#update_once()
|
||||
augroup END
|
||||
|
||||
let g:loaded_lightline = 1
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
Reference in New Issue
Block a user