Skip to content

Commit 4ac1943

Browse files
committed
require at least Vim 8.2
Require at least Vim 8.2, which is what ships with the oldest Ubuntu LTS that is still supported.
1 parent afdc935 commit 4ac1943

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/git.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [pull_request]
33

44
jobs:
55
autosquash-commits-integrated:
6-
runs-on: ubuntu-20.04
6+
runs-on: ubuntu-22.04
77

88
steps:
99
- uses: actions/[email protected]

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push, pull_request]
33
jobs:
44
lint:
55
name: lint
6-
runs-on: ubuntu-20.04
6+
runs-on: ubuntu-22.04
77
steps:
88
- name: set up python
99
uses: actions/[email protected]
@@ -23,7 +23,7 @@ jobs:
2323
run: $GITHUB_WORKSPACE/scripts/lint vim-8.2
2424
test:
2525
name: test
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727
strategy:
2828
fail-fast: false
2929
matrix:

plugin/go.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ function! s:checkVersion() abort
1414
if has('nvim')
1515
let l:unsupported = !has('nvim-0.4.0')
1616
else
17-
let l:unsupported = !has('patch-8.1.2269')
17+
let l:unsupported = !has('patch-8.2.5072')
1818
endif
1919

2020
if l:unsupported == 1
2121
echohl Error
22-
echom "vim-go requires at least Vim 8.1.2269 or Neovim 0.4.0, but you're using an older version."
22+
echom "vim-go requires at least Vim 8.2.5072 or Neovim 0.4.0, but you're using an older version."
2323
echom "Please update your Vim for the best vim-go experience."
2424
echom "If you really want to continue you can set this to make the error go away:"
2525
echom " let g:go_version_warning = 0"
2626
echom "Note that some features may error out or behave incorrectly."
27-
echom "Please do not report bugs unless you're using at least Vim 8.1.2269 or Neovim 0.4.0."
27+
echom "Please do not report bugs unless you're using at least Vim 8.2.5072 or Neovim 0.4.0."
2828
echohl None
2929

3030
" Make sure people see this.

0 commit comments

Comments
 (0)