import * as vscode from "vscode" ; import * as decorations from "./rmarkdown-core/decorations" ; import * as listEditing from "./rmarkdown-core/listEditing" ; import * as formatting from "./rmarkdown-core/formatting" ; import * as tableFormatter from "./rmarkdown-core/tableFormatter" ; import { loadCommands } from "./auto" ; export function activate ( context ) { console . log ( "rmarkdown extension activated!!!" ) ; decorations . activate ( context ) ; listEditing . activate ( context ) ; formatting . activate ( context ) ; tableFormatter . activate ( context ) ; loadCommands ( context ) ; vscode . languages . setLanguageConfiguration ( "rmarkdown" , { wordPattern : /(-?\d*\.\d\w*)|([^\!\@\#\%\^\&\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s\，\。\《\》\？\；\：\‘\“\’\”\（\）\【\】\、]+)/g , } ) ; } export function deactivate ( ) { }