-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Neovim support #774
Comments
did they ever finish supporting lua in plugins? that's the main blocker for me before i give it a shot. |
I started a branch in my fork to have support for NeoVim. |
@jrobeson Looks like they haven't completed the lua support for plugins yet, but it's near the top of their TODO, which probably means it'll ship before a 1.0 release. @FiloSpaTeam thanks for the link! I'll play with that in the mean time. |
You're welcome!! Help is very appreciate 👍 |
I just ran a test and I am able to use neovim locally with spf13-vim, with bvery few changes. I have a vanilla spf13, and then symlinked |
A simple change to support neovim. Fixes spf13#774.
as mentioned in #777, you shouldn't need a .nvimrc .nvim should work |
A simple change to support neovim. Fixes spf13#774. Move nvimrc file inside .nvim directory Only install neovim support if neovim is being used Use program_exists function instead of vimscript Made a hasty mistake and added vimscript to a bash script :X Neovim not existing no longer stops script Also correct `endif` to `fi`. Refactor program_exists naming Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found. Refactor program_exists and program_must_exist `program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.
A simple change to support neovim. Fixes spf13#774. Move nvimrc file inside .nvim directory Only install neovim support if neovim is being used Use program_exists function instead of vimscript Made a hasty mistake and added vimscript to a bash script :X Neovim not existing no longer stops script Also correct `endif` to `fi`. Refactor program_exists naming Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found. Refactor program_exists and program_must_exist `program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions. Preliminary support for neovim A simple change to support neovim. Fixes spf13#774. Move nvimrc file inside .nvim directory Refactor program_exists naming Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found. Refactor program_exists and program_must_exist `program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.
A simple change to support neovim. Fixes spf13#774. Move nvimrc file inside .nvim directory Only install neovim support if neovim is being used Use program_exists function instead of vimscript Made a hasty mistake and added vimscript to a bash script :X Neovim not existing no longer stops script Also correct `endif` to `fi`. Refactor program_exists naming Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found. Refactor program_exists and program_must_exist `program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions. Preliminary support for neovim A simple change to support neovim. Fixes spf13#774. Move nvimrc file inside .nvim directory Refactor program_exists naming Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found. Refactor program_exists and program_must_exist `program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.
I wanted to try and start a discussion about including support for Neovim. Even though it doesn't have a 1.0 release yet, it brings a lot of exciting features, especially for the plugin ecosystem, while maintaining a lot of backwards compatibility. One plugin in particular, neomake, is very exciting in it's potential for speeding up vim in-editor code checking.
Neovim uses
.nvimrc
as it's main dotfile, so it can exist alongside vim without conflict. Adding support would probably look like adding an.nvimrc
file to spf13 customized for Neovim support, that would only be copied to the home directory if the neovim binary existed on the system.Of course, the major downside to this is adding something else to support, but I at least wanted to float the idea and see what people thought.
The text was updated successfully, but these errors were encountered: