@codemirror/lang-cpp
Advanced tools
Comparing version
@@ -0,1 +1,7 @@ | ||
## 0.17.1 (2021-01-06) | ||
### New features | ||
The package now also exports a CommonJS module. | ||
## 0.17.0 (2020-12-29) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@codemirror/lang-cpp", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "C++ language support for the CodeMirror code editor", | ||
"scripts": { | ||
"test": "echo 'No tests'", | ||
"prepare": "tsc && rollup -c" | ||
"prepare": "tsc -p tsconfig.local.json && rollup -c" | ||
}, | ||
@@ -19,3 +19,7 @@ "keywords": [ | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"main": "dist/index.cjs", | ||
"exports": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"types": "dist/index.d.ts", | ||
@@ -22,0 +26,0 @@ "module": "dist/index.js", |
@@ -0,1 +1,3 @@ | ||
<!-- NOTE: README.md is generated from src/README.md --> | ||
# @codemirror/lang-cpp [](https://www.npmjs.org/package/@codemirror/lang-cpp) | ||
@@ -19,1 +21,18 @@ | ||
to communication around the project. | ||
## API Reference | ||
<dl> | ||
<dt id="user-content-cpp"> | ||
<code><strong><a href="#user-content-cpp">cpp</a></strong>() → <a href="https://codemirror.net/6/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt> | ||
<dd><p>Language support for C++.</p> | ||
</dd> | ||
<dt id="user-content-cpplanguage"> | ||
<code><strong><a href="#user-content-cpplanguage">cppLanguage</a></strong>: <a href="https://codemirror.net/6/docs/ref#language.LezerLanguage">LezerLanguage</a></code></dt> | ||
<dd><p>A language provider based on the <a href="https://github.com/lezer-parser/cpp">Lezer C++ | ||
parser</a>, extended with | ||
highlighting and indentation information.</p> | ||
</dd> | ||
</dl> | ||
20520
44.57%10
42.86%176
122.78%38
100%