Skip to content

Commit f255127

Browse files
committed
bring autocomplete in front of linter
closes #54
1 parent c9704ef commit f255127

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

stylesheets/autocomplete-fix.less

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
// Fixing up autocomplete-plus for us. Just TypeScript files
2-
// See https://github.com/atom-community/autocomplete-plus/issues/214
3-
42
atom-text-editor[data-grammar~=ts]{
53

64
// Added 'span.' to the selectors to increase specifity
7-
5+
// See https://github.com/atom-community/autocomplete-plus/issues/214
86
.autocomplete-plus.popover-list ol.list-group li span.label{
97
opacity: .7;
108
}
119
.autocomplete-plus.popover-list ol.list-group li span.word{
1210
color: white;
1311
opacity: .8;
1412
}
13+
14+
// Move linter behind auto complete
15+
// See https://github.com/TypeStrong/atom-typescript/issues/54
16+
// I find that autocomplete shows *before* linter (because the linter is debounced) so autocomplete is openfully the `first` thing you have
17+
// So just bump the z-index (the default is 4)
18+
atom-overlay:first-of-type{
19+
z-index: 5;
20+
}
1521
}

0 commit comments

Comments
 (0)