mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update LeaderF settings
This commit is contained in:
parent
5ae2c7d1e0
commit
51c19507b7
@ -71,8 +71,14 @@ endif
|
||||
let g:Lf_DefaultMode = 'NameOnly'
|
||||
|
||||
" Popup window settings
|
||||
let g:Lf_PopupWidth = 0.5
|
||||
let g:Lf_PopupPosition = [0, &columns/4]
|
||||
let w = float2nr(&columns * 0.8)
|
||||
if w > 140
|
||||
let g:Lf_PopupWidth = 140
|
||||
else
|
||||
let g:Lf_PopupWidth = w
|
||||
endif
|
||||
|
||||
let g:Lf_PopupPosition = [0, float2nr((&columns - g:Lf_PopupWidth)/2)]
|
||||
|
||||
" Do not use version control tool to list files under a directory since
|
||||
" submodules are not searched by default.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user