Switched plugins around, formatting

This commit is contained in:
2023-03-09 08:16:26 +02:00
parent 890023c86c
commit a4af0e0e98

View File

@@ -88,7 +88,7 @@ local config = {
formatting = { formatting = {
-- control auto formatting on save -- control auto formatting on save
format_on_save = { format_on_save = {
enabled = true, -- enable or disable format on save globally enabled = true, -- enable or disable format on save globally
allow_filetypes = { -- enable format on save for specified filetypes only allow_filetypes = { -- enable format on save for specified filetypes only
-- "go", -- "go",
}, },
@@ -184,15 +184,15 @@ local config = {
-- { "max397574/better-escape.nvim", enabled = false }, -- { "max397574/better-escape.nvim", enabled = false },
-- --
-- You can also easily customize additional setup of plugins that is outside of the plugin's setup call -- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
-- { {
-- "L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
-- config = function(plugin, opts) config = function(plugin, opts)
-- require "plugins.configs.luasnip"(plugin, opts) -- inc. default astronvim config that calls the setup call require "plugins.configs.luasnip" (plugin, opts) -- inc. 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" })
-- end, end,
-- }, },
-- { -- {
-- "windwp/nvim-autopairs", -- "windwp/nvim-autopairs",
-- config = function(plugin, opts) -- config = function(plugin, opts)
@@ -441,8 +441,8 @@ local config = {
{ import = "astrocommunity.diagnostics.trouble-nvim" }, { import = "astrocommunity.diagnostics.trouble-nvim" },
{ import = "astrocommunity.editing-support.refactoring-nvim" }, { import = "astrocommunity.editing-support.refactoring-nvim" },
{ import = "astrocommunity.editing-support.neogen" }, { import = "astrocommunity.editing-support.neogen" },
{ import = "astrocommunity.indent.mini-indentscope" },
{ import = "astrocommunity.markdown-and-latex.glow-nvim" }, { import = "astrocommunity.markdown-and-latex.glow-nvim" },
{ import = "astrocommunity.pack.typescript" },
{ import = "astrocommunity.project.neoconf-nvim" }, { import = "astrocommunity.project.neoconf-nvim" },
{ import = "astrocommunity.test.neotest" }, { import = "astrocommunity.test.neotest" },
{ import = "astrocommunity.utility.neodim" }, { import = "astrocommunity.utility.neodim" },