aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2021-04-21 22:41:47 +0200
committerKiyan <yazdani.kiyan@protonmail.com>2021-04-23 21:21:38 +0200
commitd4e8d3e6597578c14dd846762c57308f36ccacb5 (patch)
tree84642dda885ebad07a731b27c8e9147a7e98ae4f /scripts
parenttests/indent: remove indentexpr fix (diff)
downloadnvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.tar
nvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.tar.gz
nvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.tar.bz2
nvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.tar.lz
nvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.tar.xz
nvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.tar.zst
nvim-treesitter-d4e8d3e6597578c14dd846762c57308f36ccacb5.zip
ignore Lua indent test files when doing style-check
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/style-check.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/style-check.sh b/scripts/style-check.sh
index 181ab4581..bf3b906f3 100755
--- a/scripts/style-check.sh
+++ b/scripts/style-check.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
-luacheck `find -name "*.lua"` --codes
+# ignore indent test files
+luacheck `find -name "*.lua" -not -path "./lua/tests/indent/lua/*"` --codes