Skip to content

Commit

Permalink
feat(yadm): deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Apr 1, 2024
1 parent 3cb0f84 commit 1bb277b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 0 additions & 6 deletions README.md
Expand Up @@ -31,7 +31,6 @@ Super fast git decorations implemented purely in Lua.
- Automatically follow files moved in the index.
- Live intra-line word diff
- Ability to display deleted/changed lines via virtual lines.
- Support for [yadm]
- Support for detached working trees.

## Requirements
Expand Down Expand Up @@ -96,9 +95,6 @@ require('gitsigns').setup {
row = 0,
col = 1
},
yadm = {
enable = false
},
}
```

Expand Down Expand Up @@ -256,7 +252,6 @@ Customizable signs and mappings | :white_check_mark:
Customizable extra diff arguments | :white_check_mark: | :white_check_mark: |
Can be toggled globally or per buffer | :white_check_mark: * | :white_check_mark: | * Through the detach/attach functions
Statusline integration | :white_check_mark: | :white_check_mark: |
Works with [yadm] | :white_check_mark: | |
Live blame in buffer (using virtual text) | :white_check_mark: | |
Blame preview | :white_check_mark: | |
Automatically follows open files moved with `git mv` | :white_check_mark: | |
Expand Down Expand Up @@ -297,5 +292,4 @@ If you are using lspsaga.nvim you can config `code_action.extend_gitsigns` (defa
[vim-gitgutter]: https://github.com/airblade/vim-gitgutter
[vim-signify]: https://github.com/mhinz/vim-signify
[virtual lines]: https://github.com/neovim/neovim/pull/15351
[yadm]: https://yadm.io
[lspsaga.nvim]: https://github.com/glepnir/lspsaga.nvim
7 changes: 4 additions & 3 deletions doc/gitsigns.txt
Expand Up @@ -72,9 +72,6 @@ of the default settings:
row = 0,
col = 1
},
yadm = {
enable = false
},
}
<

Expand Down Expand Up @@ -875,6 +872,10 @@ trouble *gitsigns-config-trouble*
quickfix/location list window.

yadm *gitsigns-config-yadm*
DEPRECATED

Please instead use |gitsigns-config-on_attach_pre|.

Type: `table`
Default: >
`{
Expand Down
3 changes: 3 additions & 0 deletions lua/gitsigns/config.lua
Expand Up @@ -751,6 +751,9 @@ M.schema = {

yadm = {
type = 'table',
deprecated = {
new_field = 'on_attach_pre',
},
default = { enable = false },
description = [[
yadm configuration.
Expand Down

0 comments on commit 1bb277b

Please sign in to comment.