From 4778a88d7a8ca2b56965bbe473263aeaecbd77f6 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Jul 2021 20:28:40 +0200 Subject: Neoformat loaded on startup --- .config/nvim/lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 1f9e4a3..1e34627 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -60,7 +60,7 @@ return require("packer").startup(function(use) config = function() require "cfg.neoformat" end, - event = "BufRead", + event = "BufWinEnter", } use { -- cgit v1.2.3-70-g09d2