Skip to content

Commit 2032169

Browse files
authored
perf(data source): support 'LspProgress' event in v0.10 (#109)
docs(install): update installation and integration
1 parent 509b17f commit 2032169

File tree

10 files changed

+233
-224
lines changed

10 files changed

+233
-224
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ insert_final_newline = false
66
charset = utf-8
77
trim_trailing_whitespace = true
88
indent_style = space
9-
indent_size = 4
9+
indent_size = 2

.github/workflows/ci.yml

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
if: ${{ github.ref != 'refs/heads/main' }}
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v4
17+
- uses: actions/checkout@v4
1918
# - uses: webiny/[email protected]
2019
- uses: ytanikin/[email protected]
2120
with:
@@ -24,28 +23,23 @@ jobs:
2423
name: Lua check
2524
runs-on: ubuntu-latest
2625
steps:
27-
- name: Checkout
28-
uses: actions/checkout@v4
29-
- name: LuaLs typecheck
30-
uses: stevearc/nvim-typecheck-action@v1
26+
- uses: actions/checkout@v4
27+
- uses: stevearc/nvim-typecheck-action@v1
3128
with:
3229
path: lua
3330
level: Information
3431
configpath: ".luarc.json"
3532
neodev-version: stable
36-
- name: Luacheck
37-
uses: lunarmodules/luacheck@v1
33+
- uses: lunarmodules/luacheck@v1
3834
with:
3935
args: lua --config .luacheckrc
40-
- name: Stylua
41-
uses: JohnnyMorganz/stylua-action@v3
36+
- uses: JohnnyMorganz/stylua-action@v3
4237
with:
4338
token: ${{ secrets.GITHUB_TOKEN }}
4439
version: latest
4540
args: --config-path .stylua.toml lua/ test/
46-
- name: Auto Commit
41+
- uses: stefanzweifel/git-auto-commit-action@v4
4742
if: ${{ github.ref != 'refs/heads/main' }}
48-
uses: stefanzweifel/git-auto-commit-action@v4
4943
with:
5044
commit_message: "chore(pr): auto-commit"
5145
unit_test:
@@ -55,20 +49,16 @@ jobs:
5549
nvim_version: [stable, nightly, v0.6.0]
5650
runs-on: ubuntu-latest
5751
steps:
58-
- name: Checkout
59-
uses: actions/checkout@v4
60-
- name: Install neovim
61-
uses: rhysd/action-setup-vim@v1
52+
- uses: actions/checkout@v4
53+
- uses: rhysd/action-setup-vim@v1
6254
id: vim
6355
with:
6456
neovim: true
6557
version: ${{ matrix.nvim_version }}
66-
- name: Install luajit
67-
uses: leafo/gh-actions-lua@v10
58+
- uses: leafo/gh-actions-lua@v10
6859
with:
6960
luaVersion: "luajit-2.1.0-beta3"
70-
- name: Install luarocks
71-
uses: leafo/gh-actions-luarocks@v4
61+
- uses: leafo/gh-actions-luarocks@v4
7262
- name: Run test cases
7363
shell: bash
7464
run: |
@@ -88,8 +78,7 @@ jobs:
8878
ls -l .
8979
echo "cat ./luacov.report.out"
9080
cat ./luacov.report.out
91-
- name: Upload coverage reports to Codecov
92-
uses: codecov/codecov-action@v3
81+
- uses: codecov/codecov-action@v3
9382
with:
9483
files: luacov.report.out
9584
env:
@@ -122,7 +111,6 @@ jobs:
122111
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
123112
with:
124113
version: ${{ steps.release.outputs.tag_name }}
125-
summary: "A performant lsp progress status for Neovim."
126114
labels: |
127115
vim
128116
neovim

.nvim.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vim.opt.tabstop = 2
2+
vim.opt.softtabstop = 2
3+
vim.opt.shiftwidth = 2

0 commit comments

Comments
 (0)