GNU General Public License v3.0

项目介绍

LunarVim/Neovim-from-scratch 是一个托管在 GitHub 上的开源项目,主要使用 Lua 编写,采用 GNU General Public License v3.0 许可证,目前获得 5.6k 个 Star、1.1k 次 Fork。

仓库全名
LunarVim/Neovim-from-scratch
开源许可证
GNU General Public License v3.0
Star 数
5.6k
Fork 数
1.1k
未关闭 Issue
77

README 摘要

Neovim from scratch When I initially created this repo I didn't anticipate the amount of breaking changes introduced by the rapidly developing plugin ecosystem. All packages are pinned in master so it will remain stable and you can always follow the videos there if you're getting errors in other branches. 🔍 If you see an error that you can fix here's how 🎉. Update For a simple IDE that builds on these principles…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Neovim-from-scratch 用什么语言开发?

主要使用 Lua 编写,采用 GNU General Public License v3.0 许可证,目前有 5.6k 个 Star。

Neovim-from-scratch 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 Neovim-from-scratch 的源码?

可以直接克隆仓库:git clone https://github.com/LunarVim/Neovim-from-scratch.git,默认分支为 master;安装与运行步骤见仓库 README。

Neovim-from-scratch 最近还在维护吗?

仓库最近一次更新为 2024年7月23日,当前有 77 个未关闭 Issue;Star 数为 5.6k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

📚 A Neovim config designed from scratch to be understandable

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
7768
价值分
3665
活跃状态
活跃

语言占比

Lua

README

Neovim from scratch

When I initially created this repo I didn’t anticipate the amount of breaking changes introduced by the rapidly developing plugin ecosystem. All packages are pinned in master so it will remain stable and you can always follow the videos there if you’re getting errors in other branches.

🔍 If you see an error that you can fix here’s how 🎉.

Update For a simple IDE that builds on these principles and is under active development, I recommend my newer repo: nvim-basic-ide as well as lunarvim which is mature and fully-featured.

General support is available on our Matrix channels.

Try out this config

This config requires >= Neovim v0.8.0. Please upgrade if you’re on an earlier version of the editor.

Clone the repository into the correct location (make a backup your current nvim directory if you want to keep it).

git clone https://github.com/LunarVim/Neovim-from-scratch.git ~/.config/nvim

Run nvim in your terminal and wait for the plugins to be installed. You will notice treesitter pulling in a bunch of language parsers the next time you open Neovim.

NOTE Mason is used to install and manage LSP servers, DAP servers, linters, and formatters via the :Mason command.

This config assumes that you have Nerd Fonts v3.0.0 or higher. If you are using an older version then please update your Nerd Fonts otherwise there will be missing or wrong glyphs

Get healthy

Open nvim and enter the following:

:checkhealth

You’ll probably notice you don’t have support for copy/paste also that python and node haven’t been setup

So let’s fix that

First we’ll fix copy/paste

  • On mac pbcopy should be builtin

  • On Ubuntu

    sudo apt install xsel
    
  • On Arch Linux

    sudo pacman -S xsel
    
  • Wayland users

    wl-clipboard

Next we need to install python support (node is optional)

  • Neovim python support

    pip install pynvim
    
  • Neovim node support

    npm i -g neovim
    

NOTE make sure you have node installed, I recommend a node manager like fnm.

Upgrade to Neovim v0.9

Assuming you built from source, cd into the folder where you cloned neovim and run the following commands.

git pull
git checkout release-0.9
make distclean && make CMAKE_BUILD_TYPE=Release
sudo make install
nvim -v

The computing scientist’s main challenge is not to get confused by the complexities of his own making.

- Edsger W. Dijkstra

评论

暂无评论