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
+2 -1
View File
@@ -13,9 +13,10 @@ ac("TextYankPost", {
vim.highlight.on_yank()
end,
})
uc("NormFormat", "!c_formatter_42 *.c *.h", { desc = "comply with the norm in C" })
vim.cmd("cnoreabbrev wn noautocmd write")
-- ac("LspAttach", {
-- desc = "Notify user about attached LSP clients",
-- 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.conform")
require("romanzy.plugins.lsp")
require("romanzy.plugins.codamheader")
require("romanzy.plugins.codam-header")
require("romanzy.custom.spell").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, {})