Commit graph

7 commits

Author SHA1 Message Date
Barrett Ruth
f42f958c24
feat: replace npm live-server with pure-Lua HTTP server (#29)
## Problem

The plugin requires users to install Node.js and the `live-server` npm
package globally. This is a heavyweight external dependency for what
amounts to a simple local dev-server workflow, and it creates friction
for users who don't otherwise need Node.js.

## Solution

Replace the npm shell-out with a pure-Lua HTTP server built on `vim.uv`
(libuv bindings), eliminating all external dependencies. The new server
supports static file serving, SSE-based live reload, CSS hot-swap
without full page reload, directory listings, and recursive file
watching with configurable debounce.

Minimum Neovim version is bumped to 0.10 for `vim.uv` and `vim.ui.open`.
The old `args`-based config is automatically migrated with a deprecation
warning.

Closes #28.
2026-03-02 23:16:35 -05:00
Barrett Ruth
26dafe2f08
feat: add <Plug> mappings (#27)
## Problem

Users who want keybindings must call Lua functions directly or wrap
commands in closures. There is no stable public API for key binding.

## Solution

Define <Plug> mappings in the plugin file and document them in a new
MAPPINGS section in the vimdoc.
2026-02-07 14:02:00 -05:00
a59bec1ae3 feat(doc): luacats and other docs 2026-02-04 01:05:57 -05:00
4ee3715efa docs: modernize readme and vimdoc
- Update homepage URL to barrettruth.com
- Replace setup() docs with vim.g.live_server config
- Add luarocks installation to readme
- Remove lazy.nvim specific example
2026-02-03 21:11:26 -05:00
84751fd8a7 feat(doc): optional dir arg to commands 2024-07-13 19:10:13 -05:00
0e4cf0e7e8 feat(docs): update website 2024-01-24 10:06:48 -05:00
Barrett Ruth
894692f380 initial commit 2023-01-07 20:42:18 -06:00