new codam plugin!

This commit is contained in:
2026-10-08 22:35:19 +02:00
parent b0679fa52f
commit ca4157e466
7 changed files with 76 additions and 47 deletions
+5 -1
View File
@@ -8,7 +8,11 @@ Inspirations:
[Great guide on vim.pack](https://echasnovski.com/blog/2026-03-13-a-guide-to-vim-pack#delete) [Great guide on vim.pack](https://echasnovski.com/blog/2026-03-13-a-guide-to-vim-pack#delete)
To remove a plugin run `:lua vim.pack.del({ "<plugin name>" })`. # Micro vim.pack tutorial
- Remove a plugin `:lua vim.pack.del({ 'name' })`.
- Update a plugin `:lua vim.pack.update({ 'name' })`
- Update all `:lua vim.pack.update()`
# Neovim Notes # Neovim Notes
-1
View File
@@ -2,4 +2,3 @@ local o = vim.opt_local
o.textwidth = 80 o.textwidth = 80
o.expandtab = false o.expandtab = false
o.commentstring = "/*%s*/"
+2 -1
View File
@@ -13,9 +13,10 @@ ac("TextYankPost", {
vim.highlight.on_yank() vim.highlight.on_yank()
end, end,
}) })
uc("NormFormat", "!c_formatter_42 *.c *.h", { desc = "comply with the norm in C" }) uc("NormFormat", "!c_formatter_42 *.c *.h", { desc = "comply with the norm in C" })
vim.cmd("cnoreabbrev wn noautocmd write")
-- ac("LspAttach", { -- ac("LspAttach", {
-- desc = "Notify user about attached LSP clients", -- desc = "Notify user about attached LSP clients",
-- group = aug("LSPOnAttach", { clear = true }), -- group = aug("LSPOnAttach", { clear = true }),
+1 -1
View File
@@ -8,6 +8,6 @@ require("romanzy.plugins.telescope")
require("romanzy.plugins.nvim-treesitter") require("romanzy.plugins.nvim-treesitter")
require("romanzy.plugins.conform") require("romanzy.plugins.conform")
require("romanzy.plugins.lsp") require("romanzy.plugins.lsp")
require("romanzy.plugins.codamheader") require("romanzy.plugins.codam-header")
require("romanzy.custom.spell").setup() require("romanzy.custom.spell").setup()
require("romanzy.custom.tabline").setup() require("romanzy.custom.tabline").setup()
@@ -0,0 +1,59 @@
vim.pack.add({
{ src = "https://github.com/romanzy313/codam-header.nvim" },
})
require("codamheader").setup({
default_map = false,
auto_update = true,
user = "rvolovoy",
mail = "rvolovoy@student.codam.nl",
asciiart = {
{
" ::: :::::::: ",
" :+: :+: :+: ",
" +:+ +:+ +:+ ",
" +#+ +:+ +#+ ",
"+#++:++#+ +#+ ",
" #+# #+# ",
" ### ########## ",
},
{
" ",
" ⠊⢉⠆ ",
" ⠴⠥⠄ ",
" en ",
" ⡠⢺⠀⡎⠉⡆ ",
" ⠉⠹⠁⠣⠤⠃ ",
" ",
},
{
" ::: ###",
":::++++++ ###",
"::::::::: ###",
"::: ++++++ ###",
"::: ### ###",
"::: ++++++ ###",
"::: #########",
":::::: ++++++###",
":::+++ ######",
" ::: ###",
" ",
" ",
" +++++++++######",
" ::::::###+++###",
"::: +++++++++######",
":::::: +++ ",
":::++++++ ::: ",
" ::::::++++++ ",
" +++###+++ ",
" +++### ",
" +++ ",
},
}
})
vim.api.nvim_create_user_command("Header42", function()
require("codamheader.utils.header").stdheader()
end, {})
@@ -1,34 +0,0 @@
vim.pack.add({
{ src = "https://github.com/BeerB34r/codam-header.nvim" },
})
require("codamheader").setup({
default_map = false,
auto_update = true,
user = "rvolovoy",
mail = "rvolovoy@student.codam.nl",
exascii = {},
-- exascii = {
-- "—————No norm compliance?——————",
-- "⠀⣞⢽⢪⢣⢣⢣⢫⡺⡵⣝⡮⣗⢷⢽⢽⢽⣮⡷⡽⣜⣜⢮⢺⣜⢷⢽⢝⡽⣝",
-- "⠸⡸⠜⠕⠕⠁⢁⢇⢏⢽⢺⣪⡳⡝⣎⣏⢯⢞⡿⣟⣷⣳⢯⡷⣽⢽⢯⣳⣫⠇",
-- "⠀⠀⢀⢀⢄⢬⢪⡪⡎⣆⡈⠚⠜⠕⠇⠗⠝⢕⢯⢫⣞⣯⣿⣻⡽⣏⢗⣗⠏⠀",
-- "⠀⠪⡪⡪⣪⢪⢺⢸⢢⢓⢆⢤⢀⠀⠀⠀⠀⠈⢊⢞⡾⣿⡯⣏⢮⠷⠁⠀⠀⠀",
-- "⠀⠀⠀⠈⠊⠆⡃⠕⢕⢇⢇⢇⢇⢇⢏⢎⢎⢆⢄⠀⢑⣽⣿⢝⠲⠉⠀⠀⠀⠀",
-- "⠀⠀⠀⠀⠀⡿⠂⠠⠀⡇⢇⠕⢈⣀⠀⠁⠡⠣⡣⡫⣂⣿⠯⢪⠰⠂⠀⠀⠀⠀",
-- "⠀⠀⠀⠀⡦⡙⡂⢀⢤⢣⠣⡈⣾⡃⠠⠄⠀⡄⢱⣌⣶⢏⢊⠂⠀⠀⠀⠀⠀⠀",
-- "⠀⠀⠀⠀⢝⡲⣜⡮⡏⢎⢌⢂⠙⠢⠐⢀⢘⢵⣽⣿⡿⠁⠁⠀⠀⠀⠀⠀⠀⠀",
-- "⠀⠀⠀⠀⠨⣺⡺⡕⡕⡱⡑⡆⡕⡅⡕⡜⡼⢽⡻⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
-- "⠀⠀⠀⠀⣼⣳⣫⣾⣵⣗⡵⡱⡡⢣⢑⢕⢜⢕⡝⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
-- "⠀⠀⠀⣴⣿⣾⣿⣿⣿⡿⡽⡑⢌⠪⡢⡣⣣⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
-- "⠀⠀⠀⡟⡾⣿⢿⢿⢵⣽⣾⣼⣘⢸⢸⣞⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
-- "⠀⠀⠀⠀⠁⠇⠡⠩⡫⢿⣝⡻⡮⣒⢽⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
-- "——————————————————————————————",
-- },
-- exascii_left = false,
})
vim.api.nvim_create_user_command("Header42", function()
require("codamheader.utils.header").stdheader()
end, {})
+9 -9
View File
@@ -1,11 +1,11 @@
{ {
"plugins": { "plugins": {
"codam-header.nvim": { "codam-header.nvim": {
"rev": "a8fbd2a7003eecbf6e85693e85d7d4d464625193", "rev": "d520a217d3505bf451450d9c5536d9522f2a3f3a",
"src": "https://github.com/BeerB34r/codam-header.nvim" "src": "https://github.com/BeerB34r/codam-header.nvim"
}, },
"conform.nvim": { "conform.nvim": {
"rev": "619363c30309d29ffa631e67c8183f2a72caa373", "rev": "016802de402556da54c36bd7359b441266b01cdd",
"src": "https://github.com/stevearc/conform.nvim" "src": "https://github.com/stevearc/conform.nvim"
}, },
"diffview.nvim": { "diffview.nvim": {
@@ -13,11 +13,11 @@
"src": "https://github.com/sindrets/diffview.nvim" "src": "https://github.com/sindrets/diffview.nvim"
}, },
"lazygit.nvim": { "lazygit.nvim": {
"rev": "a04ad0dbc725134edbee3a5eea29290976695357", "rev": "9ffc6103926718f7070fb4017694543cd7dc9718",
"src": "https://github.com/kdheepak/lazygit.nvim" "src": "https://github.com/kdheepak/lazygit.nvim"
}, },
"mason-lspconfig.nvim": { "mason-lspconfig.nvim": {
"rev": "47059d71b42d74b0a1e9f61c1d99d301039c3b5b", "rev": "b3298993d55fa194279b5eb9dbfb3a43da65cadf",
"src": "https://github.com/mason-org/mason-lspconfig.nvim" "src": "https://github.com/mason-org/mason-lspconfig.nvim"
}, },
"mason.nvim": { "mason.nvim": {
@@ -25,19 +25,19 @@
"src": "https://github.com/mason-org/mason.nvim" "src": "https://github.com/mason-org/mason.nvim"
}, },
"mini.nvim": { "mini.nvim": {
"rev": "c5cdbadeb423ff724e27a42ab2d1c504d1d6fc5a", "rev": "0513ad9ada655a07af321c129b69dafaf9e63d80",
"src": "https://github.com/echasnovski/mini.nvim" "src": "https://github.com/echasnovski/mini.nvim"
}, },
"nvim-lspconfig": { "nvim-lspconfig": {
"rev": "292f44408498103c47996ff5c18fd366293840d8", "rev": "db68de3575fff9dd9bb78b34c8371759ed35fe34",
"src": "https://github.com/neovim/nvim-lspconfig" "src": "https://github.com/neovim/nvim-lspconfig"
}, },
"nvim-treesitter": { "nvim-treesitter": {
"rev": "4916d6592ede8c07973490d9322f187e07dfefac", "rev": "e289100ff98969e118c702199d88b764ce9e7fdf",
"src": "https://github.com/nvim-treesitter/nvim-treesitter" "src": "https://github.com/nvim-treesitter/nvim-treesitter"
}, },
"oil-git.nvim": { "oil-git.nvim": {
"rev": "54de208323d00c519e26280f8b5b4b821d32f955", "rev": "8bab14df0b7db7a62fa75c8978d6181daed2f0a2",
"src": "https://github.com/malewicz1337/oil-git.nvim" "src": "https://github.com/malewicz1337/oil-git.nvim"
}, },
"oil.nvim": { "oil.nvim": {
@@ -53,7 +53,7 @@
"src": "https://github.com/rose-pine/neovim" "src": "https://github.com/rose-pine/neovim"
}, },
"telescope.nvim": { "telescope.nvim": {
"rev": "427b576c16792edad01a92b89721d923c19ad60f", "rev": "40aedd8a68c78a656a10a8d62d80c54af59420fb",
"src": "https://github.com/nvim-telescope/telescope.nvim" "src": "https://github.com/nvim-telescope/telescope.nvim"
}, },
"trouble.nvim": { "trouble.nvim": {