Commit Graph

  • d7777b325a gitgutter#utility#getbufvar: handle not existing buffer Daniel Hahler 2019-06-03 08:53:41 +02:00
  • 9f21e3dbba Simplify getting highlight fg/bg Daniel Hahler 2019-06-01 20:09:50 +02:00
  • a7650790ea Work around older Vims not accepting arguments for function(). Andy Stewart 2019-05-31 07:17:36 +01:00
  • 6affbc96f1 Invert boolean conditions for clarity. Andy Stewart 2019-05-29 14:34:22 +01:00
  • 222b1a2fde Extract setting of path. Andy Stewart 2019-05-29 14:32:16 +01:00
  • 9488098c8c Separate setting maps from setting repo path. Andy Stewart 2019-05-29 14:11:34 +01:00
  • 064a3d6b10 Move #init_buffer() into #process_buffer(). Andy Stewart 2019-05-29 13:46:33 +01:00
  • 50932df59a Simplify async callbacks for setting repo path. Daniel Hahler 2019-05-29 13:06:05 +01:00
  • 5bb4f14ed3 Fix tests in light of sign-priority. Andy Stewart 2019-05-29 13:04:39 +01:00
  • e5936a22cf Fix tmux command. Andy Stewart 2019-05-15 16:27:17 +01:00
  • a6174df8a2 Document getting focus events in tmux. Andy Stewart 2019-05-15 16:25:45 +01:00
  • 7eeea63e62 Remove debugging statement. Andy Stewart 2019-03-11 11:29:59 +00:00
  • 3d313838db Only handle FocusGained after FocusLost Daniel Hahler 2019-03-06 15:38:07 +01:00
  • 8a4b9ccf52 Fix calls to repeat#set: remove trailing "<CR>" Daniel Hahler 2019-03-06 14:17:55 +01:00
  • 7201afe8d1 s:on_stderr_nvim: do not call err handler for [''] Daniel Hahler 2019-03-06 12:39:07 +01:00
  • 5c8efd3625 Fix updating of signs when leaving nvim terminal buffer. Andy Stewart 2019-03-04 08:52:54 +00:00
  • 78db200b12 Correct typo in README Ana María Martínez Gómez 2019-02-25 23:50:11 +01:00
  • 3ce2a4be25 Clarify how signs' colours are derived. Andy Stewart 2019-02-17 07:10:48 +00:00
  • fd834e48ee Combine Diff* foreground colours with SignColumn's background. Andy Stewart 2019-02-04 14:45:58 +00:00
  • afa4f2ddf0 Use the Diff* highlight groups by default. Andy Stewart 2019-01-25 17:27:08 +00:00
  • faa1e953de Suggest zr over zo to open contextual folds. Andy Stewart 2019-01-16 16:03:54 +00:00
  • bea21f4162 Extract variable for clarity. Andy Stewart 2019-01-15 13:36:05 +00:00
  • 8f6c4cb88c Minor refactor. Andy Stewart 2019-01-15 11:40:04 +00:00
  • bf2a9ff4e8 Save and restore foldlevel. Andy Stewart 2019-01-15 11:39:17 +00:00
  • 714d468344 Enable unfolding 3 lines of context around each hunk. Andy Stewart 2019-01-15 11:33:48 +00:00
  • ac787afa02 Add GitGutterFold command. Andy Stewart 2019-01-14 11:48:24 +00:00
  • 8d7a71ddd6 Update signs when leaving Neovim terminal. Andy Stewart 2019-01-08 16:22:36 +00:00
  • 2dce8e032b Add commands to enable/disable/toggle GitGutter per buffer. Andy Stewart 2019-01-08 12:47:10 +00:00
  • b11d74ca8f Explicitly mention that the plugin never saves the buffer. Andy Stewart 2019-01-08 12:30:25 +00:00
  • 1d422b9f98 Revert to non-binary writefile() for writing buffer. Andy Stewart 2018-12-15 14:55:14 +00:00
  • 5c636b128e Fix handling of buffer consisting only of a newline. Andy Stewart 2018-12-13 10:50:02 +00:00
  • 9a23a2f207 diff: fix handling of empty file Daniel Hahler 2018-04-14 18:18:04 +02:00
  • c2651aefbd Do not pass a default value to getbufvar(). Andy Stewart 2018-11-26 16:46:51 +00:00
  • 3f642a0bb8 Add assertion for path of untracked file. Andy Stewart 2018-11-17 17:24:48 +00:00
  • 208b439585 Vim: remove unreliable way of preventing close callback for unsuccessful job. Andy Stewart 2018-11-17 17:17:03 +00:00
  • da91d44889 Vim: only invoke async out handler when job succeeded. Andy Stewart 2018-11-17 17:13:13 +00:00
  • 32d53f134a Avoid race condition processing the same buffer twice, quickly. Andy Stewart 2018-11-17 11:29:41 +00:00
  • 947737c76f Handle non-ASCII paths. Andy Stewart 2018-11-17 11:24:36 +00:00
  • 0597380f6b Prompt user to choose hunk when overlapping. Andy Stewart 2018-10-18 15:39:55 +01:00
  • 4bd95abe6a Improve comment. Andy Stewart 2018-10-18 15:39:47 +01:00
  • 7267022d76 Fix nested array concatenation. Andy Stewart 2018-10-18 15:15:29 +01:00
  • 6f8acdcea1 Whitespace. Andy Stewart 2018-10-18 09:48:57 +01:00
  • 89c34f74cb Display unambiguous sign when hunks overlap. Andy Stewart 2018-10-18 09:45:55 +01:00
  • 622193a625 Enable diffing against the working tree. Andy Stewart 2018-10-12 15:49:25 +01:00
  • af1e674155 Fix gitgutter#utility#setbufvar for nonexistent buffers Daniel Hahler 2018-06-27 20:04:14 +02:00
  • 50a7062909 Trigger refresh on VimResume event John Nguyen 2018-08-14 22:02:33 -07:00
  • d2d2da11c5 Add g:gitgutter_git_args for args to git when running git-diff. Andy Stewart 2018-07-31 14:28:36 +01:00
  • d2f38f401a Revert "Explicitly tell git to diff outside any repo." Andy Stewart 2018-07-31 14:18:45 +01:00
  • b4e43ae9e7 Explicitly tell git to diff outside any repo. Andy Stewart 2018-07-27 12:49:14 +01:00
  • 6076c96786 Only set up maps once per buffer. Andy Stewart 2018-07-06 10:15:00 +01:00
  • f536a35d92 Whitespace. Andy Stewart 2018-07-06 10:13:01 +01:00
  • 23824041cd Force-update all buffers not just current after ShellCmdPost. Andy Stewart 2018-07-06 10:12:30 +01:00
  • b2be779ced Clear the tick on hidden buffers when gitgutter#all(1) is called. John Drouhard 2018-06-28 17:37:26 -05:00
  • 64663ab24f Handle buffers which no longer exist when callback executed. Andy Stewart 2018-07-04 08:43:58 +01:00
  • a986ab0547 Update FAQ in vim doc: refresh on file save Martin Bukatovic 2018-06-01 21:31:52 +02:00
  • 13e88015b4 Update FAQ in README: refresh on file save Martin Bukatovic 2018-05-30 22:12:45 +02:00
  • c4301f9a10 Extract autocommand commands to a function for clarity. Andy Stewart 2018-05-29 10:27:52 +01:00
  • f32eecc4fc Ensure inactive tabs are force-updated after FocusGained. Andy Stewart 2018-05-29 10:22:03 +01:00
  • a7206c41fc Add test for files with leading dash. Andy Stewart 2018-05-08 16:26:48 +01:00
  • f363799550 Support files with a leading - John Kurkowski 2018-05-05 23:05:31 -07:00
  • 22c3fc0bf5 gitgutter#utility#setbufvar: ensure bufnr is a number with setbufvar Daniel Hahler 2018-04-19 13:52:03 +02:00
  • f167c3312b Make maps buffer-local. Andy Stewart 2018-05-02 16:02:43 +01:00
  • ad25925f1e Add missing condition to determine whether running async. Andy Stewart 2018-04-19 13:03:45 +01:00
  • 5481318fc1 Prevent infinite loop when running non-async on Windows. Andy Stewart 2018-04-11 09:56:43 +01:00
  • 3724e1c207 Add BOM support. nagao_hiroki 2018-03-26 22:12:46 +09:00
  • 37bdd03d17 Do not deactivate gitgutter when &diff is set. Andy Stewart 2018-03-16 18:49:22 +00:00
  • be14ed7943 Add sign/s to unplace profile. Andy Stewart 2018-03-15 12:08:31 +00:00
  • c071a8f273 Add script for timing sign-unplace. Andy Stewart 2018-03-15 11:09:38 +00:00
  • 72226496b3 Add test for encoding conversion. Andy Stewart 2018-03-14 14:44:33 +00:00
  • 813723a195 Whitespace. Andy Stewart 2018-03-14 14:40:14 +00:00
  • efd373d86d Move look-up out of loop. Andy Stewart 2018-03-14 14:40:06 +00:00
  • 3b2461b2fb Fix wrong signs when &encoding and &fileencoding differ Bakudankun 2018-03-06 10:41:21 +09:00
  • 2f736d58b4 Backward compatibility for nvim-0.1.7. Andy Stewart 2018-03-14 11:43:36 +00:00
  • 380e7935b7 Make test flag more specific. Andy Stewart 2018-03-08 11:47:08 +00:00
  • 538e07882a Handle files in different drive on Windows Chayoung You 2018-03-06 15:37:27 +09:00
  • b87aacbbfe Do not treat win32unix as Windows. Andy Stewart 2018-03-06 10:55:47 +00:00
  • 983193456f Ignore the arguments when testing the grep executable Plamen Kolev 2018-03-04 13:57:06 +00:00
  • 5db4a3a2a5 Make robust the replacement of temp file paths with actual paths. Andy Stewart 2018-03-02 12:44:49 +00:00
  • fa85bd41d9 Pass filepath into s:fix_file_references() to make function pure. Andy Stewart 2018-03-02 11:41:48 +00:00
  • 05e538e553 Remove irrelevant comment. Andy Stewart 2018-03-01 10:24:08 +00:00
  • 85d762fff6 Improve warning message for max-signs-exceeded Daniel Hahler 2018-03-01 02:11:57 +01:00
  • 41b951e64e Fix gitgutter#utility#warn_once: use echom Daniel Hahler 2018-03-01 02:07:48 +01:00
  • 2fe748b48f plugin/gitgutter.vim: use command! to allow for reloading Daniel Hahler 2018-02-24 23:14:17 +01:00
  • 0055e97bac Use '-c "core.safecrlf=false"' to avoid unhelpful line ending warnings. Andy Stewart 2018-02-28 19:17:31 +00:00
  • 33c4c4a685 Enable update on FocusGained for gVim. Andy Stewart 2018-02-28 16:56:26 +00:00
  • 293b633d79 Add --no-pager to git-show and git-diff. Andy Stewart 2018-02-28 16:45:39 +00:00
  • c39a5c240a Add g:gitgutter_terminal_reports_focus to enable FocusGained workaround. Andy Stewart 2018-02-28 15:09:36 +00:00
  • 4a66a09658 Document dependency on focus events. Andy Stewart 2018-02-28 11:43:00 +00:00
  • 2a3ab77f10 Access tab variable directly instead of via {g,s}ettabbar(). Andy Stewart 2018-02-27 11:37:38 +00:00
  • e512d3a6fc Make the process_hunks() function public. Andy Stewart 2018-02-26 08:58:27 +00:00
  • b27ee4d602 Rename variable for clarity. Andy Stewart 2018-02-22 16:23:17 +00:00
  • 816fc98ff2 Swap order of if/else so it reads better. Andy Stewart 2018-02-22 11:09:05 +00:00
  • 61a5e0143e Do not warn user when default grep cannot be found. Andy Stewart 2018-02-22 11:06:34 +00:00
  • e9aee00190 Switch off diff.mnemonicPrefix in tests. Andy Stewart 2018-02-22 11:04:10 +00:00
  • c3bad229db Use built-in uniq() when available. Andy Stewart 2018-02-22 10:32:21 +00:00
  • 87097d8923 Fix bugs in s:uniq(). Andy Stewart 2018-02-22 10:17:28 +00:00
  • c325a8b6d3 s:fix_file_references: handle diff.mnemonicPrefix Daniel Hahler 2018-02-21 20:49:14 +01:00
  • 9325986457 Remove deprecated command GitGutterRevertHunk. Andy Stewart 2018-02-20 09:10:01 +00:00
  • 8f6bbc9855 Extract uniq function. Andy Stewart 2018-02-21 12:06:42 +00:00
  • d78184e646 Use processed-dict, uniq() might not be available Daniel Hahler 2018-02-21 00:42:30 +01:00