idk i made a lot of changes
This commit is contained in:
parent
f17fb26069
commit
55099cdad2
10 changed files with 171 additions and 21 deletions
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
{
|
||||
"dressing.nvim",
|
||||
enabled = nixCats("ui.dressing") or false,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
local config = {
|
||||
debounce = 25,
|
||||
indent = {
|
||||
char = "│",
|
||||
smart_indent_cap = true,
|
||||
},
|
||||
scope = {
|
||||
show_start = true,
|
||||
show_end = true,
|
||||
show_exact_scope = false,
|
||||
injected_languages = true,
|
||||
},
|
||||
}
|
||||
|
||||
return {
|
||||
{
|
||||
"indent-blankline.nvim",
|
||||
enabled = nixCats("ui.indent-blankline") or false,
|
||||
after = function(plugin)
|
||||
require("ibl").setup(config)
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "RefreshIndentBlankline",
|
||||
callback = function()
|
||||
require("ibl").setup(config)
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
@ -7,4 +7,6 @@ require("lze").load({
|
|||
{ import = "plugins.format" },
|
||||
{ import = "plugins.comment" },
|
||||
{ import = "plugins.git" },
|
||||
{ import = "plugins.lualine" },
|
||||
{ import = "plugins.indent-blankline" },
|
||||
})
|
||||
|
|
|
|||
22
homes/modules/programs/neovim/lua/plugins/lualine.lua
Normal file
22
homes/modules/programs/neovim/lua/plugins/lualine.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
local config = {
|
||||
options = {
|
||||
theme = "auto",
|
||||
},
|
||||
}
|
||||
|
||||
return {
|
||||
{
|
||||
"lualine.nvim",
|
||||
enabled = nixCats("ui.lualine") or false,
|
||||
after = function(plugin)
|
||||
require("lualine").setup(config)
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "RefreshLualine",
|
||||
callback = function()
|
||||
require("lualine").setup(config)
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
@ -60,6 +60,14 @@ return {
|
|||
mode = { "n" },
|
||||
desc = "[T]elescope [H]ighlights",
|
||||
},
|
||||
{
|
||||
"<leader>gs",
|
||||
function()
|
||||
return require("telescope.builtin").git_status()
|
||||
end,
|
||||
mode = { "n" },
|
||||
desc = "[G]it [S]tatus",
|
||||
},
|
||||
},
|
||||
load = function(name)
|
||||
vim.cmd.packadd(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue