Skip to content

Commit

Permalink
🎨refactor(nvim/init.vim): fzf spell pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
cutbypham committed Dec 16, 2021
1 parent 5eb510b commit 11bc089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ endfunction

function! FzfSpell()
let suggestions = spellsuggest(expand("<cword>"))
return fzf#run(fzf#wrap({'source': suggestions, 'sink': function("FzfSpellSink")}))
return fzf#run(fzf#wrap({'source': suggestions, 'sink': function("FzfSpellSink"), 'window': { 'width': 0.2, 'height': 0.9, 'xoffset': 1 }}))
endfunction

nnoremap z= :call FzfSpell()<CR>
Expand Down

0 comments on commit 11bc089

Please sign in to comment.