Skip to content

Commit

Permalink
feat(windows-nvim): configure vim options in AstroCore
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 1, 2024
1 parent 36c3ec2 commit cf53ab4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions lua/astrocommunity/split-and-window/windows-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ return {
dependencies = {
"anuvyklack/middleclass",
"anuvyklack/animation.nvim",
{
"AstroNvim/astrocore",
opts = {
options = {
opt = {
winwidth = 10,
winminwidth = 10,
equalalways = false,
},
},
},
},
},
opts = {},
cmd = {
Expand All @@ -14,9 +26,4 @@ return {
"WindowsDisableAutowidth",
"WindowsToggleAutowidth",
},
init = function()
vim.o.winwidth = 10
vim.o.winminwidth = 10
vim.o.equalalways = false
end,
}

0 comments on commit cf53ab4

Please sign in to comment.