1
0
Fork 0

Merge branch 'main' of git.snaile.de:luca/dotfiles

This commit is contained in:
Luca Bilke 2024-07-02 17:29:14 +02:00
commit d6f6bdd26d
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
2 changed files with 16 additions and 12 deletions

View File

@ -11,17 +11,6 @@ return {
},
},
},
{
"dustinblackman/oatmeal.nvim",
cmd = { "Oatmeal" },
keys = {
{ "<leader>ao", mode = { "n", "v" }, desc = "Toggle (Oatmeal)" },
},
opts = {
hotkey = "<leader>ao",
close_terminal_on_quit = true,
},
},
{
"NvChad/nvim-colorizer.lua",
cmd = { "ColorizerToggle", "ColorizerAttachToBuffer", "ColorizerDetachFromBuffer", "ColorizerReloadAllBuffers" },
@ -103,11 +92,26 @@ return {
"echasnovski/mini.surround",
optional = true,
opts = {
highlight_duration = 0,
custom_surroundings = {
B = {
input = { "{{ ().*() }}" },
output = { left = "{{ ", right = " }}" },
},
M = {
input = { "{% ().*() %}" },
output = { left = "{% ", right = " %}" },
},
T = {
input = { "%f[%w_%.][%w_%.]+%b<>", "^.-<().*()>$" },
output = function()
local type_name = require("mini.surround").user_input("Type name")
if type_name == nil then
return nil
end
return { left = ("%s<"):format(type_name), right = ">" }
end,
},
},
},
},

View File

@ -5,4 +5,4 @@ TODO\.md
\.gitignore
\.gitmodules
\.local/share/service
\.local/share/xkb/compiled
\.local/share/xkb/compiled/keymap