view .pre-commit-config.yaml @ 489:1635e29e0ed4

Move autocmds to init.lua
author zegervdv <zegervdv@me.com>
date Sun, 14 Nov 2021 09:34:26 +0100
parents 7004867c436c
children 627d2040c3ff
line wrap: on
line source

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
    hooks:
      - id: check-yaml
      - id: end-of-file-fixer
      - id: trailing-whitespace

  - repo: local
    hooks:
      - id: stylua
        name: Format with stylua
        description: Formats lua files
        entry: stylua
        language: system
        types: [lua]