Check nvr exists
This commit is contained in:
@@ -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_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_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_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`.
|
Call `:LazyGit` to start a floating window with `lazygit`.
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ if !exists('g:lazygit_floating_window_scaling_factor')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:lazygit_use_neovim_remote')
|
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
|
endif
|
||||||
|
|
||||||
if !exists('g:lazygit_floating_window_corner_chars')
|
if !exists('g:lazygit_floating_window_corner_chars')
|
||||||
|
|||||||
Reference in New Issue
Block a user