handle git conflict status in terminal hover_link

pull/365/head
nightwing 2016-09-26 16:18:10 +04:00
rodzic 6cd0202b41
commit 740ef7edf7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -309,7 +309,7 @@ var HoverLink = function(editor) {
else if (prompt.command === "git") { // git status
var prefix = line.substr(0, match.start);
if (match.start + value.length == line.length
&& /^(#|[ MDR?A]{2})\s+([\w\s]+:\s+)?$/.test(prefix)
&& /^(#|[ MDRU?A]{2})\s+([\w\s]+:\s+)?$/.test(prefix)
) {
match.type = "path";
} else {