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