Troubleshooting and FAQ¶
Start with :checkhealth codeart. Then try :checkhealth (or :checkhealth vim.lsp, :checkhealth nvim-treesitter, ...) and :Lazy to see which plugins failed to install or load. :messages shows earlier notices.
What :checkhealth codeart checks¶
Every problem comes with what to do, and for a missing program the install command for your system: Homebrew on macOS, winget on Windows, and apt, pacman, dnf, zypper or apk on Linux (the first one found).
| Section | What it checks |
|---|---|
| Neovim | The version (0.12 or newer) and whether it is a development build |
| Settings | user/settings.lua loads; unknown keys (with a "did you mean"); wrong value types, such as languages = "python" instead of { "python" }, disable_plugins.lspsaga = "yes" or config.resize.step_h = "3"; a pending move of an edited lua/user_settings.lua; the picker |
| Language packs | The active packs, tools and parsers not installed yet, and tools skipped because a runtime is missing |
| Runtimes for your language packs | Only the programs your packs need: Node.js and npm, Python, Go, cargo, Java (25 or newer for the current jdtls) and dotnet, and which packs use each one |
| External tools | git, a C compiler, ripgrep, fd and the tree-sitter CLI (0.26.1 or newer) |
| Clipboard | The clipboard tool Neovim found (pbcopy, xclip, xsel, wl-copy, win32yank, ...). Over SSH it explains OSC 52 instead |
| Icons (Nerd Font) | Whether a Nerd Font is installed (with fc-list, on Linux and macOS) and a reminder to select it in your terminal |
| Updates (:CodeArtUpdate) | The config is a git clone with an upstream branch, and lists local changes to tracked files (they stop :CodeArtUpdate) |
"CodeArt requires Neovim 0.12+"¶
CodeArt refuses to load on older versions. Upgrade Neovim with your OS package manager, or install a current build from the Neovim releases (Debian and Ubuntu stable usually ship an older version). :CodeArtUpdate never upgrades Neovim itself.
Icons show up as boxes or question marks¶
Set your terminal's font to a Nerd Font. The installers download JetBrains Mono Nerd Font; you still have to select it in your terminal's settings.
Treesitter: parser installs fail, or a startup warning about tree-sitter¶
nvim-treesitter's main branch builds parsers with the tree-sitter CLI ≥ 0.26.1. Install tree-sitter-cli with your OS package manager or cargo (not the npm package), then run :TSUpdate. Fresh installs have no parsers until you run :TSInstall <language> or set config.treesitter.ensure_installed. See LSP, formatting and Treesitter.
No completion or diagnostics in a file¶
Install a language server with :LspInstall <server> (for example :LspInstall lua_ls) or from :Mason. Installed servers are enabled automatically (mason_lspconfig.automatic_enable). <leader>li (:checkhealth vim.lsp) shows which servers are attached.
:CodeArtUpdate stopped or failed¶
- "CodeArt was not updated: you changed files that the update may replace": you edited files that git tracks. Nothing was changed. Move your customizations to
user/settings.luaand restore the files (git -C ~/.config/nvim checkout -- <file>), or run:CodeArtUpdate stashto keep them through the update. A changedlazy-lock.jsonusually comes from:Lazy update; restoring it is safe. See Update. - Could not reach the remote: check your connection and try again. Nothing was changed.
- Local commits: your config has commits that aren't on the remote. Run
git -C ~/.config/nvim pull --rebaseyourself. - No upstream branch: you are on another branch. Run
git -C ~/.config/nvim switch main. - (
:CodeArtUpdate stash) Your local changes conflict with the update: CodeArt is updated, and your edits to tracked files are kept in a git stash and in a patch understdpath("state")/codeart/backups/. Restore them with thegit stash applyorgit apply --3waycommand from the message. - A Mason tool or parser failed to update: the summary lists it and the other steps still ran. Open
:Masonor run:TSUpdateto see the error.
Your settings belong in user/settings.lua, which git ignores and updates never touch. If lua/user_settings.lua still has edits, run :CodeArtMigrateSettings, then git checkout -- lua/user_settings.lua.
"module 'utils' not found" (or user_settings, plugins.…) after updating to 2.5¶
CodeArt 2.5 moved its Lua modules under lua/codeart/. Your user/settings.lua (or a pack in user/languages/) still uses an old name. The error says which new name to use, for example require("codeart.utils") instead of require("utils"). See the table in Migrating.
A setting has the wrong type¶
:checkhealth codeart reports it, for example config.picker` should be a string (got number). Fix the value in user/settings.lua; the Configuration reference lists the type of every CodeArt option.
A warning about unknown settings¶
Your user/settings.lua has a key CodeArt doesn't read, so it has no effect. Usually it's a typo (the warning suggests the closest name) or a setting renamed in 2.0, such as config.cmp (now config.blink) or disable_plugins.nvim_tree (now neo_tree). Fix or remove the key and restart. Options inside a plugin's table (for example config.telescope.defaults) are passed to the plugin and never reported.
A one-time notice about a renamed setting¶
CodeArt 2.3 replaced some plugins and read your old setting under its new name. The notice explains what changed; it is not shown again. See Migrating.
Ctrl+Left / Ctrl+Right do nothing on macOS¶
macOS uses them to switch Spaces. Turn them off in System Settings → Keyboard → Keyboard Shortcuts → Mission Control, or set config.resize.keys = "shift_hjkl" to resize with Shift+h/j/k/l.
<C-k> in insert mode doesn't insert digraphs¶
While blink.cmp is enabled, <C-k> toggles its signature window. Use :digraphs to look a digraph up, or remap the key in config.blink.keymap.
How do I turn off the signature popup or the end-of-line hint?¶
- Popup:
config.blink.signature.enabled = false - Hint:
disable_plugins.signature_hint = true - Both: the old
disable_plugins.lsp_signature = truestill does that.
How do I turn on smooth scrolling?¶
Set disable_plugins.smooth_scroll = false. The cursor is hidden during the animation; set config.snacks.scroll.hide_cursor = false to keep it visible. Hiding needs termguicolors.
Linux: yank and paste don't reach the system clipboard¶
Install a clipboard provider: xclip or xsel on X11, wl-clipboard on Wayland. CodeArt warns once per session if none is found.
The colorscheme resets when I restart¶
Pick it permanently in user/settings.lua:
M.config = {
other_configs = function()
vim.cmd("colorscheme nordic")
end,
}
Where are plugins and state stored?¶
Plugins live in stdpath("data")/lazy (~/.local/share/nvim/lazy on Linux and macOS). Migration answers and notice markers live in stdpath("state")/codeart/. With NVIM_APPNAME, nvim in those paths becomes your app name.
Still stuck?¶
Ask on Discord or open an issue with the bug report template (include nvim --version and the error from :messages).