almost everything
This commit is contained in:
10
lua/plugins/ui/catppuccin.lua
Normal file
10
lua/plugins/ui/catppuccin.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
vim.pack.add({ { src = "https://github.com/catppuccin/nvim", name = "catppuccin" } })
|
||||
|
||||
require("catppuccin").setup({
|
||||
transparent_background = true, -- disables setting the background color.
|
||||
float = {
|
||||
transparent = true, -- enable transparent floating windows
|
||||
solid = false, -- use solid styling for floating windows, see |winborder|
|
||||
},
|
||||
show_end_of_buffer = true, -- shows the '~' characters after the end of buffers
|
||||
})
|
||||
71
lua/plugins/ui/lualine.lua
Normal file
71
lua/plugins/ui/lualine.lua
Normal file
@@ -0,0 +1,71 @@
|
||||
vim.pack.add({
|
||||
{ src = "https://github.com/nvim-lualine/lualine.nvim", name = "lualine" },
|
||||
{ src = "https://github.com/nvim-tree/nvim-web-devicons", name = "devicons" },
|
||||
{ src = "https://github.com/archibate/lualine-time", name = "lualine-time" },
|
||||
})
|
||||
|
||||
require("lualine").setup({
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = "auto",
|
||||
component_separators = { left = "", right = "" },
|
||||
section_separators = { left = "", right = "" },
|
||||
disabled_filetypes = {
|
||||
statusline = {},
|
||||
winbar = {},
|
||||
},
|
||||
ignore_focus = {},
|
||||
always_divide_middle = true,
|
||||
always_show_tabline = true,
|
||||
globalstatus = false,
|
||||
refresh = {
|
||||
statusline = 1000,
|
||||
tabline = 1000,
|
||||
winbar = 1000,
|
||||
refresh_time = 16, -- ~60fps
|
||||
events = {
|
||||
"WinEnter",
|
||||
"BufEnter",
|
||||
"BufWritePost",
|
||||
"SessionLoadPost",
|
||||
"FileChangedShellPost",
|
||||
"VimResized",
|
||||
"Filetype",
|
||||
"CursorMoved",
|
||||
"CursorMovedI",
|
||||
"ModeChanged",
|
||||
},
|
||||
},
|
||||
},
|
||||
sections = {
|
||||
lualine_a = {
|
||||
"mode",
|
||||
{
|
||||
function()
|
||||
local reg = vim.fn.reg_recording()
|
||||
if reg == "" then
|
||||
return ""
|
||||
end -- not recording
|
||||
return "MACRO " .. string.upper(tostring(reg))
|
||||
end,
|
||||
},
|
||||
},
|
||||
lualine_b = { "branch", "diff", "diagnostics" },
|
||||
lualine_c = { "filename" },
|
||||
lualine_x = { "filetype" },
|
||||
lualine_y = { "lsp_status" },
|
||||
lualine_z = { "ctime" },
|
||||
},
|
||||
inactive_sections = {
|
||||
lualine_a = {},
|
||||
lualine_b = { "branch", "diff", "diagnostics" },
|
||||
lualine_c = { "filename" },
|
||||
lualine_x = { "location" },
|
||||
lualine_y = {},
|
||||
lualine_z = {},
|
||||
},
|
||||
tabline = {},
|
||||
winbar = {},
|
||||
inactive_winbar = {},
|
||||
extensions = {},
|
||||
})
|
||||
41
lua/plugins/ui/noice.lua
Normal file
41
lua/plugins/ui/noice.lua
Normal file
@@ -0,0 +1,41 @@
|
||||
vim.pack.add({
|
||||
{ src = "https://github.com/folke/noice.nvim", name = "noice" },
|
||||
{ src = "https://github.com/MunifTanjim/nui.nvim", name = "nui" },
|
||||
{ src = "https://github.com/rcarriga/nvim-notify", name = "notify" },
|
||||
})
|
||||
|
||||
vim.notify = require("notify").setup({
|
||||
background_colour = "#000000",
|
||||
render = "compact",
|
||||
stages = "slide",
|
||||
})
|
||||
require("noice").setup({
|
||||
messages = {
|
||||
enabled = true,
|
||||
view = "mini",
|
||||
view_error = "notify", -- view for errors
|
||||
view_warn = "notify", -- view for warnings
|
||||
view_history = "messages", -- view for :messages
|
||||
view_search = "virtualtext", -- view for search count messages. Set to `false` to disable
|
||||
},
|
||||
notify = {
|
||||
enabled = true,
|
||||
view = "notify",
|
||||
},
|
||||
hover = {
|
||||
enabled = false,
|
||||
},
|
||||
lsp = {
|
||||
hover = {
|
||||
enabled = false,
|
||||
},
|
||||
signature = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
presets = {
|
||||
long_message_to_split = true, -- long messages will be sent to a split
|
||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user