Skip to content

A Neovim plugin that talks to Hound ๐Ÿ• (code search)

Notifications You must be signed in to change notification settings

davegallant/hound.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

hound.nvim

A plugin that can query and display hound code search results with highlighting. This is a port of jfo/hound.vim in Lua.

Install

-- Lua
use {
  "davegallant/hound.nvim",
  requires = "nvim-lua/plenary.nvim",
  config = function()
    require("hound").setup {
      -- your config or leave blank for defaults
    }
  end
}

โš™๏ธ Configuration

{
  -- base url for the hound api
  hound_base_url = "http://localhost",
  -- the port hound is running on
  hound_port = 6080,
  -- how to open the search results (vsplit, split, tabnew). Defaults to nil (the same buffer).
  search_results_buffer = nil,
  -- whether or not urls should be displayed alongside file matches
  display_file_match_urls = false,
  -- format for display_file_match_urls
  file_match_url_pattern = "https://github.com/{repo}/blob/{revision}/{path}#L{lineno}",
}

Usage

The :Hound command that takes a query (string) and displays the search results in a buffer.

About

A Neovim plugin that talks to Hound ๐Ÿ• (code search)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published