chore(lint): lualint fixes

This commit is contained in:
2023-08-01 14:20:23 +03:00
parent 558b6500d3
commit 6eefbdc965
3 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
-- luacheck: globals vim
return {
-- You can also add new plugins here as well:
-- Add plugins, the lazy syntax
@@ -48,12 +49,13 @@ return {
end,
opts = {
bottom = {
-- toggleterm / lazyterm at the bottom with a height of 40% of the screen
-- toggleterm / lazyterm at the bottom with
-- a height of 40% of the screen
{
ft = "toggleterm",
size = { height = 0.4 },
-- exclude floating windows
filter = function(buf, win)
filter = function(_, win)
return vim.api.nvim_win_get_config(win).relative == ""
end,
},