Merge pull request #27 from Mike325/nvr

Check nvr exists
This commit is contained in:
Dheepak Krishnamurthy
2021-01-21 11:11:58 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ The following are configuration options and their defaults.
let g:lazygit_floating_window_winblend = 0 " transparency of floating window
let g:lazygit_floating_window_scaling_factor = 0.9 " scaling factor for floating window
let g:lazygit_floating_window_corner_chars = ['╭', '╮', '╰', '╯'] " customize lazygit popup window corner characters
let g:lazygit_use_neovim_remote = 1 " for neovim-remote support
let g:lazygit_use_neovim_remote = 1 " fallback to 0 if neovim-remote is not installed
```
Call `:LazyGit` to start a floating window with `lazygit`.

View File

@@ -16,7 +16,7 @@ if !exists('g:lazygit_floating_window_scaling_factor')
endif
if !exists('g:lazygit_use_neovim_remote')
let g:lazygit_use_neovim_remote = 1
let g:lazygit_use_neovim_remote = executable('nvr') ? 1 : 0
endif
if !exists('g:lazygit_floating_window_corner_chars')