This commit is contained in:
Wyatt J. Miller 2023-09-18 21:16:35 -04:00
parent a34de6ac71
commit 88680ceb74
2 changed files with 39 additions and 8 deletions

View File

@ -23,8 +23,9 @@ return {
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
-- "prettier",
-- "stylua"
"prettier",
"stylua",
"clippy"
})
end,
},

View File

@ -4,7 +4,7 @@ return {
{
"andweeb/presence.nvim",
config = function()
require("presence").setup({
require("presence").setup {
auto_update = true,
show_time = true,
client_id = "242049919999803395",
@ -12,7 +12,7 @@ return {
editing_text = "Doing the thing on %s",
file_explorer_text = "Scratching my head in %s",
git_commit_text = "Signing my soul away",
})
}
end,
},
@ -28,8 +28,38 @@ return {
TODO = { icon = "✔️", color = "info" },
HACK = { icon = "🔥", color = "warning" },
WARN = { icon = "⚠️", color = "warning" },
}
FIXME = { icon = "🔨", color = "danger" },
},
},
lazy = false,
},
-- Sticky scroll (context) plugin
{
"nvim-treesitter/nvim-treesitter-context",
config = function()
require("treesitter-context").setup {
enable = true,
max_lines = 5,
zindex = 20,
trim_scope = "outer",
line_numbers = true,
min_window_height = 0,
multiline_threshold = 20,
mode = "topline",
}
end,
},
{
"amrbashir/nvim-docs-view",
opt = true,
cmd = { "DocsViewToggle" },
config = function()
require("docs-view").setup {
position = "bottom",
width = 60,
}
end,
},
}