Giter Club home page Giter Club logo

homebrew-neovim's Introduction

homebrew-neovim

Build Status

Homebrew formula for Neovim.

Installation

Since this formula isn't part of Homebrew, add it as tap first:

$ brew tap neovim/neovim

To install the latest stable release:

$ brew install neovim

To upgrade:

$ brew update
$ brew upgrade neovim

To install the latest, potentially unstable, version of Neovim from git HEAD:

$ brew install --HEAD neovim

By default this formula builds Neovim with CMAKE_BUILD_TYPE=RelWithDebInfo. This enables compiler optimizations and adds debug information to the executable.

If you should ever feel the urge to look beneath Neovim's skin, use either of the following two lines:

$ brew install --with-dev
$ brew install --with-dev --HEAD

This builds with CMAKE_BUILD_TYPE=Dev instead. It enables all optimizations that don't interfere with debugging, adds debug information to the executable and enables logging (to ~/.nvimlog by default).

If you want to switch between build types, use brew reinstall with the same options instead.

Usage

The program name is nvim (not neovim).

$ nvim

In nvim, run :CheckHealth. It checks for common problems and ensures best practices.

Filing an Issue

If you run into problems, follow the Troubleshooting section below before filing an issue. If you still have problems:

  • Please search the issue tracker for your problem. GitHub does not show closed issues by default, but it will search them. Many issues others have seen before and have been resolved already. It's really a burden on the development team to come by and point out already solved issues to you.

  • Please make sure to include the link to the result of your brew gist-logs neovim command. We simply cannot debug issues without detailed information about the failure and gist-logs helps provide that.

  • It's also helpful to capture the output of a verbose version of the install command you used. Simply add the -v option to the command line and try again. For example, brew install neovim/neovim/neovim would become brew install -v neovim/neovim/neovim. Paste the result of this in your ticket, and make sure to wrap it with a text fence so it renders correctly:

    ```text
    # output goes here
    ```
    

Troubleshooting

  • Make sure you're using the right formula. brew info neovim should have a From line similar to this:

    From: https://github.com/neovim/homebrew-neovim/blob/master/Formula/neovim.rb
    

    If your formula points elsewhere, then you need to retap the neovim formula. Do so with the following sequence of commands:

    $ brew uninstall neovim --force
    $ brew prune
    $ brew tap neovim/neovim
    $ brew tap --repair
    $ brew install neovim --HEAD
    
  • If you encounter the error Failed to update tap: neovim/neovim, try:

    $ brew untap neovim/neovim
    $ brew tap neovim/neovim
    
  • Run brew update โ€” then try again.

  • Run brew doctor โ€” the doctor diagnoses common issues.

  • Check that Command Line Tools for Xcode (CLT) and/or Xcode are up to date by checking for updates in the App Store.

    • If the build fails with fatal error: '__debug' file not found, you have to install Xcode. This is due to a bug in the Xcode CLT 6.3.
    • If the build fails with ld: library not found for -lgcc_s, make sure you have the same version of Xcode and Xcode CLT installed.
  • Check the Homebrew Troubleshooting page. In particular, the Check for common issues section.

  • You can create a gist log with brew gist-logs neovim.

  • Use --verbose to get the verbose output, i.e. brew install --HEAD --verbose neovim.

  • Use --debug to be in the debug mode. In the debug mode, when failing, you can go into the interactive shell to check the building files before homebrew neutralizing them.

  • If you encounter the error CMAKE_USE_SYSTEM_CURL is ON but a curl is not found, then you're missing the dependency for cURL that allows downloads over TLS. Refer to your operating system's section in Linuxbrew Dependencies to fix this.

homebrew-neovim's People

Contributors

anderscarling avatar ashleyh avatar chancez avatar cweagans avatar davidszotten avatar equal-l2 avatar fwalch avatar happy-dude avatar ibash avatar jerzerak avatar jszakmeister avatar justinmk avatar mhinz avatar mtayler avatar phinze avatar riannucci avatar soli avatar sts10 avatar tarruda avatar tbelaire avatar vitorgalvao avatar wbinnssmith avatar xu-cheng avatar zchee avatar

Watchers

 avatar

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.