{ "name": "texinfo", "displayName": "Texinfo Language Support", "description": "Syntax highlighting, code completion and preview support for Texinfo.", "version": "0.1.0", "author": { "name": "CismonX", "email": "admin@cismon.net", "url": "https://cismon.net" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/texinfo-lang/vscode-texinfo" }, "icon": "assets/texinfo.png", "devDependencies": { "@types/node": "^14.11.8", "@types/vscode": "^1.50.0", "@typescript-eslint/eslint-plugin": "^3.8.0", "@typescript-eslint/parser": "^3.8.0", "cson": "^7.20.0", "eslint": "^7.11.0", "language-texinfo": "^1.0.0", "typescript": "^4.0.3" }, "dependencies": { "node-html-parser": "^1.3.1" }, "scripts": { "vscode:prepublish": "npm run lint && npm run build", "compile": "tsc -p ./", "prepare": "sh ./scripts/prepare.sh", "build": "npm run prepare && npm run compile", "lint": "eslint --ext ts --fix src", "watch": "tsc -watch -p ./" }, "eslintConfig": { "root": true, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended" ], "rules": { "comma-dangle": ["warn", "always-multiline"], "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/semi": "warn" } }, "engines": { "vscode": "^1.40.0" }, "categories": [ "Programming Languages", "Snippets", "Other" ], "main": "./out/extension.js", "activationEvents": [ "onLanguage:texinfo" ], "contributes": { "commands": [ { "command": "texinfo.showPreview", "title": "Show preview", "icon": "$(open-preview)" } ], "menus": { "commandPalette": [ { "command": "texinfo.showPreview", "when": "editorLangId == texinfo", "group": "navigation" } ], "editor/title": [ { "command": "texinfo.showPreview", "when": "editorLangId == texinfo", "group": "navigation" } ] }, "keybindings": [ { "command": "texinfo.showPreview", "key": "ctrl+k v", "mac": "cmd+k v", "when": "editorLangId == texinfo" } ], "configuration": { "title": "Texinfo", "properties": { "texinfo.makeinfo": { "type": "string", "default": "makeinfo", "markdownDescription": "Path to the `makeinfo` command." }, "texinfo.preview.noHeaders": { "type": "boolean", "default": false, "markdownDescription": "Suppress node separators in preview. See `makeinfo --help` for details." }, "texinfo.preview.maxSize": { "type": "integer", "default": "2", "markdownDescription": "Max allowed size (in MiB) for the preview document." }, "texinfo.preview.errorLimit": { "type": "integer", "default": 100, "markdownDescription": "Max tolerated number of errors when trying to display preview." }, "texinfo.preview.force": { "type": "boolean", "default": false, "markdownDescription": "Preserve preview even if errors." }, "texinfo.preview.noValidate": { "type": "boolean", "default": false, "markdownDescription": "Supress node cross-reference validation." }, "texinfo.preview.noWarn": { "type": "boolean", "default": false, "markdownDescription": "Suppress warnings." }, "texinfo.preview.displayImage": { "type": "boolean", "default": false, "markdownDescription": "Whether to display images in in the preview." } } }, "languages": [ { "id": "texinfo", "aliases": [ "Texinfo" ], "extensions": [ ".texi", ".texinfo", ".txi" ], "configuration": "./language-configuration.json" } ], "grammars": [ { "language": "texinfo", "scopeName": "text.texinfo", "path": "./out/texinfo.tmGrammar.json", "configuration": "./language-configuration.json" } ] } }