Cameron
a4981b11a5
Remove NeogitMessages user command. Use :Notifications instead.
2023-09-19 15:23:14 +02:00
Price Hiller
68f5bbd6ac
style: format with stylua
2023-07-27 21:55:19 -05:00
Cameron
34aebb88a8
Breaking: Add pull popup flag '--rebase' to ignored settings. If you
...
experience issues, use `:NeogitResetState` to fix it.
2023-07-22 14:03:31 +02:00
Cameron
888e0e4280
Add "NeogitMessages" command to show history of neogit messages
2023-07-15 21:18:34 +02:00
Tei Roberts
2976f33d1e
fix: move Neogit command to plugin/
2022-10-27 09:23:12 +02:00
Tei Roberts
0ae9fc91b1
fix: only autorefresh when neogit buffer is open
2022-10-03 11:40:28 +02:00
smjonas
1af4b72630
feat: Neogit command completion
2022-07-09 16:54:30 +02:00
Donnie West
4ef545861c
feat: expose a function to allow manual refreshing
...
Currently, refresh_viml_compat is considered a private API. Here we
expose a similar function to allow the user to tap into the same
functionality both in lua and in vimscript
2022-02-14 10:35:31 -06:00
Sindre T. Strøm
b688a2c61f
feat: Dynamically generate highlight groups based on color scheme.
...
When Neogit highlight groups are not defined by the active color
scheme, they'll be generated. The color generation will take properties
such as 'lightness' into account, such that the resulting highlight
groups will work well for both light and dark color schemes.
* chore(color): Correct some code documentation.
* chore: Please linter.
2021-10-28 15:54:27 +02:00
Florian Proksch
b02df66b4f
refactor: safely bootstrap plugin
...
The plugin is now safely bootstrapped, as to not error on missing
dependencies; a warning message is printed though.
2021-04-11 22:04:03 +02:00
Florian Proksch
34458efc55
fix: resolve file path to repository root
...
When refreshing file from autocommand, the file name will now be
resolved through git, ensuring we have the relative path from the
repository root.
2021-04-11 10:56:32 +02:00
Florian Proksch
f1e5d3f377
refactor: make refresh async
...
Make refresh an async function to more easily await it where necessary.
Add utility functions that can be executed asynchronously for places
where awaiting isn't easily possible.
2021-04-10 16:31:37 +02:00
Florian Proksch
33d0f9374d
refactor: move __Neogit globals to module scope
2021-04-06 17:25:09 +02:00
TimUntersberger
f9fa3177b8
feat: Neogit subcommands
...
Close #55
2021-03-25 11:36:42 +01:00
Chinmay Dalal
b785c62a8b
move parsing to util
2021-03-23 00:16:13 +05:30
Chinmay Dalal
5c5c0e850a
key-value args
2021-03-22 22:12:41 +05:30
Chinmay Dalal
18ab2bc60b
Add cmd arguments
2021-03-22 11:09:11 +05:30
Florian Proksch
c7264c4df3
test: staging functionality
...
Add integration test for staging functionality in status buffer.
A few minor changes had to me made to accomodate for testing:
- The refresh function now returns a callback that, when called, blocks
the execution until the frefresh is finished.
- Caching for the git base directory has been removed, as the cache does
not refresh when the the neovim instance changes directory (which is
used extensively in the test-suite to setup a fixed repository)
Additionally, the git status is now refreshed automatically when
changing directory.
2021-02-07 22:29:20 +01:00
TimUntersberger
e2cc7de06a
fix: toggling diff works again as well as partial stage/unstage
2020-09-12 14:30:37 +02:00
TimUntersberger
0b63644bfb
s
2020-09-11 21:34:27 +02:00
TimUntersberger
249c71eb2e
fix: neogit no longer freezes vim on windows
2020-09-07 22:58:56 +02:00
Tim Untersberger
28fb0f414e
feat(git-command-history): $ to see git command history
2020-07-28 17:38:04 +02:00
Tim Untersberger
f3be1916be
refactor(buffer): automatically create a mappings_manager when creating a buffer and pass it as second argument to the initialize function
2020-07-27 14:13:05 +02:00
Tim Untersberger
e1bae3308f
chore(status-vim): remove unused code
2020-07-20 13:29:56 +02:00
Tim Untersberger
57a4b6a584
Massive refactor
2020-07-17 14:37:41 +02:00
Tim Untersberger
1dd1db13d6
multi
...
line
test
2020-07-15 13:28:39 +02:00
Tim Untersberger
6b5ce4a7db
fixup!
2020-07-09 14:24:14 +02:00
Tim Untersberger
3a470e553e
feat: git commit --amend
2020-07-09 14:24:02 +02:00
Tim Untersberger
5d5c701e1f
test
2020-07-09 11:51:05 +02:00
Tim Untersberger
ff10f32c94
fix: commit message
2020-07-09 11:49:37 +02:00
Tim Untersberger
16bcf9dc52
test
2020-07-09 11:48:46 +02:00
Tim Untersberger
1df9186b7e
test
2020-07-09 11:47:28 +02:00
Tim Untersberger
d0ca5dcdea
fix: NeogitStatus syntax highlighting
2020-07-09 11:44:14 +02:00
Tim Untersberger
d90cfe87e7
feat: syntax highlighting for NeogitLog
2020-07-09 11:41:15 +02:00
Tim Untersberger
11f37384b5
fix: QOL <s-j>/<s-k>
2020-07-08 17:36:37 +02:00
Tim Untersberger
4b85145d8f
fix: diff toggle of change
2020-07-08 14:30:47 +02:00
Tim Untersberger
0eb7b45900
feat: syntax highlighting in status
2020-07-08 14:18:18 +02:00
Tim Untersberger
2dd64884b0
feat: close mappings in transient buffers, untracked files
2020-07-08 11:26:49 +02:00
Tim Untersberger
936ddff1d9
feat: log
2020-07-08 09:41:26 +02:00
Tim Untersberger
147b53f63d
xd
2020-07-01 16:53:27 +02:00
Tim Untersberger
07170b43f9
this will workrm .git/COMMIT_EDITMSG
2020-07-01 16:52:12 +02:00
Tim Untersberger
5a3ac1a5e3
please work
2020-07-01 16:44:54 +02:00
Tim Untersberger
b65102e55f
test
2020-07-01 16:43:23 +02:00
Tim Untersberger
0762b5ae88
fixuprm .git/COMMIT_EDITMSG
2020-07-01 16:41:56 +02:00
Tim Untersberger
0eee1b829d
fixuprm .git/COMMIT_EDITMSG
2020-07-01 16:40:16 +02:00
Tim Untersberger
8766ed1bd9
fix: correctly refresh status after commiting
2020-07-01 16:38:50 +02:00
Tim Untersberger
ac8a178c4d
Temporary commit
2020-07-01 16:30:14 +02:00
Tim Untersberger
1c873f4d87
Merge branch 'master' of github.com:TimUntersberger/neogit
2020-07-01 16:10:38 +02:00
Tim Untersberger
2ecc5f1e91
Add extra mappings
2020-07-01 16:10:13 +02:00
TimUntersberger
d0f3c21e46
Remove Neogit call
2020-07-01 11:42:54 +02:00