From fd78ee03959b84a54f1808d6811c788d17ab9003 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Tue, 8 Jan 2019 22:08:54 +0100 Subject: [PATCH] Added how Vim can use yamllint without any plugins --- docs/text_editors.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/text_editors.rst b/docs/text_editors.rst index da3e96f..b365619 100644 --- a/docs/text_editors.rst +++ b/docs/text_editors.rst @@ -9,6 +9,13 @@ text editor. Vim --- +In its standard installation the following command can be used to populate +Vims location list with yamllints results: + +:: + + lexpr system("yamllint -f parsable ".expand("%")) | lopen + Assuming that the `ALE `_ plugin is installed, yamllint is supported by default. It is automatically enabled when editing YAML files.