alpha2phi / neovim-for-beginner

A configuration for Neovim beginners.
MIT License
437 stars 106 forks source link

install.sh doesn't work for Mac Os #98

Open zhangzhang opened 1 year ago

zhangzhang commented 1 year ago

When I tried to run the install.sh from my macOS laptop, it gave follow error: zsh: ./install.sh: bad interpreter: /usr/bin/sh: no such file or directory

rwrued commented 1 year ago

@zhangzhang change the first line of the install.sh file to #!/bin/bash

martyphee commented 1 year ago

What version of Neovim does this work with? I'm running v0.8.1 and getting a lot of errors on MacOS

Neovim restart is required after installation!
Error detected while processing /Users/martinphee/develop/neovim-for-beginner/after/plugin/defaults.lua:
E5113: Error while calling lua chunk: vim/_meta.lua:0: no such option: 'splitkeep'
stack traceback:
        [C]: in function 'nvim_get_option_info'
        vim/_meta.lua: in function '__index'
        vim/_meta.lua: in function ''
        vim/_meta.lua: in function '__newindex'
        ...ee/develop/neovim-for-beginner/after/plugin/defaults.lua:45: in main chunk
Press ENTER or type command to continue

then

image image
martyphee commented 1 year ago

Updated to 0.8.2 and same issues

martyphee commented 1 year ago

MACOSX_DEPLOYMENT_TARGET=10.15 nvb then PackerSync seems to fix the lua rocks but still getting a lot of errors with is_active

n2ng-dev commented 1 year ago

how to install on MacOS

I was change the first line of the install.sh file to #!/bin/bash the show error : line 11: stow: command not found Screenshot 2023-02-22 at 20 49 09

bbiao commented 1 year ago

how to install on MacOS

I was change the first line of the install.sh file to #!/bin/bash the show error : line 11: stow: command not found Screenshot 2023-02-22 at 20 49 09

Use brew install stow to install stow command fist.