From 6f0bb0601443974c33e6bacde599f3977de9e013 Mon Sep 17 00:00:00 2001 From: jabuxas Date: Tue, 8 Oct 2024 17:03:10 -0300 Subject: [PATCH] feat: change liveserver implementation --- lua/custom/plugins/colorscheme.lua | 1 + lua/custom/plugins/live-server.lua | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lua/custom/plugins/colorscheme.lua b/lua/custom/plugins/colorscheme.lua index 761eae2..5ec0552 100644 --- a/lua/custom/plugins/colorscheme.lua +++ b/lua/custom/plugins/colorscheme.lua @@ -127,6 +127,7 @@ elseif fileContent == "solarized" then config = function(_, opts) vim.o.termguicolors = true require('solarized').setup(opts) + vim.o.background = 'dark' vim.cmd.colorscheme 'solarized' end, } diff --git a/lua/custom/plugins/live-server.lua b/lua/custom/plugins/live-server.lua index 35f37c5..1b651c9 100644 --- a/lua/custom/plugins/live-server.lua +++ b/lua/custom/plugins/live-server.lua @@ -1,4 +1,6 @@ return { - "barrett-ruth/live-server.nvim", - config = true, + "ngtuonghy/live-server-nvim", + event = "VeryLazy", + build = ":LiveServerInstall", + opts = {} }