https://github.com/alanoliveira/telescope-taglist
A telescope extension to display tags
https://github.com/alanoliveira/telescope-taglist
ctags nvim telescope telescope-extension
Last synced: 7 months ago
JSON representation
A telescope extension to display tags
- Host: GitHub
- URL: https://github.com/alanoliveira/telescope-taglist
- Owner: alanoliveira
- License: mit
- Created: 2025-01-04T09:23:27.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-01-20T02:07:41.000Z (9 months ago)
- Last Synced: 2025-03-14T18:22:36.349Z (7 months ago)
- Topics: ctags, nvim, telescope, telescope-extension
- Language: Lua
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telescope-taglist
A [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) extension to display tags.
It differs from the built-in `tags` picker because it uses the `taglist` function (`:h taglist`) to generate the entries.
Additionally, it allows applying an initial filter and displaying extra fields.
## Setup
Using [lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
{
"alanoliveira/telescope-taglist",
dependencies = { "nvim-telescope/telescope.nvim" },
config = true,
}
```## Usage
Showing all tags
```
:Telescope taglist
```Filtering
```
:Telescope taglist search=SomeRegexp
```Creating a shortcut to search the tag under the cursor
```
:nnoremap gd :Telescope taglist search=
```### Options
Besides the options common to all pickers, the following options control which fields are displayed:
- `show_kind` (boolean): Determines whether to show the tag kind
- `show_scope` (boolean): Determines whether to show the tag value for any additional field such as **class**,
**module**, etc...Read about tags format at https://man.archlinux.org/man/tags.5#Proposal