Update AutocompleteLanguageInfo.ts
This commit is contained in:
parent
b6436dd849
commit
eb06857124
1 changed files with 10 additions and 0 deletions
|
|
@ -240,6 +240,14 @@ export const Solidity = {
|
|||
endOfLine: [";"],
|
||||
};
|
||||
|
||||
// Lua
|
||||
export const Lua = {
|
||||
name: "Lua",
|
||||
topLevelKeywords: ["function"],
|
||||
singleLineComment: "--",
|
||||
endOfLine: [],
|
||||
};
|
||||
|
||||
// YAML
|
||||
export const YAML: AutocompleteLanguageInfo = {
|
||||
name: "YAML",
|
||||
|
|
@ -367,6 +375,8 @@ export const LANGUAGES: { [extension: string]: AutocompleteLanguageInfo } = {
|
|||
yaml: YAML,
|
||||
yml: YAML,
|
||||
md: Markdown,
|
||||
lua: Lua,
|
||||
luau: Lua,
|
||||
};
|
||||
|
||||
export function languageForFilepath(fileUri: string): AutocompleteLanguageInfo {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue