Remove unused code

master
Brad Cornes 2020-08-21 11:08:32 +01:00
parent 9994965ef6
commit 5b7f050df0
1 changed files with 0 additions and 10 deletions

View File

@ -39,16 +39,6 @@ export function registerDocumentColorProvider(state: State) {
let value = dlv(state.config, [...base, ...keys]) let value = dlv(state.config, [...base, ...keys])
let color = getColorFromValue(value) let color = getColorFromValue(value)
if (color) { if (color) {
// colors.push({
// range: {
// start: {
// line: fn.valueRange.start.line,
// character: fn.valueRange.start.character + 1,
// },
// end: fn.valueRange.end,
// },
// color,
// })
colors.push({ range: fn.valueRange, color }) colors.push({ range: fn.valueRange, color })
} }
}) })