1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

fix(cpicker): disable number and wrap opt

This commit is contained in:
Eric Wong 2024-07-24 12:40:21 +08:00
parent 6497931a27
commit f725666783

View File

@ -141,6 +141,12 @@ M.picker = function(formats)
vim.api.nvim_set_option_value('bufhidden', 'wipe', { vim.api.nvim_set_option_value('bufhidden', 'wipe', {
buf = bufnr, buf = bufnr,
}) })
vim.api.nvim_set_option_value('wrap', false, {
buf = bufnr,
})
vim.api.nvim_set_option_value('number', false, {
buf = bufnr,
})
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'l', '', { vim.api.nvim_buf_set_keymap(bufnr, 'n', 'l', '', {
callback = increase, callback = increase,
}) })