Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9afe79a

Browse filesBrowse files
committed
fix(#366): live gutter will no longer fetch data if it is disabled
1 parent 8caecf0 commit 9afe79a
Copy full SHA for 9afe79a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎lua/vgit/features/buffer/LiveGutter.lua‎

Copy file name to clipboardExpand all lines: lua/vgit/features/buffer/LiveGutter.lua
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function LiveGutter:constructor()
1212
end
1313

1414
LiveGutter.fetch = loop.debounce_coroutine(function(self, buffer)
15+
if not live_gutter_setting:get('enabled') then return self end
16+
1517
loop.free_textlock()
1618
if not buffer:is_valid() then return self end
1719

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.