mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Move some var inits outside of win init function
This commit is contained in:
@@ -49,7 +49,15 @@ let s:autocommands_done = 0
|
||||
let s:checked_ctags = 0
|
||||
let s:checked_ctags_types = 0
|
||||
let s:ctags_types = {}
|
||||
let s:window_expanded = 0
|
||||
|
||||
let s:new_window = 1
|
||||
let s:is_maximized = 0
|
||||
let s:short_help = 1
|
||||
let s:window_expanded = 0
|
||||
|
||||
" Script-local variable needed since compare functions can't
|
||||
" take extra arguments
|
||||
let s:compare_typeinfo = {}
|
||||
|
||||
|
||||
let s:access_symbols = {
|
||||
@@ -1726,13 +1734,7 @@ function! s:InitWindow(autoclose) abort
|
||||
setlocal statusline=Tagbar
|
||||
endif
|
||||
|
||||
" Script-local variable needed since compare functions can't
|
||||
" take extra arguments
|
||||
let s:compare_typeinfo = {}
|
||||
|
||||
let s:is_maximized = 0
|
||||
let s:short_help = 1
|
||||
let s:new_window = 1
|
||||
let s:new_window = 1
|
||||
|
||||
let w:autoclose = a:autoclose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user