Commit graph

130 commits

Author SHA1 Message Date
Artem Vasenin
2667904fb0 feat(blame_line): add option to show when not focused 2024-09-04 13:41:33 +01:00
Daniel Ebrahimian
d44a7948ff fix(docs): Add signs_staged to default config in README
Update doc file
2024-07-03 10:47:57 +01:00
Lewis Russell
92a8fbb845 feat!: remove current_line_blame_formatter_opts
- Also make relative time the default time format for current_line_blame_formatter
- When `current_line_blame_formatter` is passed as a function it is no
  longer passed an opts argument.
2024-06-19 14:51:26 +01:00
Lewis Russell
25b6ee4be5 feat(blame): add Gitsigns blame
Similar to fugitive blame.

Use `<CR>` on a commit line to open a menu with additional actions.

Release-As: 1.0.0
2024-06-18 17:08:59 +01:00
Lewis Russell
d9d94e055a feat!: drop support for nvim v0.8 2024-05-23 09:39:58 +01:00
Lewis Russell
59bdc1851c feat(nav): add nav_hunk()
- Deprecated `next_hunk()` and `prev_hunk()`.
- Can now navigate to the first/last hunk using `nav_hunk('first'|'last')`.
- Added `count` to navigation options. Defaults to `v:count1`.
- Updated recommended keymaps for navigation.
- Navigation actions now navigate to the first non-blank column.
2024-04-05 13:35:49 +01:00
Lewis Russell
224a319eda docs: add documentation for current_line_blame_formatter_opts.relative_time
Closes #912
2024-04-04 10:25:32 +01:00
Luke Franceschini
22c0ab8ec2 docs: change README.md configuration signs to match actual defaults
The default text sign for add and change is a "Box Drawings Heavy
Vertical" (U+2503). However, README.md uses "Box Drawings Light
Vertical" (U+2502) in its configuration for these signs. This
commit changes the sample configuration to match the actual defaults
used in the code, which then gets propagated to gitsigns.txt when
running gen_help.lua.

This way someone who wants to use the same symbol for untracked as add
and change, as I did, gets the same character when they copy and paste
from the documentation into their config.
2024-04-03 17:20:39 +01:00
Lewis Russell
b616ccb977 docs: add mini.diff to similar plugins 2024-04-03 09:23:16 +01:00
Lewis Russell
1bb277b41d feat(yadm): deprecate 2024-04-01 18:18:11 +01:00
hankertrix
2c2463dbd8 fix(docs)!: Use the new attached_to_untracked setting 2024-01-27 16:20:32 +00:00
Jose Pedro Oliveira
c5ff7628e1 fix: update lua-guide link in README
The previous link was pointing to the nvim-lua-guide project that has been
archived in December 2022.
2024-01-20 16:23:18 +00:00
ehrenschwan
4aaacbf5e5 fix: typo in README 2024-01-12 12:49:22 +00:00
martinra
3e6e91b09f
feat: configurable auto attach (#918)
* feat: configurable auto attach

* fixup! feat: configurable auto attach
2024-01-05 11:42:32 +00:00
Lewis Russell
87640f5a87
Update README.md 2023-12-08 16:32:24 +00:00
rafascar
af0f583cd3 fix(README): add default config.current_line_blame_opts.virt_text_priority 2023-10-26 12:06:58 +01:00
Apinant.u
5a9a6ac29a fix(README): correct default value Lspsaga integration. 2023-10-17 13:41:51 +01:00
Lewis Russell
287fffb410
docs: remove null-ls doc 2023-08-08 09:45:18 +01:00
Lewis Russell
3a6f1e296d docs: update 2023-06-19 13:22:31 +01:00
Daniel M. Capella
4f8f66da98 docs: consistent quotes 2023-06-14 22:48:04 +01:00
Lewis Russell
39d15d396d docs: remove installation instructions 2023-06-14 12:02:18 +01:00
Lewis Russell
4d63d996b0 refactor: remove teal 2023-06-13 15:32:14 +01:00
Matt Mirus
7dfe4be94b fix(README): correct undefined line() to vim.fn.line() 2023-04-21 19:31:33 +01:00
Lewis Russell
5d840679cf doc(README): use lua functions in keybindings
Closes #727
2023-04-21 12:02:00 +01:00
Alex Chen
372d5cb485 docs: require nvim 0.8+ 2023-04-04 08:31:54 +01:00
Raphael
4fee3745d3
docs: lspsaga extend gitsigns action 2023-02-13 10:41:00 +00:00
Lewis Russell
414aa7bc08 fix(highlight): several fixes from last PR 2023-01-11 10:21:45 +00:00
Lewis Russell
fa1e8c589a feat(signs): different add signs for untracked files
Resolves #569
2022-11-07 10:40:47 +00:00
Lewis Russell
2b4fc5e2ae docs: update README.md 2022-11-04 10:13:48 +00:00
Lewis Russell
88d7aae293 feat(diff): support for linematch
Requires https://github.com/neovim/neovim/pull/14537
2022-11-04 10:05:20 +00:00
dundargoc
851cd32caa
docs: fix typos (#656) 2022-10-25 14:19:46 +02:00
Lewis Russell
9787c94178 feat(repeat): better implementation 2022-10-07 16:53:11 +01:00
Lewis Russell
f623543458 chore(ci)!: drop support for v0.6.x 2022-10-07 14:02:11 +01:00
Lewis Russell
e38e6c01a9 docs: update README.md 2022-09-01 11:37:15 +01:00
Lewis Russell
50e32c6309 feat: support for detached working trees
Added config.worktrees.

Array of tables with the keys 'gitdir' and 'toplevel'.

If attaching normally fails, then each entry in the table is attempted.

Example:

  worktrees = {
    {
      toplevel = vim.env.HOME,
      gitdir = vim.env.HOME .. '/projects/dotfiles/.git'
    }
  }

Resolves #397
2022-08-10 11:15:42 +01:00
Andrew Ferrier
8b817e76b6
doc: document max_file_length fully (#597)
Co-authored-by: Lewis Russell <me@lewisr.dev>
2022-07-25 10:10:07 +01:00
Rafael Madriz
ffd06e36f6
doc: telescope no longer supports lsp_code_actions
Telescope removed support for `code_actions`.
See: `help telescope.changelog-1866`

Ref: https://github.com/nvim-telescope/telescope.nvim/pull/1866

Co-authored-by: Lewis Russell <lewis6991@gmail.com>
2022-05-12 11:40:42 +01:00
Lewis Russell
d03b7278b0 doc: update keymaps section in README (take 2) 2022-03-29 17:41:34 +01:00
Lewis Russell
709455d2df doc: update keymaps section in README 2022-03-29 10:51:50 +01:00
Lewis Russell
2a107231d9 refactor: vendor in async lib
- Typed teal implementation
- Better error diagnostics
- Removes dependency on plenary.nvim
2022-03-25 17:24:05 +00:00
Lewis Russell
7ff03e1eba feat(nav): add option to auto preview
Resolves #494
2022-03-25 17:03:52 +00:00
Lewis Russell
420db8ddb9 feat(blame): support format strings
- config.current_line_blame_formatter can now be specified as a format
string.

- changed default of `config.current_line_blame_formatter` to
  '<author>, <author_time:%R> - <summary>' which is equivalent to the
  previous function default.

- deprecated config.current_line_blame_formatter_opts

Resolves #291
2022-02-13 15:23:41 +00:00
Lewis Russell
0cba66ab9e
doc(README): requirements 2022-02-01 17:27:17 +00:00
Lewis Russell
e91fda815a fix(README): suggested mappings work with range
Fixes #462
2022-01-31 22:16:45 +00:00
Lewis Russell
4861666b58
doc: update README.md
Add example for on_attach for Neovim versions earlier than v0.7
2022-01-26 09:51:29 +00:00
Lewis Russell
58e5d6d85e refactor!: deprecate config.keymaps
BREAKING CHANGE: Removed default keymaps. Instead on_attach should be
used. See README.md.
2022-01-22 09:26:27 +00:00
Lewis Russell
63e8a642cf chore(): update README 2022-01-14 17:14:01 +00:00
Lewis Russell
f362e54e11 feat(actions): true partial hunk staging
Resolves #338
2021-12-04 18:38:52 +00:00
Lewis Russell
0ffa5a082e Change mappings to use Gitsigns command 2021-12-04 18:38:52 +00:00
Lewis Russell
5e49bb09f3 chore(doc): Update README with new config 2021-11-17 10:50:31 +00:00