This commit is contained in:
asep komarudin 2023-01-21 10:31:05 +07:00
parent 3a3e97c300
commit fe32afb482
2 changed files with 24 additions and 25 deletions

View file

@ -35,7 +35,6 @@
"nvim-cmp": { "branch": "main", "commit": "983453e32cb35533a119725883c04436d16c0120" }, "nvim-cmp": { "branch": "main", "commit": "983453e32cb35533a119725883c04436d16c0120" },
"nvim-colorizer.lua": { "branch": "master", "commit": "760e27df4dd966607e8fb7fd8b6b93e3c7d2e193" }, "nvim-colorizer.lua": { "branch": "master", "commit": "760e27df4dd966607e8fb7fd8b6b93e3c7d2e193" },
"nvim-lsp-installer": { "branch": "main", "commit": "17e0bfa5f2c8854d1636fcd036dc8284db136baa" }, "nvim-lsp-installer": { "branch": "main", "commit": "17e0bfa5f2c8854d1636fcd036dc8284db136baa" },
"nvim-lsp-notify": { "branch": "main", "commit": "148637f98316bb7cccfe736aba14ce4516577367" },
"nvim-lspconfig": { "branch": "master", "commit": "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda" }, "nvim-lspconfig": { "branch": "master", "commit": "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda" },
"nvim-navic": { "branch": "master", "commit": "7a2b823152fe4de65ee7925b0e32d26ed73bc57c" }, "nvim-navic": { "branch": "master", "commit": "7a2b823152fe4de65ee7925b0e32d26ed73bc57c" },
"nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" }, "nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" },

View file

@ -1,5 +1,4 @@
return { return {
-- the colorscheme should be available when starting Neovim
{ {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7", commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7",
@ -243,7 +242,7 @@ return {
}, },
{ {
"karb94/neoscroll.nvim", "karb94/neoscroll.nvim",
event = "BufRead", event = "WinScrolled",
config = function() config = function()
require("user.neoscroll") require("user.neoscroll")
end, end,
@ -272,36 +271,37 @@ return {
-- ) -- )
-- *ini untuk border rounded -- *ini untuk border rounded
-- wilder.set_option('renderer', wilder.popupmenu_renderer(
-- wilder.popupmenu_border_theme({
-- highlights = {
-- border = 'Normal', -- highlight to use for the border
-- },
-- -- 'single', 'double', 'rounded' or 'solid'
-- -- can also be a list of 8 characters, see :h wilder#popupmenu_border_theme() for more details
-- border = 'rounded',
-- left = { " ", wilder.popupmenu_devicons() },
-- right = { " ", wilder.popupmenu_scrollbar() },
-- })
-- ))
-- *ini untuk popup dialog
wilder.set_option( wilder.set_option(
"renderer", "renderer",
wilder.popupmenu_renderer(wilder.popupmenu_palette_theme({ wilder.popupmenu_renderer(wilder.popupmenu_border_theme({
highlights = {
border = "Normal", -- highlight to use for the border
},
-- 'single', 'double', 'rounded' or 'solid' -- 'single', 'double', 'rounded' or 'solid'
-- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details -- can also be a list of 8 characters, see :h wilder#popupmenu_border_theme() for more details
border = "rounded", border = "rounded",
max_height = "40%", -- max height of the palette
max_width = "40%",
min_height = 0, -- set to the same as 'max_height' for a fixed height window
prompt_position = "top", -- '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'
left = { " ", wilder.popupmenu_devicons() }, left = { " ", wilder.popupmenu_devicons() },
right = { " ", wilder.popupmenu_scrollbar() }, right = { " ", wilder.popupmenu_scrollbar() },
pumblend = 20,
})) }))
) )
-- *ini untuk popup dialog
-- wilder.set_option(
-- "renderer",
-- wilder.popupmenu_renderer(wilder.popupmenu_palette_theme({
-- -- 'single', 'double', 'rounded' or 'solid'
-- -- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details
-- border = "rounded",
-- max_height = "40%", -- max height of the palette
-- max_width = "40%",
-- min_height = 0, -- set to the same as 'max_height' for a fixed height window
-- prompt_position = "top", -- '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'
-- left = { " ", wilder.popupmenu_devicons() },
-- right = { " ", wilder.popupmenu_scrollbar() },
-- pumblend = 20,
-- }))
-- )
end, end,
}, },
{ {