@@ -33,7 +33,7 @@ neogit.setup {}
3333
3434## Usage
3535
36- You can either open neogit by using the ` Neogit ` command
36+ You can either open neogit by using the ` Neogit ` command
3737
3838``` vim
3939:Neogit " uses tab
@@ -112,13 +112,17 @@ neogit.setup {
112112 disable_hint = false ,
113113 disable_context_highlighting = false ,
114114 disable_commit_confirmation = false ,
115- -- Neogit refreshes its internal state after specific events, which can be expensive depending on the repository size.
115+ -- Neogit refreshes its internal state after specific events, which can be expensive depending on the repository size.
116116 -- Disabling `auto_refresh` will make it so you have to manually refresh the status after you open it.
117117 auto_refresh = true ,
118118 disable_builtin_notifications = false ,
119119 use_magit_keybindings = false ,
120120 -- Change the default way of opening neogit
121121 kind = " tab" ,
122+ -- The time after which an output console is shown for slow running commands
123+ console_timeout = 2000 ,
124+ -- Automatically show console if a command takes more than console_timeout milliseconds
125+ auto_show_console = true ,
122126 -- Change the default way of opening the commit popup
123127 commit_popup = {
124128 kind = " split" ,
@@ -139,15 +143,15 @@ neogit.setup {
139143 -- The diffview integration enables the diff popup, which is a wrapper around `sindrets/diffview.nvim`.
140144 --
141145 -- Requires you to have `sindrets/diffview.nvim` installed.
142- -- use {
143- -- 'TimUntersberger/neogit',
144- -- requires = {
146+ -- use {
147+ -- 'TimUntersberger/neogit',
148+ -- requires = {
145149 -- 'nvim-lua/plenary.nvim',
146- -- 'sindrets/diffview.nvim'
150+ -- 'sindrets/diffview.nvim'
147151 -- }
148152 -- }
149153 --
150- diffview = false
154+ diffview = false
151155 },
152156 -- Setting any section to `false` will make the section not render at all
153157 sections = {
@@ -311,11 +315,11 @@ The todo file does not represent ALL of the missing features. This file just sho
311315
312316## Testing
313317
314- Assure that you have [ plenary.nvim] ( https://github.com/nvim-lua/plenary.nvim )
318+ Assure that you have [ plenary.nvim] ( https://github.com/nvim-lua/plenary.nvim )
315319installed as a plugin for your neovim instance. Afterwards, run ` make test `
316320to run the unit test suite.
317321
318322Plenary uses it's own port of busted and a bundled luassert, so consult their
319- code and the respective [ busted] ( http://olivinelabs.com/busted/ ) and
320- [ luassert] ( http://olivinelabs.com/busted/#asserts ) docs for what methods are
323+ code and the respective [ busted] ( http://olivinelabs.com/busted/ ) and
324+ [ luassert] ( http://olivinelabs.com/busted/#asserts ) docs for what methods are
321325available.
0 commit comments