Merge branch 'master' of github.com:CarGDev/lua-nvim
This commit is contained in:
@@ -4,25 +4,25 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
local transparent = false -- set to true if you would like to enable transparency
|
local transparent = false -- set to true if you would like to enable transparency
|
||||||
|
|
||||||
-- local bg = "#011628"
|
local bg = "#011628"
|
||||||
-- local bg_dark = "#011423"
|
local bg_dark = "#011423"
|
||||||
-- local bg_highlight = "#143652"
|
local bg_highlight = "#143652"
|
||||||
-- local bg_search = "#0A64AC"
|
local bg_search = "#0A64AC"
|
||||||
-- local bg_visual = "#275378"
|
local bg_visual = "#275378"
|
||||||
-- local fg = "#CBE0F0"
|
local fg = "#CBE0F0"
|
||||||
-- local fg_dark = "#B4D0E9"
|
|
||||||
-- local fg_gutter = "#627E97"
|
|
||||||
-- local border = "#547998"
|
|
||||||
|
|
||||||
local bg = "#1A1A2E"
|
|
||||||
local bg_dark = "#29294B"
|
|
||||||
local bg_highlight = "#4E4E50"
|
|
||||||
local bg_search = "#1A1743"
|
|
||||||
local bg_visual = "#70707E"
|
|
||||||
local fg = "#BFC5D2"
|
|
||||||
local fg_dark = "#B4D0E9"
|
local fg_dark = "#B4D0E9"
|
||||||
local fg_gutter = "#627E97"
|
local fg_gutter = "#627E97"
|
||||||
local border = "#687494"
|
local border = "#547998"
|
||||||
|
|
||||||
|
-- local bg = "#1A1A2E"
|
||||||
|
-- local bg_dark = "#29294B"
|
||||||
|
-- local bg_highlight = "#4E4E50"
|
||||||
|
-- local bg_search = "#1A1743"
|
||||||
|
-- local bg_visual = "#70707E"
|
||||||
|
-- local fg = "#BFC5D2"
|
||||||
|
-- local fg_dark = "#B4D0E9"
|
||||||
|
-- local fg_gutter = "#627E97"
|
||||||
|
-- local border = "#687494"
|
||||||
|
|
||||||
require("tokyonight").setup({
|
require("tokyonight").setup({
|
||||||
style = "night",
|
style = "night",
|
||||||
|
|||||||
@@ -8,48 +8,69 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require("noice").setup({
|
require("noice").setup({
|
||||||
cmdline = {
|
cmdline = {
|
||||||
enabled = true, -- Enables floating command-line window
|
enabled = true,
|
||||||
view = "cmdline_popup", -- Use floating popup instead of bottom bar
|
view = "cmdline_popup",
|
||||||
format = {
|
format = {
|
||||||
cmdline = { icon = ">" }, -- Custom icon for `:`
|
cmdline = { icon = ">" },
|
||||||
search_down = { icon = "🔍 " }, -- Custom icon for `/`
|
search_down = { icon = "🔍 " },
|
||||||
search_up = { icon = "🔍 " }, -- Custom icon for `?`
|
search_up = { icon = "🔍 " },
|
||||||
filter = { icon = "$" },
|
filter = { icon = "$" },
|
||||||
lua = { icon = "" },
|
lua = { icon = "" },
|
||||||
help = { icon = "?" },
|
help = { icon = "?" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
messages = {
|
messages = {
|
||||||
enabled = true, -- Show messages in floating windows
|
enabled = true,
|
||||||
view = "notify", -- Use floating popup instead of bottom bar
|
view = "mini", -- Mini popup for messages
|
||||||
|
view_error = "mini", -- Ensure errors also use mini
|
||||||
|
view_warn = "mini",
|
||||||
|
view_history = "messages",
|
||||||
|
view_search = "virtualtext",
|
||||||
},
|
},
|
||||||
popupmenu = {
|
popupmenu = {
|
||||||
enabled = true, -- Floating completion menu
|
enabled = true,
|
||||||
backend = "nui",
|
backend = "nui",
|
||||||
},
|
},
|
||||||
lsp = {
|
lsp = {
|
||||||
progress = {
|
progress = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
|
message = {
|
||||||
|
enabled = true,
|
||||||
|
view = "mini", -- Show LSP messages in mini popup
|
||||||
|
},
|
||||||
},
|
},
|
||||||
views = {
|
views = {
|
||||||
notify = {
|
|
||||||
position = "top", -- Moves notifications to the bottom
|
|
||||||
win_options = { winblend = 10 }, -- Optional transparency
|
|
||||||
max_height = 2, -- Max height of the notification window
|
|
||||||
max_width = 50, -- Max width of the notification window
|
|
||||||
},
|
|
||||||
mini = {
|
mini = {
|
||||||
position = {
|
position = {
|
||||||
row = -2, -- Positions it closer to the bottom
|
row = "100%", -- Place it at the bottom of the screen
|
||||||
|
col = "50%", -- Center it horizontally
|
||||||
|
},
|
||||||
|
border = {
|
||||||
|
style = "rounded",
|
||||||
|
},
|
||||||
|
win_options = {
|
||||||
|
winblend = 10, -- Slight transparency
|
||||||
|
},
|
||||||
|
max_height = 2, -- Small window size
|
||||||
|
max_width = 60,
|
||||||
|
},
|
||||||
|
notify = {
|
||||||
|
position = {
|
||||||
|
row = "100%", -- Bottom of the screen
|
||||||
col = "50%",
|
col = "50%",
|
||||||
},
|
},
|
||||||
|
win_options = {
|
||||||
|
winblend = 10,
|
||||||
|
},
|
||||||
|
max_height = 2,
|
||||||
|
max_width = 60,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
presets = {
|
presets = {
|
||||||
bottom_search = false, -- Disable default bottom search bar
|
bottom_search = false,
|
||||||
command_palette = true, -- Make commands appear in the center
|
command_palette = true,
|
||||||
long_message_to_split = true, -- Long messages go to a split
|
long_message_to_split = false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user