http-codes.nvim/plugin/http-codes.lua
Barrett Ruth 4dce284c10 refactor: use vim.g config and lazy loading
Replace setup() with vim.g.http_codes configuration. Add plugin/ file
with load guard for proper lazy loading via lazy.nvim or other managers.
2026-02-03 20:12:54 -05:00

8 lines
171 B
Lua

if vim.g.loaded_http_codes then
return
end
vim.g.loaded_http_codes = 1
vim.api.nvim_create_user_command('HTTPCodes', function()
require('http-codes').pick()
end, {})