diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 14ab5e2cb2e25031ef56218e74e3d3ed8c92a4a8 (patch) | |
| tree | 63e7bcfe0e0d3cfcc0141e4b6d8ca89f011aa0b6 /.config/nvim/lua/plugin/liveserver.lua | |
| parent | 7cca5541771ce99ff88279583906693007feb0e8 (diff) | |
meh
Diffstat (limited to '.config/nvim/lua/plugin/liveserver.lua')
| -rw-r--r-- | .config/nvim/lua/plugin/liveserver.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin/liveserver.lua b/.config/nvim/lua/plugin/liveserver.lua new file mode 100644 index 0000000..542a1fb --- /dev/null +++ b/.config/nvim/lua/plugin/liveserver.lua @@ -0,0 +1,13 @@ +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 = vim.fn.stdpath "config" .. "/live-server/", +}) + |
