Skip to content

Commit

Permalink
perf(data source): support 'LspProgress' event in v0.10 (#109)
Browse files Browse the repository at this point in the history
docs(install): update installation and integration
  • Loading branch information
linrongbin16 authored Jan 11, 2024
1 parent 509b17f commit 2032169
Show file tree
Hide file tree
Showing 10 changed files with 233 additions and 224 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ insert_final_newline = false
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
indent_size = 2
34 changes: 11 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
# - uses: webiny/[email protected]
- uses: ytanikin/[email protected]
with:
Expand All @@ -24,28 +23,23 @@ jobs:
name: Lua check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: LuaLs typecheck
uses: stevearc/nvim-typecheck-action@v1
- uses: actions/checkout@v4
- uses: stevearc/nvim-typecheck-action@v1
with:
path: lua
level: Information
configpath: ".luarc.json"
neodev-version: stable
- name: Luacheck
uses: lunarmodules/luacheck@v1
- uses: lunarmodules/luacheck@v1
with:
args: lua --config .luacheckrc
- name: Stylua
uses: JohnnyMorganz/stylua-action@v3
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --config-path .stylua.toml lua/ test/
- name: Auto Commit
- uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.ref != 'refs/heads/main' }}
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore(pr): auto-commit"
unit_test:
Expand All @@ -55,20 +49,16 @@ jobs:
nvim_version: [stable, nightly, v0.6.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install neovim
uses: rhysd/action-setup-vim@v1
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: true
version: ${{ matrix.nvim_version }}
- name: Install luajit
uses: leafo/gh-actions-lua@v10
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "luajit-2.1.0-beta3"
- name: Install luarocks
uses: leafo/gh-actions-luarocks@v4
- uses: leafo/gh-actions-luarocks@v4
- name: Run test cases
shell: bash
run: |
Expand All @@ -88,8 +78,7 @@ jobs:
ls -l .
echo "cat ./luacov.report.out"
cat ./luacov.report.out
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v3
with:
files: luacov.report.out
env:
Expand Down Expand Up @@ -122,7 +111,6 @@ jobs:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
version: ${{ steps.release.outputs.tag_name }}
summary: "A performant lsp progress status for Neovim."
labels: |
vim
neovim
3 changes: 3 additions & 0 deletions .nvim.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
Loading

0 comments on commit 2032169

Please sign in to comment.