ci: Add workflow running vimscript linter

This commit is contained in:
Caleb Maclennan
2023-02-21 16:16:16 +03:00
parent 63554a38bb
commit 7ce9d4ee7f
2 changed files with 17 additions and 0 deletions

15
.github/workflows/vint.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Vint
on: [push]
jobs:
vint:
name: vint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Setup dependencies
run: pip install vim-vint
- name: Lint Vimscript
run: vint .

View File

@@ -1,5 +1,7 @@
# Indent Guides # Indent Guides
[![Vint](https://github.com/preservim/vim-indent-guides/workflows/Vint/badge.svg)](https://github.com/preservim/vim-indent-guides/actions?workflow=Vint)
Indent Guides is a plugin for visually displaying indent levels in Vim. Indent Guides is a plugin for visually displaying indent levels in Vim.
<img src="http://i.imgur.com/ONgoj.png" width="448" height="448" alt="" /> <img src="http://i.imgur.com/ONgoj.png" width="448" height="448" alt="" />