Skip to content

Commit 7814ddf

Browse files
committed
[sql-hint addon] Reindent
1 parent 349c8a6 commit 7814ddf

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

addon/hint/sql-hint.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@
109109
var nameParts = getText(name).split(".");
110110
for (var i = 0; i < nameParts.length; i++)
111111
nameParts[i] = identifierQuote +
112-
// duplicate identifierQuotes
113-
nameParts[i].replace(new RegExp(identifierQuote,"g"), identifierQuote+identifierQuote) +
114-
identifierQuote;
112+
// duplicate identifierQuotes
113+
nameParts[i].replace(new RegExp(identifierQuote,"g"), identifierQuote+identifierQuote) +
114+
identifierQuote;
115115
var escaped = nameParts.join(".");
116116
if (typeof name == "string") return escaped;
117117
name = shallowClone(name);
@@ -283,21 +283,21 @@
283283
}
284284
return w;
285285
};
286-
addMatches(result, search, defaultTable, function(w) {
286+
addMatches(result, search, defaultTable, function(w) {
287287
return objectOrClass(w, "CodeMirror-hint-table CodeMirror-hint-default-table");
288-
});
289-
addMatches(
288+
});
289+
addMatches(
290290
result,
291291
search,
292292
tables, function(w) {
293293
return objectOrClass(w, "CodeMirror-hint-table");
294294
}
295-
);
296-
if (!disableKeywords)
297-
addMatches(result, search, keywords, function(w) {
295+
);
296+
if (!disableKeywords)
297+
addMatches(result, search, keywords, function(w) {
298298
return objectOrClass(w.toUpperCase(), "CodeMirror-hint-keyword");
299-
});
300-
}
299+
});
300+
}
301301

302302
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};
303303
});

0 commit comments

Comments
 (0)