-- ╭──────────────────────────────────────────────────────────────────────╮ -- │ Live-Server │ -- │ │ -- │ https://github.com/aurum77/live-server.nvim │ -- │ │ -- ╰──────────────────────────────────────────────────────────────────────╯ return { { "aurum77/live-server.nvim", lazy = true, cmd = { "LiveServer", "LiveServerStart", "LiveServerStop", "LiveServerInstall" }, build = function() require("live_server.util").install() end, -- cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" }, config = function() local status_ok, live_server = pcall(require, "live_server") if not status_ok then return end live_server.setup({ port = 8080, browser_command = "", -- Empty string starts up with default browser quiet = false, no_css_inject = false, -- Disables css injection if true, might be useful when testing out tailwindcss install_path = os.getenv("HOME") .. "/live/", }) end, }, }