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