No description
Find a file
Barrett Ruth baeb211719
fix: add one-time deprecation notice for Neovim < 0.10 (#31)
## Problem

v0.2.0 will replace the npm `live-server` dependency with a pure-Lua
HTTP
server that requires Neovim >= 0.10 (`vim.uv`, `vim.ui.open`). Users on
older Neovim versions who auto-update will get a cryptic Lua error with
no
explanation or migration path.

## Solution

Add a one-time notification at plugin load time for Neovim < 0.10 users.
The notice tells them v0.2.0 will require Neovim >= 0.10 and shows how
to
pin to the `v0.1.6` tag. A marker file in `stdpath('data')` ensures the
message fires exactly once, ever. The plugin continues to work normally
after the notice — no functionality is removed.

This is the last release supporting Neovim < 0.10 and npm `live-server`.
Tag as `v0.1.6` after merge.
2026-02-23 13:08:52 -05:00
.github fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00
doc feat: add <Plug> mappings (#27) 2026-02-07 14:02:00 -05:00
lua feat(doc): luacats and other docs 2026-02-04 01:05:57 -05:00
plugin fix: add one-time deprecation notice for Neovim < 0.10 (#31) 2026-02-23 13:08:52 -05:00
.editorconfig chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.gitignore chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.luarc.json chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.pre-commit-config.yaml feat: run pre-commit 2026-02-03 21:03:18 -05:00
LICENSE fix(ci): add license 2026-02-03 21:28:34 -05:00
live-server.nvim-scm-1.rockspec chore: add CI, pre-commit, and luarocks configs 2026-02-03 21:01:57 -05:00
README.md fix: move readme 2026-02-03 22:37:54 -05:00
selene.toml fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00
stylua.toml chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
vim.toml fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00

live-server.nvim

Live reload HTML, CSS, and JavaScript files inside Neovim with the power of live-server.

Installation

Install with your package manager or via luarocks:

luarocks install live-server.nvim

Dependencies

Documentation

:help live-server.nvim