formatting

master
Brad Cornes 2021-06-04 17:00:34 +01:00
parent 388cbb8351
commit 14ec688199
1 changed files with 16 additions and 18 deletions

View File

@ -240,8 +240,7 @@ export function completionsFromClassList(
items: Object.keys(isSubset ? subset : state.classNames.classNames) items: Object.keys(isSubset ? subset : state.classNames.classNames)
.filter((k) => k !== '__info') .filter((k) => k !== '__info')
.filter((className) => isContextItem(state, [...subsetKey, className])) .filter((className) => isContextItem(state, [...subsetKey, className]))
.map( .map((className, index): CompletionItem => {
(className, index): CompletionItem => {
return { return {
label: className + sep, label: className + sep,
kind: 9, kind: 9,
@ -257,8 +256,7 @@ export function completionsFromClassList(
range: replacementRange, range: replacementRange,
}, },
} }
} })
)
.concat( .concat(
Object.keys(isSubset ? subset : state.classNames.classNames) Object.keys(isSubset ? subset : state.classNames.classNames)
.filter((className) => .filter((className) =>