From a4485dfc3ef08fcefd30f1cca9d44b2937103276 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Wed, 7 Feb 2024 15:22:42 +0100 Subject: [PATCH] nvim fixes --- nvim/init.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 0943ddb..9258bbc 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -273,6 +273,11 @@ require("lazy").setup({ local map = vim.keymap.set map("", "gl", "vertical Flogsplit -path=%", {}) map("", "gL", "vertical Flogsplit", {}) + vim.g.flog_permanent_default_opts = { + -- format = "%ad [%h] {%an}%d %s", + format = "%ad [%h]%d %s", + date = "short", + } end, }, { @@ -549,7 +554,7 @@ require("lazy").setup({ end, }, { - "mhartington/formatter.nvim", + "mhartington/formatter.nvim", -- TODO move to conform -- Utilities for creating configurations config = function() local util = require("formatter.util") @@ -596,7 +601,7 @@ require("lazy").setup({ end, function() return { - exe = "black", + exe = "black", -- TODO move to ruff args = { "--quiet", "-C", "--line-length", "100", "-" }, stdin = true, }