mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
update config support neovide
This commit is contained in:
parent
fdeda33019
commit
38c26055b2
1 changed files with 10 additions and 2 deletions
|
@ -1,10 +1,18 @@
|
|||
vim.opt.lazyredraw = false
|
||||
-- initial gui app
|
||||
local is_neovide = false
|
||||
local use_noice = true
|
||||
if vim.g.neovide then
|
||||
is_neovide = true
|
||||
use_noice = false
|
||||
end
|
||||
vim.opt.lazyredraw = is_neovide
|
||||
return {
|
||||
{ "gelguy/wilder.nvim", enabled = false },
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
enabled = use_noice,
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
{ "MunifTanjim/nui.nvim", enabled = use_noice },
|
||||
},
|
||||
event = "BufWinEnter",
|
||||
opts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue