conform
This commit is contained in:
@ -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 = {
|
||||||
|
@ -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" },
|
||||||
|
@ -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>" },
|
||||||
|
Reference in New Issue
Block a user