From 836667ac77e4b39824900a7f21b61d8ed1685002 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 13 Aug 2022 14:44:37 +0200 Subject: [PATCH] nvim: don't compile again after sync --- .config/nvim/init.lua | 4 +--- .config/nvim/lua/my/coding.lua | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index bf8da90..b36ef94 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -11,8 +11,6 @@ require('my/net') if packer_bootstrap then require('packer').sync() -end - -if not io.open(vim.fn.stdpath('config') .. '/plugin') then +elseif not io.open(vim.fn.stdpath('config') .. '/plugin') then require('packer').install() end diff --git a/.config/nvim/lua/my/coding.lua b/.config/nvim/lua/my/coding.lua index 6f36e19..905f8c3 100644 --- a/.config/nvim/lua/my/coding.lua +++ b/.config/nvim/lua/my/coding.lua @@ -57,4 +57,3 @@ packer.use { { paths = vim.fn.stdpath('config') .. '/snippets'} ) end } -