ci: scripts + format
This commit is contained in:
parent
af0a44bec8
commit
6b1ba1f056
4 changed files with 11 additions and 0 deletions
|
|
@ -4,5 +4,6 @@
|
|||
"diagnostics.globals": ["vim"],
|
||||
"workspace.library": ["$VIMRUNTIME/lua", "${3rd}/luv/library"],
|
||||
"workspace.checkThirdParty": false,
|
||||
"workspace.ignoreDir": [".direnv"],
|
||||
"completion.callSnippet": "Replace"
|
||||
}
|
||||
|
|
|
|||
1
.styluaignore
Normal file
1
.styluaignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
.direnv/
|
||||
7
scripts/ci.sh
Executable file
7
scripts/ci.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
nix develop --command stylua --check .
|
||||
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet
|
||||
nix develop --command prettier --check .
|
||||
nix develop --command lua-language-server --check . --checklevel=Warning
|
||||
2
vim.yaml
2
vim.yaml
|
|
@ -22,3 +22,5 @@ globals:
|
|||
any: true
|
||||
stub:
|
||||
any: true
|
||||
bit:
|
||||
any: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue