Config for wilder and neovide options

This commit is contained in:
Јован Ђокић-Шумарац 2023-08-10 22:31:27 +02:00
parent 42c815505a
commit 9a4a943a31
3 changed files with 20 additions and 12 deletions

View file

@ -13,3 +13,16 @@ require("plugins")
-- Setup standard neovim options -- Setup standard neovim options
require("options") require("options")
if vim.g.neovide then
vim.o.guifont = "FiraCode Nerd Font:h14"
vim.g.neovide_scale_factor = 1.0
vim.g.neovide_refresh_rate = 120
vim.g.neovide_refresh_rate_idle = 5
vim.g.neovide_cursor_antialiasing = true
vim.g.neovide_cursor_animate_in_insert_mode = true
vim.g.neovide_cursor_vfx_mode = "ripple"
end

View file

@ -5,5 +5,5 @@ require('drop').setup
max = 15, -- maximum number of drops on the screen max = 15, -- maximum number of drops on the screen
interval = 100, -- every 100ms we update the drops interval = 100, -- every 100ms we update the drops
screensaver = 1000 * 60 * 3, -- show after 3 minutes. Set to false, to disable screensaver = 1000 * 60 * 3, -- show after 3 minutes. Set to false, to disable
filetypes = { "veil" }, -- will enable/disable automatically for the following filetypes filetypes = { }, -- will enable/disable automatically for the following filetypes
} }

View file

@ -15,14 +15,9 @@ wilder.set_option('renderer', wilder.renderer_mux({
wilder.set_option('renderer', wilder.popupmenu_renderer( wilder.set_option('renderer', wilder.popupmenu_renderer({
wilder.popupmenu_palette_theme({ highlighter = wilder.basic_highlighter(),
-- 'single', 'double', 'rounded' or 'solid' left = {' ', wilder.popupmenu_devicons()},
-- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details right = {' ', wilder.popupmenu_scrollbar()},
border = 'single', max_height = '30%',
max_height = '30%', -- max height of the palette }))
min_height = '30%', -- set to the same as 'max_height' for a fixed height window
prompt_position = 'bottom', -- 'top' or 'bottom' to set the location of the prompt
reverse = 0, -- set to 1 to reverse the order of the list, use in combination with 'prompt_position'
})
))