CodeArt

artart222GPL-3.0活跃维护

一套把 NeoVim 配置成通用 IDE 的 dotfiles,开箱即用地提供代码补全、语法高亮等开发功能,省去自己从零搭建编辑环境的麻烦。

Use NeoVim as general purpose IDE

v2.1发布于 2026-08-07 15:50 UTC906star33fork同步于 2026-11-07 07:32 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/artart222/CodeArt ~/.config/nvim
chmod +x ~/.config/nvim/installer/linux-mac.sh
exec ~/.config/nvim/installer/linux-mac.sh
硬件要求按 README 说明

README 未说明硬件要求;仅提到在 4GB 内存、2 核虚拟机上启动约 20 毫秒。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把 NeoVim 配置成通用 IDE 的开箱即用方案,省去自己拼装插件

一套把 NeoVim 配置成通用 IDE 的 dotfiles,开箱即用地提供代码补全、语法高亮等开发功能,省去自己从零搭建编辑环境的麻烦。

核心能力

  • 懒加载插件,README 称虚拟机启动约 20 毫秒
  • 内置原生 LSP 补全并带文档提示
  • 用 Treesitter 做代码高亮,按语言安装解析器
  • 集成 neo-tree 文件树、Telescope 模糊查找与 ToggleTerm 终端
  • 提供 TODO 查看、符号大纲、which-key 与带 git/LSP 指示的状态栏

容易踩的坑

需要 Neovim 0.12+,版本过低会拒绝加载;tree-sitter-cli 需 ≥0.26.1 且要用系统包管理器安装而非 npm;安装后要进 Neovim 执行 :Lazy sync 再重开;自定义配置须写在 lua/user_settings.lua,否则可能阻塞 :CodeArtUpdate 的 git pull;Debian 用户装完后需加 testing 源再 apt 安装 neovim。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

2 个版本v2.1
  1. v2.1最新正式版2026-08-07 · 2026-08-07 15:50 UTC

    CodeArt 2.1.0

    Modern Neovim config for Neovim 0.12+: treesitter main, Mason LSP v2, conform/nvim-lint, and a clearer statusline.

    Jumping from v0.1? This is a full rewrite era (lazy.nvim, neo-tree, blink.cmp, etc.). Prefer a fresh install, or follow the upgrade steps below and read CHANGELOG.md.

    Requirements

    • Neovim 0.12+
    • tree-sitter CLI ≥ 0.26.1 on PATH (brew/cargo/OS package — not the npm [email protected] package)
    • Fresh installs ship no treesitter parsers until you :TSInstall or set config.treesitter.ensure_installed

    Breaking changes

    • Neovim 0.12+ required (was 0.11+ in 2.0)
    • nvim-treesitter on branch main (not frozen master)
    • Treesitter parsers are opt-in only (no defaults)

    Highlights

    • LSP via vim.lsp.config / vim.lsp.enable + mason-lspconfig automatic_enable
    • :LspInstall / :LspUninstall work from Dashboard
    • conform.nvim example format-on-save (lsp_fallback); formatters still opt-in
    • :CodeArtUpdate = git pull --ff-only + :Lazy sync (no OS Neovim installer)
    • Docs in docs/ with wiki sync
    • CI: stylua + Neovim 0.12 smoke (XDG sandbox, Lazy sync, treesitter main)
    • Lualine tools: one LSP / formatter / linter with icons and +N; file % progress only (no noisy LSP status spam)
    • More reliable plugin load when opening files from Neo-tree after nvim . (BufAdd where needed)

    Upgrade

    1. Upgrade Neovim to 0.12+
    2. Install tree-sitter-cli (e.g. brew install tree-sitter-cli)
    3. Update CodeArt (git pull / :CodeArtUpdate)
    4. :Lazy sync
    5. :TSUninstall all → restart → :TSUpdate
    6. :checkhealth nvim-treesitter

    Docs

    Full notes: CHANGELOG.md

  2. v0.1First release!!2021-10-30 · 2021-10-30 20:56 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    :construction: Install CodeArt easily

    please backup any existing configuration files

    🐧🍎 On linux and macOS:

    git clone https://github.com/artart222/CodeArt ~/.config/nvim
    chmod +x ~/.config/nvim/installer/linux-mac.sh
    exec ~/.config/nvim/installer/linux-mac.sh
    

    If you have debian, after the instalation finished you must add debian testing repos and after that run:

    sudo apt update; sudo apt install neovim
    

    Requires Neovim 0.12+ and tree-sitter-cli ≥ 0.26.1 (install via your OS package manager, e.g. brew install tree-sitter-cli — not npm). After installation, open Neovim and run :Lazy sync, then reopen Neovim. Upgrade Neovim with your OS package manager if needed — CodeArt will refuse to load on older versions.

    🪟 on Windows:

    please backup any existing configuration files

    ⚡🐚 open a powershell session as administrator and run this command:

    git clone https://github.com/artart222/CodeArt $HOME\AppData\Local\nvim
    powershell.exe -executionpolicy bypass -file $HOME\AppData\Local\nvim\installer\windows.ps1
    
    🌲💺Σ🖥️ Install lsp and treesitter:
    • You can install lsp for a language with :LspInstall <language>
    • Install treesitter parsers with :TSInstall <language>, or set config.treesitter.ensure_installed in user_settings.lua. Update with :TSUpdate.
    These NeoVim configurations use many nerd fonts icons. JetBrains Mono will be installed by default. If you have problem for fonts and see weird icons you must change your terminal font.

    ⬆️📅 How to update CodeArt:

    :CodeArtUpdate updates CodeArt config and plugins only (git pull --ff-only + :Lazy sync). It does not upgrade Neovim. Install or upgrade Neovim with your OS package manager (Homebrew, apt, pacman, winget, etc.).

    Very important note: put customizations in lua/user_settings.lua. Local edits outside that file (or an uncommitted dirty tree) can block git pull --ff-only. Stash/commit or back up your changes before updating.
    • Run :CodeArtUpdate inside NeoVim
    • Restart NeoVim
    • Run :MasonUpdate and :TSUpdate if needed
    • Restart NeoVim

    If CodeArt reports that your Neovim is too old after an update, upgrade Neovim first, then reopen the editor.

    Migrating from CodeArt 1.x

    If you customized user_settings.lua:

    • config.null_ls → config.conform and config.lint tables
    • config.cmp → config.blink
    • config.nvim_tree → config.neo_tree
    • disable_plugins.nvim_tree → neo_tree
    • disable_plugins.null_ls → conform and lint
    • disable_plugins.nvim_cmp and cmp_* → blink_cmp

    See CHANGELOG.md for the full list of breaking changes.

    :camera_flash: Screenshots:

    Screenshot1

    :art: Many themes!

    Enfocado Screenshot8 Tokyonight with storm style Screenshot2 Tokyonight with night style Screenshot3 Tokyonight with day style Screenshot4 Nightfly Screenshot5 Moonfly Screenshot6 Nord Screenshot7 Onedark with dark style Screenshot9 Onedark with darker style Screenshot10 Onedark with cool style Screenshot11 Onedark with deep style Screenshot12 Onedark with warm style Screenshot13 Onedark with warmer style Screenshot13

    :sparkles: Features:

    • 😴 Lazy load plugins!. With lazy loading NeoVim starts up very fast. It took me around 20 miliseconds on a virtual machine with 4GB ram and 2 Cores LazyLoad

    • Σ🖥️ Native LSP code completion support with documentation CodeCompletion

    • 🌲💺 Treesitter based code highlighting Treesitter

    • 🌳:card_file_box: neo-tree as file tree FileTree

    • 🚏🚌 ToggleTerm as built in terminal Terminal

    • 🔭 Fuzzy finder Telescope

    • :white_check_mark: TODO viewer TODO1 TODO2

    • :bookmark: Symbol outline TagViewer

    • 🤔🔑 Whichkey Wichkey

    • ┇ Status line with git and lsp indicator + File manager and bufferline lsp indicator StatusLine