fix(nvim/toggleterm): temporarily disable unsupported options

This commit is contained in:
Michael Thomas 2024-07-04 11:30:59 -04:00
parent 18e7c1ccda
commit 8e4958ef0a

View File

@ -27,22 +27,22 @@
heightP = "0.9";
in rec {
border = "single"; # 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open
width = ''
function()
return math.floor(vim.o.columns * ${widthP})
end
'';
height = ''
function()
return math.floor(vim.o.lines * ${heightP})
end
'';
row = ''
function()
local heightFn = ${height}
return math.floor((vim.o.lines - heightFn()) / 2) - 1
end
'';
# width = ''
# function()
# return math.floor(vim.o.columns * ${widthP})
# end
# '';
# height = ''
# function()
# return math.floor(vim.o.lines * ${heightP})
# end
# '';
# row = ''
# function()
# local heightFn = ${height}
# return math.floor((vim.o.lines - heightFn()) / 2) - 1
# end
# '';
winblend = 0;
};
winbar = {