File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
apps/vscode/src/providers Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import { isQuartoDoc, kQuartoDocSelector } from "../core/doc";
2222import { MarkdownEngine } from "../markdown/engine" ;
2323import { isExecutableLanguageBlock } from "quarto-core" ;
2424import { vscRange } from "../core/range" ;
25- import { mainLanguage } from "../vdoc/vdoc" ;
2625
2726export function activateBackgroundHighlighter (
2827 context : vscode . ExtensionContext ,
@@ -163,10 +162,6 @@ async function setEditorHighlightDecorations(
163162 blockRanges . push ( vscRange ( block . range ) ) ;
164163 }
165164
166- // expose cell language for use in keybindings, etc
167- const language = mainLanguage ( tokens ) ;
168- vscode . commands . executeCommand ( 'setContext' , 'quartoLangId' , language ?. ids [ 0 ] ) ;
169-
170165 // find inline executable code
171166 for ( let i = 0 ; i < editor . document . lineCount ; i ++ ) {
172167 const line = editor . document . lineAt ( i ) ;
You can’t perform that action at this time.
0 commit comments