mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 01:26:46 +00:00
changed to snacks lg
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
return {
|
||||
'kdheepak/lazygit.nvim',
|
||||
lazy = true,
|
||||
cmd = {
|
||||
'LazyGit',
|
||||
'LazyGitConfig',
|
||||
'LazyGitCurrentFile',
|
||||
'LazyGitFilter',
|
||||
'LazyGitFilterCurrentFile',
|
||||
},
|
||||
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
|
||||
keys = {
|
||||
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
|
||||
},
|
||||
}
|
||||
@@ -1,18 +1,12 @@
|
||||
return {
|
||||
'williamboman/mason.nvim',
|
||||
'mason-org/mason.nvim',
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
'typescript-language-server',
|
||||
'biome',
|
||||
'svelte-language-server',
|
||||
'vue-language-server',
|
||||
'gopls',
|
||||
'rust-analyzer',
|
||||
'stylua',
|
||||
'html-lsp',
|
||||
'ruff',
|
||||
'mypy',
|
||||
'pyright',
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗"
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -9,6 +9,41 @@ return {
|
||||
timeout = 3000,
|
||||
},
|
||||
git = { enabled = true },
|
||||
---@class snacks.lazygit.Config: snacks.terminal.Opts
|
||||
---@field args? string[]
|
||||
---@field theme? snacks.lazygit.Theme
|
||||
lazygit = {
|
||||
-- automatically configure lazygit to use the current colorscheme
|
||||
-- and integrate edit with the current neovim instance
|
||||
configure = true,
|
||||
-- extra configuration for lazygit that will be merged with the default
|
||||
-- snacks does NOT have a full yaml parser, so if you need `"test"` to appear with the quotes
|
||||
-- you need to double quote it: `"\"test\""`
|
||||
config = {
|
||||
os = { editPreset = "nvim-remote" },
|
||||
gui = {
|
||||
-- set to an empty string "" to disable icons
|
||||
nerdFontsVersion = "3",
|
||||
},
|
||||
},
|
||||
theme_path = vim.fs.normalize(vim.fn.stdpath("cache") .. "/lazygit-theme.yml"),
|
||||
-- Theme for lazygit
|
||||
theme = {
|
||||
[241] = { fg = "Special" },
|
||||
activeBorderColor = { fg = "MatchParen", bold = true },
|
||||
cherryPickedCommitBgColor = { fg = "Identifier" },
|
||||
cherryPickedCommitFgColor = { fg = "Function" },
|
||||
defaultFgColor = { fg = "Normal" },
|
||||
inactiveBorderColor = { fg = "FloatBorder" },
|
||||
optionsTextColor = { fg = "Function" },
|
||||
searchingActiveBorderColor = { fg = "MatchParen", bold = true },
|
||||
selectedLineBgColor = { bg = "Visual" }, -- set to `default` to have no background colour
|
||||
unstagedChangesColor = { fg = "DiagnosticError" },
|
||||
},
|
||||
win = {
|
||||
style = "lazygit",
|
||||
},
|
||||
},
|
||||
picker = { enabled = true },
|
||||
quickfile = { enabled = true },
|
||||
words = { enabled = true },
|
||||
|
||||
Reference in New Issue
Block a user