Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
vimdoc: "nvim-java"
dedupsubheadings: false
version: "Neovim >= 0.9.4"
version: "Neovim >= 0.11.5"
demojify: true

- name: create pull request
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Just install and start writing `public static void main(String[] args)`.

<summary>:small_orange_diamond:details</summary>

**Requirements:** Neovim 0.11+
**Requirements:** Neovim 0.11.5+

### Using `vim.pack`

Expand Down
8 changes: 3 additions & 5 deletions lua/java/checks/nvim-version.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ function M:run(config)
return
end

if vim.fn.has('nvim-0.11') ~= 1 then
if not vim.version.ge(vim.version(), '0.11.5') then
local err = require('java-core.utils.errors')
err.throw([[
nvim-java is only tested on Neovim 0.11 or greater
Please upgrade to Neovim 0.11 or greater.
If you are sure it works on your version, disable the version check:
checks = { nvim_version = false }'
nvim-java is only tested on Neovim 0.11.5 or greater
Please upgrade to Neovim 0.11.5 or greater.
]])
end
end
Expand Down