Removal: center preset

This commit is contained in:
DarthMooMancer
2025-05-14 13:50:28 -04:00
parent 4d34b5d1be
commit def81ab3f3
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ cpp = {
```lua
-- In Neovim 0.11+, numbers don't work so they will be reimplemented later
terminal = {
preset = "max", -- "max", "center", "right", "corner"
preset = "max", -- "max", "right", "corner"
border = true,
}
```
-8
View File
@@ -7,12 +7,6 @@ local presets = {
top_padding = 0,
bottom_padding = 0
},
center = {
left_padding = 0,
right_padding = 100,
top_padding = 0,
bottom_padding = 0,
},
right = {
left_padding = 100,
right_padding = 0,
@@ -30,8 +24,6 @@ local presets = {
function M.getPresets(preset)
if preset == "max" then
return presets.max
elseif preset == "center" then
return presets.center
elseif preset == "right" then
return presets.right
elseif preset == "corner" then