Skip to content

Commit 2557981

Browse files
committed
Update Vital modules
1 parent 20fbe73 commit 2557981

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

autoload/vital/_fern/App/Action.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ function! s:list(...) abort
108108
let conceal = a:0 ? a:1 : v:true
109109
let l:Sort = { a, b -> s:_compare(a[1], b[1]) }
110110
let rs = split(execute('nmap'), '\n')
111+
call filter(rs, {_, v -> match(v, '^n') != -1})
111112
call map(rs, { _, v -> v[3:] })
112113
call map(rs, { _, v -> matchlist(v, '^\([^ ]\+\)\s*\*\?@\?\(.*\)$')[1:2] })
113114

autoload/vital/_fern/App/WindowLocator.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ let s:conditions = [
1616
\ { wi -> !getbufvar(wi.bufnr, '&previewwindow', 0) },
1717
\]
1818

19+
" Add condition to check if the window is floating
20+
if exists('*nvim_win_get_config')
21+
call add(s:conditions, { wi -> nvim_win_get_config(wi.winid).relative !=# '' })
22+
endif
23+
1924
function! s:score(winnr) abort
2025
let winid = win_getid(a:winnr)
2126
let wininfo = getwininfo(winid)

autoload/vital/fern.vital

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fern
2-
5591eeba1bdae8e615c6460be211ea6e88d95c05
2+
1f5becb7cfdb83ebe3af9228038d7714cf088726
33

44
App.Spinner
55
Async.CancellationTokenSource

0 commit comments

Comments
 (0)