Skip to content
This repository has been archived by the owner on Sep 21, 2019. It is now read-only.

Commit

Permalink
Fix hidden issue.
Browse files Browse the repository at this point in the history
I thought setlocal hidden works on local but it was wrong.
  • Loading branch information
lambdalisue committed Oct 6, 2016
1 parent 46a8413 commit 2cb7e62
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion autoload/gita/content/branch.vim
Expand Up @@ -95,7 +95,7 @@ function! s:on_BufReadCmd(options) abort
" the following options are required so overwrite everytime
setlocal filetype=gita-branch
setlocal buftype=nofile nobuflisted
setlocal nohidden
setlocal bufhidden=wipe
setlocal nomodifiable
call gita#content#branch#redraw()
call gita#util#doautocmd('BufReadPost')
Expand Down
2 changes: 1 addition & 1 deletion autoload/gita/content/diff_ls.vim
Expand Up @@ -157,7 +157,7 @@ function! s:on_BufReadCmd(options) abort
" the following options are required so overwrite everytime
setlocal filetype=gita-diff-ls
setlocal buftype=nofile nobuflisted
setlocal nohidden
setlocal bufhidden=wipe
setlocal nomodifiable
call gita#content#diff_ls#redraw()
call gita#util#doautocmd('BufReadPost')
Expand Down
2 changes: 1 addition & 1 deletion autoload/gita/content/grep.vim
Expand Up @@ -152,7 +152,7 @@ function! s:on_BufReadCmd(options) abort
" the following options are required so overwrite everytime
setlocal filetype=gita-grep
setlocal buftype=nofile nobuflisted
setlocal nohidden
setlocal bufhidden=wipe
setlocal nomodifiable
call gita#content#grep#redraw()
call gita#util#doautocmd('BufReadPost')
Expand Down
2 changes: 1 addition & 1 deletion autoload/gita/content/ls_files.vim
Expand Up @@ -119,7 +119,7 @@ function! s:on_BufReadCmd(options) abort
" the following options are required so overwrite everytime
setlocal filetype=gita-ls-files
setlocal buftype=nofile nobuflisted
setlocal nohidden
setlocal bufhidden=wipe
setlocal nomodifiable
call gita#content#ls_files#redraw()
call gita#util#doautocmd('BufReadPost')
Expand Down
2 changes: 1 addition & 1 deletion autoload/gita/content/ls_tree.vim
Expand Up @@ -93,7 +93,7 @@ function! s:on_BufReadCmd(options) abort
" the following options are required so overwrite everytime
setlocal filetype=gita-ls-tree
setlocal buftype=nofile nobuflisted
setlocal nohidden
setlocal bufhidden=wipe
setlocal nomodifiable
call gita#content#ls_tree#redraw()
call gita#util#doautocmd('BufReadPost')
Expand Down
2 changes: 1 addition & 1 deletion autoload/gita/content/status.vim
Expand Up @@ -113,7 +113,7 @@ function! s:on_BufReadCmd(options) abort
" the following options are required so overwrite everytime
setlocal filetype=gita-status
setlocal buftype=nofile nobuflisted
setlocal nohidden
setlocal bufhidden=wipe
setlocal nomodifiable
call gita#content#status#redraw()
call gita#util#doautocmd('BufReadPost')
Expand Down

0 comments on commit 2cb7e62

Please sign in to comment.