Skip to content

Commit

Permalink
CI: add lua lint check
Browse files Browse the repository at this point in the history
We now have our first lua script so we should start checking that for
obvious problems
  • Loading branch information
lelutin committed Aug 29, 2024
1 parent 6ff2177 commit bbdf647
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/vader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
run: pip install --pre vim-vint
- name: Lint vimscript files
run: vint --warning --enable-neovim ./after ./autoload ./compiler ./ftdetect ./ftplugin ./indent ./syntax
- uses: lunarmodules/luacheck@v1
- uses: ludeeus/action-shellcheck@master

tests:
Expand Down
6 changes: 6 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- vim: ft=lua tw=80

-- Global objects defined by the C code
read_globals = {
"vim",
}

0 comments on commit bbdf647

Please sign in to comment.