2018-07-30 23:34:44 +08:00
|
|
|
---
|
|
|
|
title: "SpaceVim lang#dockerfile layer"
|
2021-06-21 20:39:29 +08:00
|
|
|
description: "Dockerfile language support, including syntax highlighting and code formatting."
|
2018-07-30 23:34:44 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
# [Available Layers](../../) >> lang#dockerfile
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Description](#description)
|
|
|
|
- [Features](#features)
|
|
|
|
- [Install](#install)
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2021-06-21 20:39:29 +08:00
|
|
|
This layer adds Dockerfile language support to SpaceVim.
|
2018-07-30 23:34:44 +08:00
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- syntax highlighting
|
2021-06-21 20:39:29 +08:00
|
|
|
- lsp support (requires [lsp](https://spacevim.org/layers/language-server-protocol/) layer)
|
2018-07-30 23:34:44 +08:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
2021-06-21 20:39:29 +08:00
|
|
|
To use this configuration layer, update your custom configuration file with:
|
2018-07-30 23:34:44 +08:00
|
|
|
|
|
|
|
```toml
|
|
|
|
[[layers]]
|
|
|
|
name = "lang#dockerfile"
|
|
|
|
```
|
|
|
|
|
|
|
|
to enable language server protocol, you need to install:
|
|
|
|
|
|
|
|
https://github.com/rcjsuen/dockerfile-language-server-nodejs
|