Commit Graph

  • 488c0555e4 Update README.mkd: offno for signcolumn main Peter Vandenberk 2025-08-28 20:46:10 +01:00
  • 85ca3a0872 Use shellescape on paths in run_diff Fred Hornsey 2025-05-22 12:48:27 -05:00
  • a5ae0a5a18 Handle quickfix autocmd changing buffer Andy Stewart 2025-05-05 15:15:44 +01:00
  • 6620e5fbbe Document :write in preview window Andy Stewart 2025-03-07 09:47:02 +00:00
  • 33cb7744c3 Document re-preview moving into Nvim floating window Andy Stewart 2025-03-07 09:45:42 +00:00
  • d3a9986fe8 Fix moving to floating window Touko Hallasmaa 2025-03-05 20:59:27 +02:00
  • 7b0b5098e3 Fix async commands with Neovim on Windows Andy Stewart 2024-07-16 16:16:19 +01:00
  • bed580ab8b Use git -C instead of cd Andy Stewart 2024-07-13 06:20:56 +01:00
  • e801371917 Respect &foldopen during next/prev hunk jumps Luke Davis 2024-04-28 16:17:33 +01:00
  • 67ef116100 Fix the fix for colons in basepath Andy Stewart 2024-01-05 12:43:02 +00:00
  • 84bc2d68c0 Fix base_path() to handle filenames with colons Andy Stewart 2024-01-03 16:06:27 +00:00
  • 4b49965897 Warn user when unable to list renamed files Andy Stewart 2023-12-07 13:56:55 +00:00
  • fe0e8a2630 Add comments Andy Stewart 2023-11-11 10:56:40 +00:00
  • 3b5acc05a1 Guard config flag in file moves check Andy Stewart 2023-11-10 18:23:47 +00:00
  • 1e7be38a3c Make command line config flag global Andy Stewart 2023-11-10 18:19:48 +00:00
  • b9e9ad2ae2 Fix -c flag to apply to git command not diff subcommand Andy Stewart 2023-11-10 18:09:44 +00:00
  • 6efb835aa2 Suppress crlf warning when obtaining file moves Andy Stewart 2023-11-10 15:55:55 +00:00
  • 61f80c80ba Mention integration with fugitive's :0Gclog Andy Stewart 2023-11-10 12:48:54 +00:00
  • 6a95f1b57c Mention file moves in readme Andy Stewart 2023-11-10 12:44:11 +00:00
  • c3b99e52f5 Add test for file moves Andy Stewart 2023-11-10 12:42:19 +00:00
  • de86ff5c03 Fix GitGutterDiffOrig to handle file moves 872-renames Andy Stewart 2023-11-10 12:12:24 +00:00
  • 952dbc34f7 Move base_path() to gitgutter#utility Andy Stewart 2023-11-10 12:09:33 +00:00
  • 4e262693a5 Handle file moves for quickfix Andy Stewart 2023-11-10 12:03:07 +00:00
  • 986228fa89 Handle invalid diff base Andy Stewart 2023-11-10 11:21:27 +00:00
  • feffce19fc Handle file renames Andy Stewart 2023-11-09 09:42:42 +00:00
  • f7b97666ae Remove "file unknown in base" check Nikita Kouevda 2023-08-31 06:58:27 -07:00
  • 744a0fcd9e Add test for not clobbering v:shell_error Andy Stewart 2023-09-01 10:15:55 +01:00
  • 101e9ca217 Fix typo in test Andy Stewart 2023-09-01 10:05:31 +01:00
  • 28d463f199 mv restore into gitgutter#utility#system Nikita Kouevda 2023-08-31 07:50:14 -07:00
  • a5e0740801 Restore v:shell_error in autocmd ShellCmdPost Nikita Kouevda 2023-08-30 23:43:30 -07:00
  • 5f525476f3 Fix <Esc> in nvim floating preview window closes it Andy Stewart 2023-08-17 14:14:45 +01:00
  • a7a83c376c Fix closing floating preview window Andy Stewart 2023-08-17 13:45:56 +01:00
  • 68f16eb21f Fix handling of file renames Andy Stewart 2023-07-31 13:37:11 +01:00
  • 458603713d Cast variable getter to match setter Andy Stewart 2023-07-31 12:40:24 +01:00
  • 8a2f8199b6 Document 'updatetime' and 'signcolumn' more prominently Andy Stewart 2023-07-14 14:29:31 +01:00
  • 4a7ca061af Add test for dos noeol Andy Stewart 2023-06-16 09:53:57 +01:00
  • 422e4caf79 Ensure inline test functions can be redefined Andy Stewart 2023-06-15 14:52:52 +01:00
  • f46652da18 Restore test teardown line Andy Stewart 2023-06-15 14:50:53 +01:00
  • 883d60ec0e fix(diff): Wrong diff if dos format combines with noeol Adam Tao 2023-06-14 16:18:29 +08:00
  • e2056e54c5 Add test for clean/smudge filter Andy Stewart 2023-06-05 10:52:10 +01:00
  • a202921235 Write buffer before staging whole file Andy Stewart 2023-06-05 10:50:17 +01:00
  • 278b393e68 Avoid unnecessary concatenation Andy Stewart 2023-06-05 09:52:56 +01:00
  • 6ebc0fd233 Extract function to reduce duplication Andy Stewart 2023-06-05 09:50:17 +01:00
  • 3531f4eddd Remove obsolete link Andy Stewart 2023-06-03 15:56:31 +01:00
  • 7d425ff4b9 Use filename not path in git add Andy Stewart 2023-06-03 10:25:28 +01:00
  • f7f1286aac Use filename in clean_smudge_filter_applies() function Andy Stewart 2023-06-03 10:23:21 +01:00
  • cefbe30aa9 Make filename() function public Andy Stewart 2023-06-03 10:22:20 +01:00
  • a483abb5fc Add timestamp to session log header Andy Stewart 2023-06-03 10:09:53 +01:00
  • 621b9e77ff Avoid :redir inside execute() Andy Stewart 2023-06-03 09:56:17 +01:00
  • 538fba90fb Mention clean/smudge filters in readme Andy Stewart 2023-06-02 16:11:42 +01:00
  • 885538efcd Stage entire file if clean/smudge filter applies Andy Stewart 2023-06-02 16:01:51 +01:00
  • 4ec072df23 Enable text conversion in git-show Andy Stewart 2023-06-02 09:59:24 +01:00
  • 11d6e13194 Ensure staging from preview always stages into correct file Andy Stewart 2023-06-01 14:59:56 +01:00
  • ef978c745f Make preview use 'wrap' option of source window Andy Stewart 2023-06-01 14:35:04 +01:00
  • 8a95900cf1 Remove redundant comment Andy Stewart 2023-06-01 09:25:54 +01:00
  • 8d659d3dfc Declare similar autocmds next to each other Andy Stewart 2023-06-01 09:25:43 +01:00
  • 250112fecf Check before enabling after disabling for autocmds Andy Stewart 2023-06-01 09:21:52 +01:00
  • 2ee95686c5 Handle file which does not exist in diff base Andy Stewart 2023-04-27 16:16:54 +01:00
  • 3475e974d6 Link highlight of GitGutterChangeDeleteLine to GitGutterChangeLine Yuxin Wu 2023-04-15 00:49:45 -07:00
  • 44dbd57dd1 Document how to override defaults in g:gitgutter_floating_window_options Andy Stewart 2023-03-16 09:48:08 +00:00
  • 3d29f67380 Add TabLeave to hunk close trigger woodyZootopia 2023-03-13 23:21:32 +09:00
  • edb607cc4b Refresh signs after undoing a hunk Andy Stewart 2023-02-24 11:56:39 +00:00
  • 00df1089b6 Fix calculation of screen width woodyZootopia 2022-12-21 09:51:12 +09:00
  • 400a12081f Fix calculation of non-floating preview window height Andy Stewart 2022-10-22 17:52:39 +01:00
  • d4a3462df6 Extract function to calculate screen lines and cols Andy Stewart 2022-10-22 17:51:34 +01:00
  • 24353971b9 Make height of floating preview window wrap-aware Andy Stewart 2022-10-22 17:40:27 +01:00
  • f19b620319 Fix patch strings to use conventional format Andy Stewart 2022-08-24 14:29:47 +01:00
  • 52d0066823 Ensure older vims process buffer at startup Andy Stewart 2022-08-22 09:42:07 +01:00
  • 7808c48c7b Use timer instead of autocmd to defer startup processing Andy Stewart 2022-08-22 09:30:47 +01:00
  • ded11946c0 Fix comparison to be case sensitive Andy Stewart 2022-05-24 09:24:40 +01:00
  • 719d4ec06a Set filetype in :GitGutterDiffOrig Andy Stewart 2022-05-04 13:32:24 +01:00
  • 988a6dbad9 Use a reliable regexp operator for lower case Andy Stewart 2022-04-25 20:41:43 +01:00
  • 57000a73ab Use reliable regexp character class for lower case Andy Stewart 2022-04-25 20:26:21 +01:00
  • 774add0c59 Improve testing of private functions Andy Stewart 2022-04-25 13:47:08 +01:00
  • 5dd8ab6211 Fix parsing of 'git ls-files -v' for filenames with spaces Andy Stewart 2022-04-25 13:33:45 +01:00
  • 2f359076bc Whitespace Andy Stewart 2022-04-23 08:30:47 +01:00
  • 626541edeb Heeds git's "assume unchanged" bit Andy Stewart 2022-04-23 08:25:46 +01:00
  • d5bae10403 Add GitGutterDiffOrig command Andy Stewart 2022-04-15 14:13:51 +01:00
  • 18d12985ea Document :GitGutterBuffer{Disable,Enable,Toggle} Andy Stewart 2022-02-23 08:48:37 +00:00
  • e433d5ddc1 #816 do not modify previewpopup when it does not exist Alexander Courtis 2022-02-19 10:48:36 +11:00
  • d845704e9e Extract common code into function Andy Stewart 2022-02-02 11:07:24 +00:00
  • 23a65f370b Fix enabling buffer when plugin disabled Andy Stewart 2022-02-02 10:58:53 +00:00
  • 54b94f98de Prevent 'previewpopup' from breaking hunk previews Andy Stewart 2022-02-02 10:01:06 +00:00
  • 384bf003f6 Allow configuration of floating window appearance Andy Stewart 2022-02-02 09:23:45 +00:00
  • e9871cf952 Capitalise NONE for consistency Andy Stewart 2022-02-02 08:49:44 +00:00
  • 6039b37440 Always pass some group name to sign arguments Mateusz Piotrowski 2021-12-10 14:16:58 +01:00
  • a02369403b Fix autocmd to use <abuf> for effective buffer Andy Stewart 2022-01-29 15:08:40 +00:00
  • 256702dd14 Fix restoration of g:gitgutter_enabled after :vimgrep Andy Stewart 2021-09-07 15:10:00 +01:00
  • 832f7c6226 fix quickfix for combined diffs Georgi Kirilov 2021-08-30 12:59:41 +03:00
  • 549fb96d58 Add instructions on how to customize colours in preview window naohiro ono 2021-08-06 22:12:11 +09:00
  • 4adaa7adaa Make intra-highlights customizable naohiro ono 2021-08-05 06:09:06 +09:00
  • 7d9b7125ff Update quickfix test Andy Stewart 2021-07-12 11:22:11 +01:00
  • ca0f292e68 Use 0/1 instead of v:true/v:false for compatibility with older vim versions. caojoshua 2021-07-07 20:39:11 -07:00
  • aad6acea5d When using loclist, only add hunks for current file. caojoshua 2021-07-04 00:18:40 -07:00
  • 0f98634b92 Add caveat to setting of Windows git executable Andy Stewart 2021-06-08 16:29:34 +01:00
  • 68a8cb300c Close preview on escape: only map <Esc> while preview open Andy Stewart 2021-06-03 12:23:58 +01:00
  • 2571c8f520 Enable is_preview_window_open() to handle floating windows Andy Stewart 2021-06-02 11:52:37 +01:00
  • 5b4ec87517 Expose is-open and close hunk-preview-window functions Andy Stewart 2021-06-02 11:49:42 +01:00
  • d13d58a35f Clear unwanted characters in nmap Andy Stewart 2021-06-02 11:44:18 +01:00
  • 10998f303c Move more important paragraph above less important ones Andy Stewart 2021-05-24 09:45:39 +01:00