mirror of
https://github.com/tweag/nickel.git
synced 2024-10-05 15:47:33 +03:00
44aef1672a
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
images | ||
src | ||
syntaxes | ||
.vscodeignore | ||
language-configuration.json | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock | ||
yarn.nix |
Nickel Language VS Code extension
Features
- Syntax highlighting
- Language server
- Code formatting using Topiary
Prerequsites
Install nickel
, nls
and topiary
Using Nix
nix profile install nixpkgs#{nickel,nls,topiary}
Using Cargo
cargo install nickel-lang-cli nickel-lang-lsp
Other installation methods
See the Nickel README and The LSP README.
Build from source
With Nix
From the root of the Nickel project:
nix build .\#vscodeExtension
The VSIX extension will be at ./result/vscode-nickel.vsix
.
With Yarn
From this directory:
yarn install && yarn compile && yarn vsce package --yarn
The VSIX extension will be at ./vscode-nickel-[version].vsix
.
Updating package.json
Whenever you change package.json
, you must run the following command:
yarn install && yarn2nix > yarn.nix
This will update:
yarn.lock
yarn.nix