Skip to content

kungfusheep/snipe-lsp.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

snipe-lsp

snipe-lsp adds some lsp support to "leath-dub/snipe.nvim" by providing a way to navigate through symbols in the current buffer.

output

Features

  • Navigate through symbols in the current buffer quickly using mnemonics.
  • Open the symbols menu in the current buffer or split/vsplit the window for the result.
  • Customizable keymaps for opening the symbols menu.

Installation

Use your favorite plugin manager. For example, with here is how you can install the plugin using lazy

{
	"kungfusheep/snipe-lsp.nvim",
	event = "VeryLazy",
	dependencies = "leath-dub/snipe.nvim",
	opts = {},
},

Configuration

You can configure snipe-lsp by passing a table to the setup function. Here is an example of the default configuration:

{
	open_symbols_menu = '<leader>ds',
	open_symbols_menu_for_split = '<leader>sds',
	open_symbols_menu_for_vsplit = '<leader>vds',
}

Usage

You can use the default keymaps provided. The plugin provides three commands:

  • :SnipeLspSymbols — Open the symbols menu
  • :SnipeLspSymbolsSplit — Open the symbols menu and split the window for the result.
  • :SnipeLspSymbolsVSplit — Open the symbols menu and vsplit the window for the result.

Contributing

If you would like to contribute to the project, please feel free to open a pull request or an issue.

License

This project is licensed under the MIT license.

About

A neovim plugin which uses snipe to navigate lsp symbols

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages