From abf7fee04885befaf99eff6a62c8c5774df8613e Mon Sep 17 00:00:00 2001 From: Ahmed Khalf Date: Thu, 12 Aug 2021 01:48:49 +0400 Subject: Use rounded borders for packer (#1296) --- lua/plugin-loader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugin-loader.lua') diff --git a/lua/plugin-loader.lua b/lua/plugin-loader.lua index b7e68a1e..e238b193 100644 --- a/lua/plugin-loader.lua +++ b/lua/plugin-loader.lua @@ -23,7 +23,7 @@ function plugin_loader:init() git = { clone_timeout = 300 }, display = { open_fn = function() - return util.float { border = "single" } + return util.float { border = "rounded" } end, }, } -- cgit v1.2.3 From 27679f988fe187f9831ba7895c9c3a7ce2dd14f4 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Thu, 26 Aug 2021 20:32:16 +0200 Subject: [Refactor]: only allow a single logger (#1405) --- lua/plugin-loader.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lua/plugin-loader.lua') diff --git a/lua/plugin-loader.lua b/lua/plugin-loader.lua index e238b193..aa1e888d 100644 --- a/lua/plugin-loader.lua +++ b/lua/plugin-loader.lua @@ -1,13 +1,10 @@ local plugin_loader = {} function plugin_loader:init() - local execute = vim.api.nvim_command - local fn = vim.fn - local install_path = "~/.local/share/lunarvim/site/pack/packer/start/packer.nvim" - if fn.empty(fn.glob(install_path)) > 0 then - execute("!git clone https://github.com/wbthomason/packer.nvim " .. install_path) - execute "packadd packer.nvim" + if vim.fn.empty(vim.fn.glob(install_path)) > 0 then + vim.fn.system { "git", "clone", "https://github.com/wbthomason/packer.nvim", install_path } + vim.cmd "packadd packer.nvim" end local packer_ok, packer = pcall(require, "packer") -- cgit v1.2.3