Skip to content

Commit

Permalink
remove global variable for hierarchy name
Browse files Browse the repository at this point in the history
  • Loading branch information
kohnish committed Mar 27, 2023
1 parent c7a0105 commit ceb9564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/lsc/hierarchy.vim
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def OpenTreeWindow(ignition: dict<any>): void
augroup END

setlocal filetype=yggdrasil
g:vim9_lsc_hierarchy_buf_name = buf_name
setlocal statusline=\ \ %{g:vim9_lsc_hierarchy_buf_name}
b:vim9_lsc_hierarchy_buf_name = buf_name
setlocal statusline=\ \ %{b:vim9_lsc_hierarchy_buf_name}

tree.Tree_update(b:tree, [])
enddef
Expand Down

0 comments on commit ceb9564

Please sign in to comment.