Skip to content

Commit 187cc48

Browse files
authored
fix(timing): remove 'UIEnter' from on nvim start (#182)
1 parent a2dee21 commit 187cc48

30 files changed

+1013
-818
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v4
27+
- uses: JohnnyMorganz/stylua-action@v3
28+
with:
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
version: latest
31+
args: --config-path .stylua.toml ./lua ./spec
2732
- name: Install commons.nvim
2833
if: ${{ github.ref != 'refs/heads/main' }}
2934
run: |
@@ -41,11 +46,6 @@ jobs:
4146
- uses: lunarmodules/luacheck@v1
4247
with:
4348
args: lua --config .luacheckrc
44-
- uses: JohnnyMorganz/stylua-action@v3
45-
with:
46-
token: ${{ secrets.GITHUB_TOKEN }}
47-
version: latest
48-
args: --config-path .stylua.toml ./lua ./spec
4949
- uses: stefanzweifel/git-auto-commit-action@v4
5050
if: ${{ github.ref != 'refs/heads/main' }}
5151
with:

.luacheckrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ unused = false
44
unused_args = false
55
exclude_files = {
66
"lua/colorbox/commons/*.lua",
7+
"lua/colorbox/commons/*/*.lua",
8+
"lua/colorbox/commons/*/*/*.lua",
9+
"lua/colorbox/commons/*/*/*/*.lua",
710
}

.luacov

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ modules = {
44
}
55
exclude = {
66
"lua/colorbox/commons/*.lua",
7+
"lua/colorbox/commons/*/*.lua",
8+
"lua/colorbox/commons/*/*/*.lua",
79
}
810

.luarc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"inject-field",
1313
"deprecated",
1414
"luadoc-miss-module-name",
15-
"undefined-doc-name"
15+
"undefined-doc-name",
16+
"lowercase-global"
1617
],
1718
"runtime.version": "LuaJIT",
1819
"workspace.checkThirdParty": "Disable"

.stylua.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
column_width = 80
1+
column_width = 100
22
line_endings = "Unix"
33
indent_type = "Spaces"
44
indent_width = 4

.styluaignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
lua/colorbox/commons/*.lua
2+
lua/colorbox/commons/**/*.lua
3+
lua/colorbox/commons/**/**/*.lua

codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ coverage:
66
patch:
77
default:
88
threshold: 90%
9+
ignore:
10+
- "lua/commons/*.lua"
11+
- "lua/commons/**/*.lua"
12+
- "lua/commons/**/**/*.lua"
13+
- "lua/commons/**/**/**/*.lua"

0 commit comments

Comments
 (0)