fix(nvim/toggleterm): temporarily disable unsupported options
This commit is contained in:
parent
18e7c1ccda
commit
8e4958ef0a
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user