Skip to content

Commit

Permalink
Format lua
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed Jan 25, 2024
1 parent 1deb508 commit 681bd35
Show file tree
Hide file tree
Showing 12 changed files with 387 additions and 393 deletions.
2 changes: 1 addition & 1 deletion nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local function setPlugins()
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup('plugins')
require("lazy").setup("plugins")
end

local function setClipboard()
Expand Down
3 changes: 1 addition & 2 deletions nvim/lua/plugins/comment.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
return {
"numToStr/Comment.nvim",
opts = {}
opts = {},
}

2 changes: 1 addition & 1 deletion nvim/lua/plugins/completions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ return {
"hrsh7th/cmp-nvim-lsp", -- get completions from lsp
"L3MON4D3/LuaSnip", -- snippet engine
"saadparwaiz1/cmp_luasnip", -- integrate luasnip and cmp(?)
}
},
}
5 changes: 2 additions & 3 deletions nvim/lua/plugins/debug-adapters.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
local function configure()
end
local function configure() end

return {
"rcarriga/nvim-dap-ui",
config = configure,
dependencies = { "mfussenegger/nvim-dap" }
dependencies = { "mfussenegger/nvim-dap" },
}
17 changes: 8 additions & 9 deletions nvim/lua/plugins/firenvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,12 @@ end
-- Slack :: Preference > Advanced > Use Markup editor

return {
'glacambre/firenvim',
-- Lazy load firenvim
-- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297
lazy = not vim.g.started_by_firenvim,
build = function()
vim.fn["firenvim#install"](0)
end,
config = configure
"glacambre/firenvim",
-- Lazy load firenvim
-- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297
lazy = not vim.g.started_by_firenvim,
build = function()
vim.fn["firenvim#install"](0)
end,
config = configure,
}

6 changes: 3 additions & 3 deletions nvim/lua/plugins/gitsigns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ local function on_attach(buffer)
end

local function configure()
require('gitsigns').setup({
require("gitsigns").setup({
signcolumn = true,
on_attach = on_attach
on_attach = on_attach,
})
end

return {
"lewis6991/gitsigns.nvim",
config = configure
config = configure,
}
Loading

0 comments on commit 681bd35

Please sign in to comment.