mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-06 11:08:17 +00:00
chore(lint): lualint fixes
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
-- luacheck: globals vim
|
||||||
return {
|
return {
|
||||||
-- Configure AstroNvim updates
|
-- Configure AstroNvim updates
|
||||||
updater = {
|
updater = {
|
||||||
|
|||||||
@@ -17,12 +17,15 @@ return {
|
|||||||
end,
|
end,
|
||||||
desc = "Pick to close",
|
desc = "Pick to close",
|
||||||
},
|
},
|
||||||
-- tables with the `name` key will be registered with which-key if it's installed
|
-- tables with the `name` key will be registered with which-key
|
||||||
-- this is useful for naming menus
|
-- if it's installed this is useful for naming menus
|
||||||
["<leader>b"] = { name = "Buffers" },
|
["<leader>b"] = { name = "Buffers" },
|
||||||
-- quick save
|
-- quick save (change description)
|
||||||
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
|
["<C-s>"] = { ":w!<cr>", desc = "Save File" },
|
||||||
["<leader>P"] = { ":Telescope projects<cr>", desc = "Update Projects listing" },
|
["<leader>P"] = {
|
||||||
|
":Telescope projects<cr>",
|
||||||
|
desc = "Update Projects listing"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
t = {
|
t = {
|
||||||
-- setting a mapping to false will disable it
|
-- setting a mapping to false will disable it
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
-- luacheck: globals vim
|
||||||
return {
|
return {
|
||||||
-- You can also add new plugins here as well:
|
-- You can also add new plugins here as well:
|
||||||
-- Add plugins, the lazy syntax
|
-- Add plugins, the lazy syntax
|
||||||
@@ -48,12 +49,13 @@ return {
|
|||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
bottom = {
|
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",
|
ft = "toggleterm",
|
||||||
size = { height = 0.4 },
|
size = { height = 0.4 },
|
||||||
-- exclude floating windows
|
-- exclude floating windows
|
||||||
filter = function(buf, win)
|
filter = function(_, win)
|
||||||
return vim.api.nvim_win_get_config(win).relative == ""
|
return vim.api.nvim_win_get_config(win).relative == ""
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user