Skip to content

Commit 6a53266

Browse files
authored
Merge branch 'maintained-upstream' into chore/raise-nvim-version
2 parents cc1a4d7 + 06a3217 commit 6a53266

File tree

11 files changed

+315
-151
lines changed

11 files changed

+315
-151
lines changed

.github/workflows/stylua.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Code
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
1414
ref: ${{ github.event.pull_request.head.sha }}
1515
- name: Stylua Check
16-
uses: JohnnyMorganz/stylua-action@v3
16+
uses: JohnnyMorganz/stylua-action@v4
1717
with:
1818
token: ${{ secrets.GITHUB_TOKEN }}
1919
version: latest

.stylua.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ indent_type = "Spaces"
44
indent_width = 2
55
quote_style = "AutoPreferSingle"
66
call_parentheses = "None"
7+
collapse_simple_statement = "FunctionOnly"

README.md

Lines changed: 83 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ A starting point for Neovim that is:
1717
Kickstart.nvim targets *only* the latest
1818
['stable'](https://github.com/neovim/neovim/releases/tag/stable) and latest
1919
['nightly'](https://github.com/neovim/neovim/releases/tag/nightly) of Neovim.
20-
If you are experiencing issues, please make sure you have the latest versions.
20+
If you are experiencing issues, please make sure you have at least the latest
21+
stable version. Most likely, you want to install neovim via a [package
22+
manager](https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-package).
23+
To check your neovim version, run `nvim --version` and make sure it is not
24+
below the latest
25+
['stable'](https://github.com/neovim/neovim/releases/tag/stable) version. If
26+
your chosen install method only gives you an outdated version of neovim, find
27+
alternative [installation methods below](#alternative-neovim-installation-methods).
2128

2229
### Install External Dependencies
2330

@@ -154,7 +161,7 @@ examples of adding popularly requested plugins.
154161
155162
Below you can find OS specific install instructions for Neovim and dependencies.
156163
157-
After installing all the dependencies continue with the [Install Kickstart](#Install-Kickstart) step.
164+
After installing all the dependencies continue with the [Install Kickstart](#install-kickstart) step.
158165
159166
#### Windows Installation
160167
@@ -239,3 +246,77 @@ sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
239246
```
240247
</details>
241248

249+
### Alternative neovim installation methods
250+
251+
For some systems it is not unexpected that the [package manager installation
252+
method](https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-package)
253+
recommended by neovim is significantly behind. If that is the case for you,
254+
pick one of the following methods that are known to deliver fresh neovim versions very quickly.
255+
They have been picked for their popularity and because they make installing and updating
256+
neovim to the latest versions easy. You can also find more detail about the
257+
available methods being discussed
258+
[here](https://github.com/nvim-lua/kickstart.nvim/issues/1583).
259+
260+
261+
<details><summary>Bob</summary>
262+
263+
[Bob](https://github.com/MordechaiHadad/bob) is a Neovim version manager for
264+
all plattforms. Simply install
265+
[rustup](https://rust-lang.github.io/rustup/installation/other.html),
266+
and run the following commands:
267+
268+
```bash
269+
rustup default stable
270+
rustup update stable
271+
cargo install bob-nvim
272+
bob use stable
273+
```
274+
275+
</details>
276+
277+
<details><summary>Homebrew</summary>
278+
279+
[Homebrew](https://brew.sh) is a package manager popular on Mac and Linux.
280+
Simply install using [`brew install`](https://formulae.brew.sh/formula/neovim).
281+
282+
</details>
283+
284+
<details><summary>Flatpak</summary>
285+
286+
Flatpak is a package manager for applications that allows developers to package their applications
287+
just once to make it available on all Linux systems. Simply [install flatpak](https://flatpak.org/setup/)
288+
and setup [flathub](https://flathub.org/setup) to [install neovim](https://flathub.org/apps/io.neovim.nvim).
289+
290+
</details>
291+
292+
<details><summary>asdf and mise-en-place</summary>
293+
294+
[asdf](https://asdf-vm.com/) and [mise](https://mise.jdx.dev/) are tool version managers,
295+
mostly aimed towards project-specific tool versioning. However both support managing tools
296+
globally in the user-space as well:
297+
298+
<details><summary>mise</summary>
299+
300+
[Install mise](https://mise.jdx.dev/getting-started.html), then run:
301+
302+
```bash
303+
mise plugins install neovim
304+
mise use neovim@stable
305+
```
306+
307+
</details>
308+
309+
<details><summary>asdf</summary>
310+
311+
[Install asdf](https://asdf-vm.com/guide/getting-started.html), then run:
312+
313+
```bash
314+
asdf plugin add neovim
315+
asdf install neovim stable
316+
asdf set neovim stable --home
317+
asdf reshim neovim
318+
```
319+
320+
</details>
321+
322+
</details>

0 commit comments

Comments
 (0)