-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added search, updated Vitepress to latest version
- Loading branch information
Showing
17 changed files
with
1,529 additions
and
734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +0,0 @@ | ||
import {BUNDLED_LANGUAGES} from 'shiki' | ||
|
||
// @ts-ignore | ||
import splunk_syntax from './splunk.tmLanguage.json' | ||
// @ts-ignore | ||
import sumo_syntax from './sumologic.tmLanguage.json' | ||
// @ts-ignore | ||
import bash_syntax from './bash.tmLanguage.json' | ||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.push({ | ||
id: "splunk", | ||
scopeName: 'source.splunk', | ||
aliases: [], | ||
grammar: splunk_syntax, | ||
}) | ||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.push({ | ||
id: "sumologic", | ||
scopeName: 'source.sumologic', | ||
aliases: [], | ||
grammar: sumo_syntax, | ||
}) | ||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.push({ | ||
id: "shell", | ||
scopeName: 'source.shell', | ||
aliases: ['bash'], | ||
grammar: bash_syntax, | ||
}) | ||
|
||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.find(lang => lang.id === 'yaml').aliases.push('yaml-vue'); | ||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.find(lang => lang.id === 'shell').aliases.push('bash-vue'); | ||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.find(lang => lang.id === 'sumologic').aliases.push('sumologic-vue'); | ||
|
||
// @ts-ignore | ||
BUNDLED_LANGUAGES.find(lang => lang.id === 'splunk').aliases.push('splunk-vue'); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.