Compare commits

...

5 Commits

Author SHA1 Message Date
e158434595
fix(nvim): make headlines.nvim refresh on VimResized
Some checks are pending
Check Formatting of Files / Check-Formatting (push) Waiting to run
2024-10-15 17:55:09 -05:00
3656d11b13
refactor(nvim): use C-j & C-k to scroll cmp docs
Note: this does mean that C-k binds for entering raw codes no longer works by default.
2024-10-15 16:54:13 -05:00
99a1557151
feat(hm/price): install dig & nethogs 2024-10-15 16:36:02 -05:00
efb6b0e151
refactor(nvim): improve markup highlights 2024-10-15 16:35:43 -05:00
a7643e200c
feat(hosts/orion): support appimage executables 2024-10-12 17:46:10 -05:00
5 changed files with 18 additions and 8 deletions

View File

@ -19,5 +19,9 @@
package = pkgs.wireshark;
};
steam.enable = true;
appimage = {
enable = true;
binfmt = true;
};
};
}

View File

@ -240,8 +240,8 @@ return {
end,
},
mapping = {
["<C-s>"] = cmp.mapping(cmp.mapping.scroll_docs(-4), { "i", "c" }),
["<C-d>"] = cmp.mapping(cmp.mapping.scroll_docs(4), { "i", "c" }),
["<C-k>"] = cmp.mapping(cmp.mapping.scroll_docs(-4), { "i", "c" }),
["<C-j>"] = cmp.mapping(cmp.mapping.scroll_docs(4), { "i", "c" }),
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
["<C-y>"] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `<C-y>` mapping.
["<C-e>"] = cmp.mapping({

View File

@ -2,7 +2,7 @@ return {
{
"lukas-reineke/headlines.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
opts = function()
config = function()
local bullets = {
"󰪥",
"󰀘",
@ -21,7 +21,8 @@ return {
"@markup.heading.7.marker",
"@markup.heading.8.marker",
}
return {
local headlines = require("headlines")
headlines.setup({
markdown = {
bullets = bullets,
bullet_highlights = bullet_highlights,
@ -65,9 +66,12 @@ return {
bullet_highlights = bullet_highlights,
fat_headline_lower_string = "",
},
}
})
-- TODO: Upstream this fix to headlines.nvim
vim.api.nvim_create_autocmd("VimResized", {
callback = headlines.refresh,
})
end,
config = true,
ft = { "markdown", "norg", "rmd", "org" },
},
}

View File

@ -255,7 +255,7 @@ return {
{ "@lsp.typemod.variable.global", { fg = colors.lightBlue } },
-- Markup specific
{ "@markup.raw", { fg = colors.oniViolet2, bg = colors.sumiInk1 } },
{ "@markup.raw", { fg = colors.springViolet2, bg = colors.sumiInk1 } },
{ "@markup.raw.block", select_hl("@markup.raw", { "fg" }) },
{ "@markup.raw.delimiter", { link = "@punctuation.delimiter" } },
{
@ -364,7 +364,7 @@ return {
{ "@markup.heading.6.marker", { link = "@markup.heading.6" } },
{ "@markup.heading.7.marker", { link = "@markup.heading.7" } },
{ "@markup.heading.8.marker", { link = "@markup.heading.8" } },
{ "@markup.quote.org", get_hl("@markup.quote", { bg = colors.sumiInk5 }) },
{ "@markup.quote", { fg = colors.oldWhite }},
-- For Visual Whitespace plugin
{ "visual-whitespace", get_hl("Visual", { fg = colors.fujiGray }) },

View File

@ -32,6 +32,8 @@ in
packages =
with pkgs;
[
dig
nethogs
lsof
strace
ltrace