1.3 KiB
1.3 KiB
http-codes.nvim
Quickly investigate HTTP status codes with the help of mozilla, including telescope and fzf-lua integrations.
Installation
Install via your favorite package manager, like lazy:
require('lazy').setup({
{
'barrett-ruth/http-codes.nvim'
opts = {
-- defaults to available picker: 'fzf-lua' or 'telescope'
use = 'fzf-lua'
-- How the mozilla url is opened.
-- Configured by default based on OS:
open_url = 'xdg-open %s' -- UNIX
-- = 'open %s' -- OSX
-- = 'start %s' -- Windows
},
-- or 'nvim-telescope/telescope.nvim'
dependencies = 'ibhagwan/fzf-lua'
}
})
Configuration
Usage
Use the exposed command in vimscript:
:HTTPCodes
or in lua:
require('http-codes').http_codes()
Migration
If migrating from telescope-http.nvim, follow the above instructions—no telescope-specific config is necessary.