From f39d363163befd20f94daf6ec1eb6a8d3e0a5353 Mon Sep 17 00:00:00 2001 From: Petru Cervac Date: Sat, 31 May 2025 06:52:17 +0000 Subject: [PATCH] feat: add nvim feature --- features/src/neovim/README.md | 26 +++++++++++++++++++ features/src/neovim/devcontainer-feature.json | 6 +++++ features/src/neovim/install.sh | 6 +++++ features/test/neovim/alpine.sh | 4 +++ features/test/neovim/scenarios.json | 8 ++++++ 5 files changed, 50 insertions(+) create mode 100644 features/src/neovim/README.md create mode 100644 features/src/neovim/devcontainer-feature.json create mode 100644 features/src/neovim/install.sh create mode 100644 features/test/neovim/alpine.sh create mode 100644 features/test/neovim/scenarios.json diff --git a/features/src/neovim/README.md b/features/src/neovim/README.md new file mode 100644 index 0000000..7b6f07f --- /dev/null +++ b/features/src/neovim/README.md @@ -0,0 +1,26 @@ +# texlive + +# + +```json +"features": { + ghcr.io/bushero/devcontainers/features/texlive:3.1.0: {} +} +``` + +## Options + +| Options Id | Description | Type | Default Value | +|-----|-----|-----|-----| +| scheme | TeX packages to be installed | String | scheme-basic | +| packages | TeX packages to be installed | String | | + +## Customizations + +### VS Code Extenssions + +- `james-yu.latex-workshop` + +--- + +_Note: This file was auto-generated from the [devcontainer-feature.json](/features/src/texlive/devcontainer-feature.json). Add additional notes to a `Notes.md`._ diff --git a/features/src/neovim/devcontainer-feature.json b/features/src/neovim/devcontainer-feature.json new file mode 100644 index 0000000..ff03f22 --- /dev/null +++ b/features/src/neovim/devcontainer-feature.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json", + "id": "neovim", + "version": "1.0.0", + "name": "Neovim" +} diff --git a/features/src/neovim/install.sh b/features/src/neovim/install.sh new file mode 100644 index 0000000..3faa69c --- /dev/null +++ b/features/src/neovim/install.sh @@ -0,0 +1,6 @@ +#!/bin/sh + + +apk update +apk upgrade +apk add neovim diff --git a/features/test/neovim/alpine.sh b/features/test/neovim/alpine.sh new file mode 100644 index 0000000..e839d97 --- /dev/null +++ b/features/test/neovim/alpine.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +nvim --version diff --git a/features/test/neovim/scenarios.json b/features/test/neovim/scenarios.json new file mode 100644 index 0000000..2d42152 --- /dev/null +++ b/features/test/neovim/scenarios.json @@ -0,0 +1,8 @@ +{ + "alpine": { + "image": "alpine:latest", + "features": { + "neovim": {} + } + } +}