Commit graph

18 commits

Author SHA1 Message Date
Iordanis Petkakis
d62e7527a5
feat(words): add filter function for user to disable specific filetypes (#1296)
## Description
This allows user to specify explicitly filetypes to disable
`snacks.words`.
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
Closes #1294 
<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->
2025-02-19 15:24:01 +01:00
Folke Lemaitre
45ec90bdd9
fix(words): default count to 1. Closes #1307 2025-02-19 15:12:59 +01:00
Folke Lemaitre
566f302903
fix(words): added support for new name of the namespace used for lsp references. Fixes #555 2025-01-16 23:06:57 +01:00
Folke Lemaitre
80dcb88ede
fix(words): only check modes for is_enabled when needed 2024-12-16 21:17:31 +01:00
Folke Lemaitre
9c8f3d5318
fix(words): incorrect enabled check. Fixes #247 2024-12-11 10:05:30 +01:00
Folke Lemaitre
140204fde5 build: added metadata to plugins 2024-12-10 13:55:51 +01:00
Folke Lemaitre
bd7cf03823 feat(words): added toggle for words 2024-12-10 13:55:51 +01:00
Folke Lemaitre
4f99818b0a
fix: added compatibility with Neovim >= 0.9.4 2024-11-09 15:38:43 +01:00
Folke Lemaitre
7e6ea65f5f
docs: better docgen using treesitter 2024-11-09 14:42:09 +01:00
Chris Grieser
5dc749b045
feat(words): add fold_open and set_jump_point config options (#31)
## Description
Added `fold_open` and `set_jump_point` as config options for
`Snacks.words.jump`.
2024-11-08 14:18:39 +01:00
Folke Lemaitre
d079fbfe35
feat(words): configurable mode to show references. Defaults to n, i, c. Closes #18 2024-11-08 09:44:45 +01:00
Folke Lemaitre
9576081e87
fix(words): disable notify_jump by default 2024-11-08 09:15:17 +01:00
Chris Grieser
6a3f865357
feat(words): jump optionally shows notification with reference count (#23)
## Description

Add an opt-in option to show a notification for `Snacks.words.jump`,
that displays the number and index of the current reference. The
notification uses `Snacks.notify.info` to be consistent with the rest of
the repo.

## Screenshots

![Pasted image 2024-11-07 at 16 39
46](https://github.com/user-attachments/assets/35930d62-335a-44b4-be9d-2799c129d324)

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-11-08 09:14:30 +01:00
Folke Lemaitre
82ea3e68c4
docs: moar docs 2024-11-06 11:43:50 +01:00
Folke Lemaitre
983621b0fe
docs: docgen 2024-11-06 11:27:52 +01:00
Folke Lemaitre
796d235771
docs: docgen 2024-11-06 00:39:27 +01:00
Folke Lemaitre
c71f3c84f4
docs: update 2024-11-06 00:35:44 +01:00
Folke Lemaitre
73445af400
feat: words 2024-11-03 15:10:35 +01:00