changes
This commit is contained in:
parent
a34de6ac71
commit
88680ceb74
@ -23,8 +23,9 @@ return {
|
|||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
-- 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, {
|
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
|
||||||
-- "prettier",
|
"prettier",
|
||||||
-- "stylua"
|
"stylua",
|
||||||
|
"clippy"
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,7 @@ return {
|
|||||||
{
|
{
|
||||||
"andweeb/presence.nvim",
|
"andweeb/presence.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("presence").setup({
|
require("presence").setup {
|
||||||
auto_update = true,
|
auto_update = true,
|
||||||
show_time = true,
|
show_time = true,
|
||||||
client_id = "242049919999803395",
|
client_id = "242049919999803395",
|
||||||
@ -12,7 +12,7 @@ return {
|
|||||||
editing_text = "Doing the thing on %s",
|
editing_text = "Doing the thing on %s",
|
||||||
file_explorer_text = "Scratching my head in %s",
|
file_explorer_text = "Scratching my head in %s",
|
||||||
git_commit_text = "Signing my soul away",
|
git_commit_text = "Signing my soul away",
|
||||||
})
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -28,8 +28,38 @@ return {
|
|||||||
TODO = { icon = "✔️", color = "info" },
|
TODO = { icon = "✔️", color = "info" },
|
||||||
HACK = { icon = "🔥", color = "warning" },
|
HACK = { icon = "🔥", color = "warning" },
|
||||||
WARN = { icon = "⚠️", color = "warning" },
|
WARN = { icon = "⚠️", color = "warning" },
|
||||||
}
|
FIXME = { icon = "🔨", color = "danger" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lazy = false,
|
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,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user