fix(plugins): fix default configuration syntax

This commit is contained in:
Micah Halter 2023-03-11 20:52:24 -05:00
parent 2d62b10020
commit 821aa73190
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ return {
-- { -- {
-- "L3MON4D3/LuaSnip", -- "L3MON4D3/LuaSnip",
-- config = function(plugin, opts) -- config = function(plugin, opts)
-- plugin.default_config(opts) -- include the default astronvim config that calls the setup call -- require "plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call
-- -- add more custom luasnip configuration such as filetype extend or custom snippets -- -- add more custom luasnip configuration such as filetype extend or custom snippets
-- local luasnip = require "luasnip" -- local luasnip = require "luasnip"
-- luasnip.filetype_extend("javascript", { "javascriptreact" }) -- luasnip.filetype_extend("javascript", { "javascriptreact" })
@ -36,7 +36,7 @@ return {
-- { -- {
-- "windwp/nvim-autopairs", -- "windwp/nvim-autopairs",
-- config = function(plugin, opts) -- config = function(plugin, opts)
-- plugin.default_config(opts) -- include the default astronvim config that calls the setup call -- require "plugins.configs.nvim-autopairs"(plugin, opts) -- include the default astronvim config that calls the setup call
-- -- add more custom autopairs configuration such as custom rules -- -- add more custom autopairs configuration such as custom rules
-- local npairs = require "nvim-autopairs" -- local npairs = require "nvim-autopairs"
-- local Rule = require "nvim-autopairs.rule" -- local Rule = require "nvim-autopairs.rule"
@ -66,7 +66,7 @@ return {
-- { -- {
-- "folke/which-key.nvim", -- "folke/which-key.nvim",
-- config = function(plugin, opts) -- config = function(plugin, opts)
-- plugin.default_config(opts) -- require "plugins.configs.which-key"(plugin, opts) -- include the default astronvim config that calls the setup call
-- -- Add bindings which show up as group name -- -- Add bindings which show up as group name
-- local wk = require "which-key" -- local wk = require "which-key"
-- wk.register({ -- wk.register({