diff options
| author | Teddy Wing | 2015-10-08 00:19:40 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-10-08 00:19:40 -0400 |
| commit | 6bbc69f42dbb52272b9dd4b75f4573f32e82cab9 (patch) | |
| tree | dc6ebd0ed804308de42774865463f46b3c05628a | |
| parent | 78e9b80627d68337ca1894477edd6b0c995dd499 (diff) | |
| download | vim-space-vlaze-6bbc69f42dbb52272b9dd4b75f4573f32e82cab9.tar.bz2 | |
game#SetupWindow: Flesh out buffer settings
Base window/buffer-local settings on:
https://github.com/mattn/invader-vim/blob/f04e7f5e8ac42ae87db6050e64449055206c4054/plugin/invader.vim#L181-L189
Gives us a clean environment to display the game in.
| -rw-r--r-- | autoload/space_vlaze/game.vim | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/autoload/space_vlaze/game.vim b/autoload/space_vlaze/game.vim index cbf5fc0..4c7703b 100644 --- a/autoload/space_vlaze/game.vim +++ b/autoload/space_vlaze/game.vim @@ -22,7 +22,15 @@ endfunction function! space_vlaze#game#SetupWindow() - setlocal bufhidden=delete noswapfile nolazyredraw + setlocal buftype=nofile + setlocal bufhidden=wipe + setlocal noswapfile + setlocal nonumber + setlocal nolist + setlocal nowrap + setlocal nocursorline + setlocal nocursorcolumn + setlocal nolazyredraw endfunction |
