From 8404ef00054dccc64f0f09c9d1f56cc3d68e6666 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 9 Jun 2023 13:12:02 -0700 Subject: [PATCH] Clean pre-commit checks a little bit --- .pre-commit-config.yaml | 21 ++++++++++----------- neovim/ftplugin/go.vim | 2 +- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7573c23..91beed9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,17 +13,6 @@ repos: (?x)^( vim/colors/.*\.vim )$ - - repo: local - hooks: - - id: luacheck - name: Luacheck - entry: luacheck - args: - - --globals - - vim - - -- - language: system - types: [file, lua] - repo: https://github.com/johnnymorganz/stylua rev: v0.15.2 hooks: @@ -35,3 +24,13 @@ repos: language: script entry: ./scripts/sort-json.sh files: "(\\.json$|^neovim/packer_snapshots/)" + types: [text] + - id: luacheck + name: Luacheck + entry: luacheck + args: + - --globals + - vim + - -- + language: system + types: [lua] diff --git a/neovim/ftplugin/go.vim b/neovim/ftplugin/go.vim index f6d3ec5..c6240f2 100644 --- a/neovim/ftplugin/go.vim +++ b/neovim/ftplugin/go.vim @@ -1 +1 @@ -let g:argwrap_tail_comma = 1 \ No newline at end of file +let g:argwrap_tail_comma = 1