Skip to content

Commit

Permalink
install: neovim release install on MacOSX
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Dec 28, 2023
1 parent 82781d6 commit 43d6d94
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- install: add MacOSX homebrew section
- install: neovide install and configuration, Linux & MacOSX
- source-control: add nvimdiff configuration and use for Git diff views
- install: neovim release install on MacOSX

### Changed
- ci: spell lychee & repository trufflehog linters warn only (false positives)
Expand Down
27 changes: 26 additions & 1 deletion docs/install/neovim.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Install the following tools to support Neovim and AstroNvim

- `ripgrep` fast file contents search (used by telescope)
- `find-fd` advanced search tool
- `xclip` x11 clipboard as a provider tools for Neovim copy/paste
- `xclip` x11 clipboard as a provider for Neovim copy/paste (Linux only)
- `luarocks` for LSP servers (AstroNvim)

!!! INFO "Treesitter requires a C compiler"
Expand Down Expand Up @@ -48,6 +48,31 @@ Install the following tools to support Neovim and AstroNvim
sudo apt install wl-clipboard
```

=== "MacOSX GitHub Release"

From the [**Neovim GitHub release page**](https://github.com/neovim/neovim/releases):

1. Install `libintl`and `gettext` (e.g. via `brew install libintl gettext`)
2. Download **nvim-macos.tar.gz**
3. Run `xattr -c ./nvim-macos.tar.gz` (to avoid "unknown developer" warning)
4. Make local apps directory for neovim (and other things like node.js, etc.)

```shell
mkdir -P ~/.local/apps
```

5. Extract the neovim download

```shell
tar zvxf nvim-macos.tar.gz -C ~/.local/apps/
```

6. Create nvim symbolic link in `~/.local/bin` to include Neovim on the OS execution path (check `.local/bin` is added to the execution the path by the Operating System command line shell)

```shell
ln -s ~/.local/apps/nvim-macos/bin/nvim ~/.local/bin/nvim
```

=== "MacOSX Homebrew"

MacOSX requires the libintl and gettext tools as well as the other supporting tools.
Expand Down

0 comments on commit 43d6d94

Please sign in to comment.