Skip to content

Commit

Permalink
fix: fugitive check
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jan 12, 2023
1 parent 6c3a381 commit 61ed2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/gitsigns.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion teal/gitsigns.tl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ end

-- @return (string, string) Tuple of buffer name and commit
local function parse_fugitive_uri(name: string): string, string
if vim.g.loaded_fugitive == 0 then
if vim.fn.exists('*FugitiveReal') == 0 then
dprint("Fugitive not installed")
return
end
Expand Down

0 comments on commit 61ed2db

Please sign in to comment.