view .pre-commit-config.yaml @ 555:3b9c7a3a068a

always enable lsp keymaps on attach Sometimes capabilities are resolved later then when the function runs leading to disabled maps even when the features are available
author zegervdv <zegervdv@me.com>
date Sun, 06 Feb 2022 11:54:00 +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]