-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add troubleshooting Help for M1 Macs #140
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -72,3 +72,19 @@ If they are then you are using the syntax prior to [LunarVim#1813](https://githu | |||||||||
-- this is the correct syntax since 3dd60bd | ||||||||||
vim.list_extend(lvim.lsp.override, { "jsonls" }) | ||||||||||
``` | ||||||||||
|
||||||||||
## Running LunarVim on M1 mac reports error `mach-o, but wrong architecture` | ||||||||||
|
||||||||||
On start up, lunarvim reports errors such as below with several plugins. | ||||||||||
|
||||||||||
``` bash | ||||||||||
no suitable image found. Did find: | ||||||||||
$HOME/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/kotlin.so: mach-o, but wrong architecture | ||||||||||
$HOME/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/kotlin.so: mach-o, but wrong architecture | ||||||||||
``` | ||||||||||
|
||||||||||
Lunarvim does not support M1 mac natively. This can be fixed by installing | ||||||||||
homebrew and neovim through the x86_64 architecture platfomr location | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Fix typo |
||||||||||
`/usr/local`. Doing so will run neovim and homebrew through the x86_64 | ||||||||||
architecture. This only works provided you have Rosetta installed. | ||||||||||
Comment on lines
+86
to
+89
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just got it confirmed on discord that you can have a native
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, do you mind detailing here how those individuals did that? I tried mostly everything I could to install There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just used macports which installed neovim as a native M1 application without any tweaks. |
||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds better considering the headers of the other troubleshoot helps