Merge branch 'main' of git.snaile.de:luca/dotfiles
This commit is contained in:
commit
4ae87a2e88
2 changed files with 16 additions and 12 deletions
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -5,4 +5,4 @@ TODO\.md
|
|||
\.gitignore
|
||||
\.gitmodules
|
||||
\.local/share/service
|
||||
\.local/share/xkb/compiled
|
||||
\.local/share/xkb/compiled/keymap
|
||||
|
|
Loading…
Add table
Reference in a new issue