Skip to content

Commit 277e4f4

Browse files
authored
chore: bump neovim version to 0.9.1 (#56)
1 parent 9e84f9e commit 277e4f4

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/commitlint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626

2727
# When the previous steps fails, the workflow would stop. By adding this
28-
# condition you can continue the execution with the populated error message.
28+
# condition we can continue the execution with the populated error message.
2929
- uses: marocchino/sticky-pull-request-comment@v2
3030
if: always() && (steps.lint_pr_title.outputs.error_message != null)
3131
with:

.github/workflows/test.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
matrix:
1414
include:
1515
- os: ubuntu-latest
16-
neovim: 0.8.0
17-
url: https://github.com/neovim/neovim/releases/download/v0.8.0/nvim-linux64.tar.gz
16+
neovim: stable
17+
url: https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz
1818
- os: ubuntu-latest
1919
neovim: nightly
2020
url: https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
2121
- os: macos-latest
22-
neovim: 0.8.0
23-
url: https://github.com/neovim/neovim/releases/download/v0.8.0/nvim-macos.tar.gz
22+
neovim: stable
23+
url: https://github.com/neovim/neovim/releases/download/stable/nvim-macos.tar.gz
2424
- os: macos-latest
2525
neovim: nightly
2626
url: https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz
@@ -43,7 +43,6 @@ jobs:
4343
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
4444
ln -s $PWD ~/.local/share/nvim/site/pack/vendor/start
4545
- name: Run tests
46-
timeout-minutes: 4
4746
run: |
4847
export PATH="$PWD/_neovim/bin:$PATH"
4948
nvim --version

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use "cpea2506/one_monokai.nvim"
3030

3131
### Requirement
3232

33-
- Neovim >= 0.8.0
33+
- Neovim >= 0.9.1
3434
- [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) for better syntax highlighting (optional) 😇
3535

3636
## :gear: Setup

tests/spec/config_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ describe("Override config", function()
3737
end)
3838

3939
it("should change default themes", function()
40-
local hl = vim.api.nvim_get_hl_by_name("Normal", true)
40+
local hl = vim.api.nvim_get_hl(0, { name = "Normal" })
4141

42-
assert.equal(expected.colors.lmao, ("#%06x"):format(hl.foreground))
42+
assert.equal(expected.colors.lmao, ("#%06x"):format(hl.fg))
4343
assert.equal(true, hl.italic)
4444
end)
4545

0 commit comments

Comments
 (0)