[nvim] rm peekaboo

main
Alpha Chen 3 weeks ago
parent 71d2859e57
commit a602651b84
No known key found for this signature in database

@ -1,19 +0,0 @@
(local {: floor} math)
(local {: columns : lines} vim.o)
(local {:nvim_create_buf nvim-create-buf :nvim_open_win nvim-open-win} vim.api)
;; https://github.com/junegunn/vim-peekaboo/issues/68/#issuecomment-1013782594
(fn []
(let [width (floor (* columns 0.8))
height (floor (* lines 0.8))
row (- (/ (- lines height) 2) 1)
col (/ (- columns width) 2)
opts {:relative :editor
: row
: col
: width
: height
:style :minimal
:border :rounded}
buf (nvim-create-buf false true)]
(nvim-open-win buf true opts)))

4
.gitmodules vendored

@ -155,7 +155,3 @@
path = .local/share/nvim/site/pack/alpha/start/dispatch path = .local/share/nvim/site/pack/alpha/start/dispatch
url = https://github.com/tpope/vim-dispatch.git url = https://github.com/tpope/vim-dispatch.git
branch = master branch = master
[submodule "peekaboo"]
path = .local/share/nvim/site/pack/alpha/start/peekaboo
url = https://github.com/junegunn/vim-peekaboo.git
branch = master

@ -1 +0,0 @@
Subproject commit cc4469c204099c73dd7534531fa8ba271f704831
Loading…
Cancel
Save