Commit Graph

  • 6c2def1075 Use sort+uniq with tabpagebuflist to remove duplicates Daniel Hahler 2018-02-21 00:38:50 +01:00
  • 4931dd1a82 Conditionally define s:vimdiff Daniel Hahler 2018-02-20 23:52:31 +01:00
  • 18f6d0ffe1 gitgutter#utility#setbufvar: skip unnecessary setbufvar Daniel Hahler 2018-02-20 23:48:14 +01:00
  • 10254400c3 doc: fix example for g:gitgutter_diff_args Daniel Hahler 2018-02-20 23:46:44 +01:00
  • 798abe53b3 Extract helper for triggering gitgutter. Andy Stewart 2018-02-21 11:33:44 +00:00
  • 35c92dbd50 Add test for user autocmd. Andy Stewart 2018-02-21 11:31:48 +00:00
  • a046b5ace1 Improve GitGutter User autocommand: context/unsilent Daniel Hahler 2018-02-20 22:11:10 +01:00
  • 4692457ae2 Document how to disable realtime updates. Andy Stewart 2018-02-19 14:31:59 +00:00
  • 38a7789be9 Finish when pre-requisites not fulfilled. Andy Stewart 2018-02-19 14:04:49 +00:00
  • d86ac1353f Avoid race conditions when processing multiple buffers asynchronously. Andy Stewart 2018-02-19 12:56:22 +00:00
  • 457f35e444 Ensure a re-activated buffer runs a diff. Andy Stewart 2018-02-19 10:59:39 +00:00
  • ef94b195ab Add tests for text objects. Andy Stewart 2018-02-19 10:51:21 +00:00
  • 314e64673b Fixed call to current_hunk in hunk text object Patryk Czachurski 2018-02-18 18:22:24 +01:00
  • 790ffa476a Simplify reading of buffer variable. Andy Stewart 2018-02-17 09:19:28 +00:00
  • 16568f4815 Add win32unix to OS check. Andy Stewart 2018-02-16 15:40:02 +00:00
  • 13361da09e Only use overbar sign when UI supports it. Andy Stewart 2018-02-16 13:06:23 +00:00
  • 7e3f41cdec Update docs. Andy Stewart 2018-02-16 12:54:04 +00:00
  • ec6e1e484b Update docs with changed grep option. Andy Stewart 2018-02-16 10:52:24 +00:00
  • 213bd34bdf Mention hunk text object in introduction. Andy Stewart 2018-02-15 17:17:23 +00:00
  • d586e4398e Add note about updatetime to troubleshooting section. Andy Stewart 2018-02-15 17:16:59 +00:00
  • 72b789ea8f Clarify that unstaging staged hunks is out of scope. Andy Stewart 2018-02-15 17:16:16 +00:00
  • 44373fd1dc Add issue template. Andy Stewart 2018-02-15 14:55:37 +00:00
  • 0c94dd0235 Handle UNC paths. Andy Stewart 2018-02-15 14:52:10 +00:00
  • 85f6e136bd Turn off gitgutter for any buffer with a vimdiff window. Andy Stewart 2018-02-14 11:10:59 +00:00
  • 4e911819be Write buffer using writefile() instead of :write. Andy Stewart 2018-02-13 10:22:36 +00:00
  • 850e947509 Add backward compatibility for lambda. Andy Stewart 2018-02-13 10:02:54 +00:00
  • 933af37935 Replace v:t_string with backward-compatible equivalent. Andy Stewart 2018-02-13 09:37:45 +00:00
  • 9ed38f00ee Merge branch 'master' of ssh://github.com/airblade/vim-gitgutter Andy Stewart 2018-02-13 09:33:17 +00:00
  • 7f14cd142c Pass bufnr into warn_once function. Andy Stewart 2018-02-13 09:32:22 +00:00
  • 8f2e2a226a Pass bufnr into warn_once function. Andy Stewart 2018-02-13 09:32:22 +00:00
  • 8a7d00590b Restore support for vim-repeat in hunk ops. Andy Stewart 2018-02-12 16:42:20 +00:00
  • 2d32a2965a Improve hunk previewing. Andy Stewart 2018-02-12 16:32:43 +00:00
  • a8af1853bd Remove long-standing deprecation warning. Andy Stewart 2018-02-12 16:21:10 +00:00
  • d137753182 Handle &write option being off (e.g. vim -m FILE). Andy Stewart 2018-02-12 16:19:01 +00:00
  • 8da5b64868 Avoid autocmds when switching buffers to write temp file. Andy Stewart 2018-02-12 16:02:03 +00:00
  • 3a052e4777 More idiomatic execute. Andy Stewart 2018-02-12 15:52:34 +00:00
  • 1452900ffd Check buffer is active before init. Andy Stewart 2018-02-12 15:34:49 +00:00
  • 5bfe5b9209 Big refactor. Andy Stewart 2018-02-08 10:12:38 +00:00
  • 932ffaca09 Ensure we write correct buffer. Andy Stewart 2018-01-29 15:30:25 +00:00
  • 1e60667322 Open folds on hunk jumping Sudo Nice 2017-11-01 11:58:34 +00:00
  • 579f0a5006 Make async callbacks backward compatible for nvim < 0.2.0 Andy Stewart 2017-10-23 10:08:43 +01:00
  • 54209a0199 Simplify async implementation. Andy Stewart 2017-10-14 16:59:45 +01:00
  • 438bff6a63 Whitespace. Andy Stewart 2017-10-14 15:54:57 +01:00
  • f2ff2321cd Fix small typo in highlight group name Lucas Hoffmann 2017-10-16 08:37:47 +02:00
  • dc73a81bfe Deprecate g:gitgutter_sign_column_always for &signcolumn. Andy Stewart 2017-08-02 15:47:04 +01:00
  • c92f61acdc Ensure that all buffers are processed at startup. Andy Stewart 2017-07-26 09:36:29 +01:00
  • dcac1f74ee Add a note about CDPATH. Andy Stewart 2017-06-08 09:10:48 +01:00
  • b803a28f47 External commands (:!) update the gutter Tyler Brazier 2017-04-28 20:13:09 -05:00
  • fd4fa5bed7 When switching tabs wait for BufEnter before running. Andy Stewart 2017-04-25 14:33:10 +01:00
  • f16cf539a2 Turn off grep colour when GREP_OPTIONS switches it on. Andy Stewart 2017-04-20 12:37:52 +01:00
  • 9ecce5a269 Do not use --color=never flag for grep. Andy Stewart 2017-04-03 13:30:23 +01:00
  • 092369c19c Use plain grep instead of extended grep. Andy Stewart 2017-04-03 13:23:50 +01:00
  • 1c034be0d3 Store buffer local variables in a single dictionary. Andy Stewart 2017-02-22 11:28:25 +00:00
  • 14dd430533 DRY buffer local namespace prefix. Andy Stewart 2017-02-22 10:51:12 +00:00
  • 1bbf892eba Use custom functions for plugin buffer-local variables. Andy Stewart 2017-02-22 10:36:59 +00:00
  • 562e6043d3 Explain how to cycle through hunks in all buffers. Andy Stewart 2017-02-22 10:03:04 +00:00
  • 8576f00548 Make hunks buffer-local. Andy Stewart 2017-02-21 11:19:47 +00:00
  • 80375e6b8b Ensure git uses source and destination prefixes when staging. Andy Stewart 2017-02-20 13:51:36 +00:00
  • 5d1a0bfa1b Add licence file. Andy Stewart 2017-02-06 10:19:09 +00:00
  • 77aa7ea225 Negate the shell_error value during return Scott Sanders 2017-01-09 09:43:04 -05:00
  • 33cceff0fc Use call to execute this shell command Scott Sanders 2017-01-09 09:42:44 -05:00
  • ce8b5a4086 Detect git version >= 1.7.2 without a messy regex Scott Sanders 2016-12-30 16:41:38 -05:00
  • 7b81a8a226 Specify job command as a string on Windows. Andy Stewart 2016-12-23 11:20:17 +00:00
  • 9639f28037 Prevent undo-hunk scrolling window. Andy Stewart 2016-12-16 10:36:30 +00:00
  • e231bbc24a Declare nvim's callback as a dict function James McCoy 2016-12-12 22:30:30 -05:00
  • eaea1c5bba Fix help tag. Alfredo Canziani 2016-11-29 16:22:19 +00:00
  • eb896b3598 Improve documentation Alfredo Canziani 2016-11-27 12:10:00 -05:00
  • 1742a8f568 Replace "normal" command with "normal!" Thomas Larrieu 2016-10-27 21:35:39 +02:00
  • ee481585d7 Modernise tests. Andy Stewart 2016-10-24 12:28:07 +02:00
  • 64a445bb53 Vim: explicitly check for job support. __ 2016-10-20 17:37:11 +02:00
  • 0d455a7af7 Only restore shell if previously saved. Andy Stewart 2016-10-19 14:17:03 +01:00
  • a693c0d326 Ensure nested calls do not overwrite value of original shell. Andy Stewart 2016-10-19 10:00:11 +01:00
  • b1734a3916 Remove unnecessary space concatenation. Andy Stewart 2016-10-18 10:14:21 +01:00
  • e113f07d0b Avoid autocmd side-effects when jumping to/from preview window. Andy Stewart 2016-10-18 10:12:30 +01:00
  • 297678a08d Ensure BufWritePost,FileChangedShellPost always process buffer. Andy Stewart 2016-10-11 10:02:21 +01:00
  • fa25cbb7d7 Check whether gitgutter is active in async callbacks. Andy Stewart 2016-10-10 12:52:28 +01:00
  • 55b556f7a2 Dedup buffer lists to avoid unnecessary work. Andy Stewart 2016-10-10 12:52:05 +01:00
  • 68f6fa3453 Whitespace. Andy Stewart 2016-10-10 12:42:07 +01:00
  • 4f9c5b0f3e Use 'sh' as shell instead of configurable '/bin/sh'. Andy Stewart 2016-09-30 10:28:29 +01:00
  • 402257f920 Enable configuration of path to sh (default /bin/sh). Andy Stewart 2016-09-16 14:22:13 +01:00
  • 373ad7337b Handle buffers which have since been closed in async callbacks. Andy Stewart 2016-09-13 16:11:42 +01:00
  • efa1ead770 Typo fix. Billy 2016-09-08 14:16:23 -07:00
  • 43e7c1f542 Set &shellredir when changing shell. Andy Stewart 2016-09-06 10:35:36 +01:00
  • 26c6b549f2 Use "ch_info()" to get channel id Filip Szymański 2016-07-12 19:05:32 +02:00
  • b5f23e9867 Use known shell for hunk staging, previewing, undoing. Andy Stewart 2016-06-27 10:55:26 +01:00
  • c8fa0b3349 Move -r to start of args for non-GNU folk. Luke Farrar 2016-06-21 10:19:40 +01:00
  • 88e26c0fdf Fix manual install commands. Luke Farrar 2016-06-16 17:58:34 +01:00
  • d19e86d249 Update FAQ in README. Andy Stewart 2016-06-21 09:57:39 +01:00
  • 09b9144002 Remove obsolete troubleshooting step. Andy Stewart 2016-06-09 10:34:52 +01:00
  • cfbca4455c Enable async diffs in gVim 7.4.1850+. Andy Stewart 2016-06-09 10:30:48 +01:00
  • 6ac5039600 Don't try to realtime-diff an untracked file. Andy Stewart 2016-06-09 10:01:32 +01:00
  • f8da1fd6db Preserve screen line position when undoing a hunk. Andy Stewart 2016-05-23 10:31:17 +01:00
  • 377c71d982 Use /bin/sh as default shell. Xavier Guérin 2016-05-20 11:13:45 +01:00
  • 90c558b1dc Expand installation instructions. Andy Stewart 2016-05-18 16:35:04 +01:00
  • b3979e7736 Fix typo in table of contents Christian Persson 2016-05-18 15:08:13 +02:00
  • f15a67ff51 Get buffer variable's default value in a backward-compatible way. Andy Stewart 2016-05-18 08:47:52 +01:00
  • 867e013a62 Improve guard for missing-git warning again. Andy Stewart 2016-05-16 16:29:40 +01:00
  • 55d8247848 Fix guard for missing-git warning. Andy Stewart 2016-05-16 13:50:27 +01:00
  • f5a5234f22 Allow configuration of git executable. Andy Stewart 2016-05-16 13:47:14 +01:00
  • 9db8f638db Make hunk summary window-aware. Andy Stewart 2016-05-16 12:21:06 +01:00