This commit is contained in:
Christian Nieves
2025-02-05 19:01:25 +00:00
parent e0daf87594
commit c04a169229
3 changed files with 55 additions and 62 deletions

View File

@ -25,7 +25,6 @@ return {
{ {
"MagicDuck/grug-far.nvim", "MagicDuck/grug-far.nvim",
config = function() config = function()
vim.g.maplocalleader = ","
require("grug-far").setup({ require("grug-far").setup({
-- search and replace engines configuration -- search and replace engines configuration
engines = { engines = {

View File

@ -12,7 +12,6 @@ end, {
desc = "Disable autoformat-on-save", desc = "Disable autoformat-on-save",
bang = true, bang = true,
}) })
vim.api.nvim_create_user_command("FormatEnable", function() vim.api.nvim_create_user_command("FormatEnable", function()
vim.b.disable_autoformat = false vim.b.disable_autoformat = false
vim.g.disable_autoformat = false vim.g.disable_autoformat = false
@ -64,9 +63,6 @@ return {
-- have other formatters configured. -- have other formatters configured.
["_"] = { "trim_whitespace" }, ["_"] = { "trim_whitespace" },
}, },
format_on_save = function(bufnr)
-- Disable with a global or buffer-local variable
end,
formatters = { formatters = {
gdformat = { gdformat = {
prepend_args = { "-l", "100" }, prepend_args = { "-l", "100" },

View File

@ -276,8 +276,6 @@ return {
}, },
-- here are some mappings you might want: -- here are some mappings you might want:
keys = { keys = {
{ "]c", ":CritiqueGotoNextComment<CR>" },
{ "[c", ":CritiqueGotoPrevComment<CR>" },
{ "<Leader>lc", ":CritiqueToggleLineComment<CR>" }, { "<Leader>lc", ":CritiqueToggleLineComment<CR>" },
{ "<Leader>ac", ":CritiqueToggleAllComments<CR>" }, { "<Leader>ac", ":CritiqueToggleAllComments<CR>" },
{ "<Leader>uc", ":CritiqueToggleUnresolvedComments<CR>" }, { "<Leader>uc", ":CritiqueToggleUnresolvedComments<CR>" },