commit 6a87af3f640fe457bf983d50bf231b09e9d7a181
parent 3f5e0e244bcae2b06e79a6068bbbdfa3a8f64774
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 25 Aug 2024 21:53:18 -0700
vim: pass opts config structure for Lua plugins
This is required for some of them. Comment.nvim is a good example.
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.config/nvim/lua/plugins/languages.lua b/.config/nvim/lua/plugins/languages.lua
@@ -1,6 +1,7 @@
return {
{
"https://gn.googlesource.com/gn",
+ opts = {},
config = function(plugin)
vim.opt.rtp:append(plugin.dir .. "/misc/vim")
end
@@ -8,6 +9,7 @@ return {
{ "nathangrigg/vim-beancount" },
{
"neovim/nvim-lspconfig",
+ opts = {},
config = function()
local lspconfig = require('lspconfig')
lspconfig.clangd.setup({})
diff --git a/.config/nvim/lua/plugins/utilities.lua b/.config/nvim/lua/plugins/utilities.lua
@@ -14,9 +14,13 @@ return {
},
{
"ibhagwan/fzf-lua",
+ opts = {},
dependencies = "nvim-tree/nvim-web-devicons",
},
- { "lewis6991/gitsigns.nvim" },
+ {
+ "lewis6991/gitsigns.nvim",
+ opts = {},
+ },
{
"nvim-tree/nvim-tree.lua",
opts = {