Skip to content

Commit

Permalink
Merge pull request #978 from NeogitOrg/nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
CKolkey authored May 16, 2024
2 parents bc0c609 + 1bd1c52 commit 16ee9ae
Show file tree
Hide file tree
Showing 133 changed files with 8,653 additions and 5,047 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
release: [stable, nightly]
steps:
- uses: actions/checkout@v4

Expand All @@ -25,7 +28,7 @@ jobs:
- name: Install Neovim
run: |
wget https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz
wget https://github.com/neovim/neovim/releases/download/${{ matrix.release }}/nvim-linux64.tar.gz
tar -zxf nvim-linux64.tar.gz
sudo ln -s $(pwd)/nvim-linux64/bin/nvim /usr/local/bin
Expand Down
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2020 TimUntersberger
Copyright (c) 2020-2023 TimUntersberger
Copyright (c) 2024-2025 CKolkey

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
41 changes: 38 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</td>
</tr>
</table>

[![Lua](https://img.shields.io/badge/Lua-blue.svg?style=for-the-badge&logo=lua)](http://www.lua.org)
[![Neovim](https://img.shields.io/badge/Neovim%200.9+-green.svg?style=for-the-badge&logo=neovim)](https://neovim.io)
[![MIT](https://img.shields.io/badge/MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
Expand Down Expand Up @@ -55,7 +55,7 @@ neogit.setup {}

The `master` branch will always be compatible with the latest **stable** release of Neovim, and with the latest **nightly** build as well.

Some features may only be available using unreleased (neovim nightly) API's - to use them, set your plugin manager to track the `nightly` branch instead.
Some features may only be available using unreleased (neovim nightly) API's - to use them, set your plugin manager to track the `nightly` branch instead.

The `nightly` branch has the same stability guarantees as the `master` branch.

Expand Down Expand Up @@ -88,7 +88,7 @@ neogit.setup {
},
-- "ascii" is the graph the git CLI generates
-- "unicode" is the graph like https://github.com/rbong/vim-flog
graph_style = "ascii",
graph_style = "ascii",
-- Used to generate URL's for branch popup action "pull request".
git_services = {
["github.com"] = "https://github.com/${owner}/${repository}/compare/${branch_name}?expand=1",
Expand Down Expand Up @@ -137,10 +137,31 @@ neogit.setup {
-- Automatically show console if a command takes more than console_timeout milliseconds
auto_show_console = true,
status = {
show_head_commit_hash = true,
recent_commit_count = 10,
HEAD_padding = 10,
mode_padding = 3,
mode_text = {
M = "modified",
N = "new file",
A = "added",
D = "deleted",
C = "copied",
U = "updated",
R = "renamed",
DD = "unmerged",
AU = "unmerged",
UD = "unmerged",
UA = "unmerged",
DU = "unmerged",
AA = "unmerged",
UU = "unmerged",
["?"] = "",
},
},
commit_editor = {
kind = "auto",
show_staged_diff = true,
},
commit_select_view = {
kind = "tab",
Expand Down Expand Up @@ -245,6 +266,10 @@ neogit.setup {
["<c-c><c-c>"] = "Submit",
["<c-c><c-k>"] = "Abort",
},
commit_editor_I = {
["<c-c><c-c>"] = "Submit",
["<c-c><c-k>"] = "Abort",
},
rebase_editor = {
["p"] = "Pick",
["r"] = "Reword",
Expand All @@ -260,6 +285,12 @@ neogit.setup {
["gj"] = "MoveDown",
["<c-c><c-c>"] = "Submit",
["<c-c><c-k>"] = "Abort",
["[c"] = "OpenOrScrollUp",
["]c"] = "OpenOrScrollDown",
},
rebase_editor_I = {
["<c-c><c-c>"] = "Submit",
["<c-c><c-k>"] = "Abort",
},
finder = {
["<cr>"] = "Select",
Expand All @@ -283,6 +314,7 @@ neogit.setup {
["X"] = "ResetPopup",
["Z"] = "StashPopup",
["b"] = "BranchPopup",
["B"] = "BisectPopup",
["c"] = "CommitPopup",
["f"] = "FetchPopup",
["l"] = "LogPopup",
Expand All @@ -304,6 +336,7 @@ neogit.setup {
["s"] = "Stage",
["S"] = "StageUnstaged",
["<c-s>"] = "StageAll",
["K"] = "Untrack",
["u"] = "Unstage",
["U"] = "UnstageStaged",
["$"] = "CommandHistory",
Expand All @@ -316,6 +349,8 @@ neogit.setup {
["<c-t>"] = "TabOpen",
["{"] = "GoToPreviousHunkHeader",
["}"] = "GoToNextHunkHeader",
["[c"] = "OpenOrScrollUp",
["]c"] = "OpenOrScrollDown",
},
},
}
Expand Down
Loading

0 comments on commit 16ee9ae

Please sign in to comment.