Coder Social home page Coder Social logo

Comments (5)

JohnVillalovos avatar JohnVillalovos commented on August 15, 2024 2

The fix for me was to do the following:

First run nvim twice to make sure everything is installed and tree-sitter has compiled everything.

Then start nvim and do the following:

:LspInstall pyright

You can install any LSP server you want, but I use Python so I did pyright.

After I did that I could then do :checkhealth

I tested this in the Docker container I created to try this out. See #8

from neovim-from-scratch.

bdillahu avatar bdillahu commented on August 15, 2024 1

I had removed all of ~/.local/share/nvim before loading this config... so whatever is there it created.

But I just re-ran it and checkhealth is now working - not sure what changed. I had tried several times yesterday, but now it's happy, so...

Thanks!

from neovim-from-scratch.

bdillahu avatar bdillahu commented on August 15, 2024

Same here, for what it's worth.

Otherwise, great setup - this may very well replace my homegrown config! Simple and effective.

from neovim-from-scratch.

sigmaSd avatar sigmaSd commented on August 15, 2024

You probably have files under ~/.local/share/nvim you can just move that folder out to test

from neovim-from-scratch.

 avatar commented on August 15, 2024

Alright I figured out everything!
This error occurs because npm or LSP is not installed.
Make sure you have npm, node and cargo installed on your system.
I found these prerequisites from lunarvim's Documentation

On Arch install following packages:

sudo pacman -S npm nodejs rust

Also Resolve EACCES permissions when installing packages globally to avoid error when installing

Then run nvim and install a language server of your choice

:LspInstall sumneko_lua

I am installing LSP for lua here.
Or run :LspInstallInfo for list of all available LSPs.

Chris should add a prerequisites section in README.md

from neovim-from-scratch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.