Skip to content

Commit

Permalink
feat: add volar.virtualFiles.mappingSelectionBackgroundColor setting (
Browse files Browse the repository at this point in the history
#2170)

* feat: add `volar.virtualFiles.mappingSelectionBackgroundColor` setting

* chore: fix lint

* feat: remove `volar.virtualFiles.mappingSelectionBackgroundColor` setting

Co-authored-by: johnsoncodehk <johnsoncodehk@gmail.com>
  • Loading branch information
Sight-wcg and johnsoncodehk committed Dec 8, 2022
1 parent 20b46f4 commit 250cc4b
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -20,8 +20,12 @@ const mappingDecorationType = vscode.window.createTextEditorDecorationType({
});
const mappingSelectionDecorationType = vscode.window.createTextEditorDecorationType({
cursor: 'crosshair',
// use a themable color. See package.json for the declaration and default values.
backgroundColor: 'darkblue'
light: {
backgroundColor: 'lightblue'
},
dark: {
backgroundColor: 'darkblue'
}
});

export async function register(context: vscode.ExtensionContext, client: BaseLanguageClient) {
Expand Down

0 comments on commit 250cc4b

Please sign in to comment.