OK bash: GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23)
OK sh: Ok
mason.nvim [Languages] ~
WARNING cargo: not available
ADVICE:
spawn: cargo failed with exit code - and signal -. cargo is not executable
WARNING PHP: not available
ADVICE:
spawn: php failed with exit code - and signal -. php is not executable
WARNING luarocks: not available
ADVICE:
spawn: luarocks failed with exit code - and signal -. luarocks is not executable
WARNING Composer: not available
ADVICE:
spawn: composer failed with exit code - and signal -. composer is not executable
OK Ruby: ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]
OK node: v22.2.0
OK Go: go version go1.22.3 darwin/arm64
WARNING julia: not available
ADVICE:
spawn: julia failed with exit code - and signal -. julia is not executable
OK python: Python 3.12.3
OK npm: 10.7.0
OK pip: pip 24.0 from /opt/homebrew/lib/python3.12/site-packages/pip (python 3.12)
OK python venv: Ok
OK java: openjdk version "21.0.3" 2024-04-16
OK javac: javac 21.0.3
OK RubyGem: 3.5.9
mason.nvim [GitHub] ~
OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Mon Jun 3 14:18:19 2024.
Install and authenticate via gh-cli to increase rate limit.
ERROR Found old files in $VIMRUNTIME (this can cause weird behavior):
/usr/local/share/nvim/runtime/plugin/health.vim
/usr/local/share/nvim/runtime/autoload/health/provider.vim
ADVICE:
Delete the $VIMRUNTIME directory (or uninstall Nvim), then reinstall Nvim.
OK tree-sitter found 0.22.6 (parser generator, only needed for :TSInstallFromGrammar)
OK node found v22.2.0 (only needed for :TSInstallFromGrammar)
OK git executable found.
OK cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: Apple clang version 15.0.0 (clang-1500.3.9.4)
OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.
OS Info:
{
machine = "arm64",
release = "23.4.0",
sysname = "Darwin",
version = "Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000"
} ~
Parser/Features H L F I J
bash ✓ ✓ ✓ . ✓
c ✓ ✓ ✓ ✓ ✓
cmake ✓ . ✓ ✓ .
cpp ✓ ✓ ✓ ✓ ✓
css ✓ . ✓ ✓ ✓
diff ✓ . . . .
fish ✓ ✓ ✓ ✓ ✓
gitignore ✓ . . . .
go ✓ ✓ ✓ ✓ ✓
graphql ✓ . . ✓ ✓
groovy ✓ ✓ ✓ ✓ ✓
html ✓ ✓ ✓ ✓ ✓
http ✓ . . . ✓
java ✓ ✓ ✓ ✓ ✓
javascript ✓ ✓ ✓ ✓ ✓
jsdoc ✓ . . . .
json ✓ ✓ ✓ ✓ .
jsonc ✓ ✓ ✓ ✓ ✓
latex ✓ . ✓ . ✓
lua ✓ ✓ ✓ ✓ ✓
markdown ✓ . ✓ ✓ ✓
markdown_inline ✓ . . . ✓
meson ✓ . ✓ ✓ ✓
ninja ✓ . ✓ ✓ .
nix ✓ ✓ ✓ . ✓
norg . . . . .
org . . . . .
php ✓ ✓ ✓ ✓ ✓
python ✓ ✓ ✓ ✓ ✓
query ✓ ✓ ✓ ✓ ✓
regex ✓ . . . .
rust ✓ ✓ ✓ ✓ ✓
scss ✓ . ✓ ✓ .
sql ✓ . . ✓ ✓
svelte ✓ ✓ ✓ ✓ ✓
teal ✓ ✓ ✓ ✓ ✓
toml ✓ ✓ ✓ ✓ ✓
tsx ✓ ✓ ✓ ✓ ✓
typescript ✓ ✓ ✓ ✓ ✓
vhs ✓ . . . .
vim ✓ ✓ ✓ . ✓
vimdoc ✓ . . . ✓
vue ✓ . ✓ ✓ ✓
wgsl ✓ . ✓ ✓ .
yaml ✓ ✓ ✓ ✓ ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang} ~
WARNING conflicting keymap exists for mode "n", lhs: "d"
rhs: "_d
WARNING conflicting keymap exists for mode "n", lhs: "yS"
rhs: <Plug>(nvim-surround-normal-line)
WARNING conflicting keymap exists for mode "n", lhs: "ys"
rhs: <Plug>(nvim-surround-normal)
WARNING conflicting keymap exists for mode "n", lhs: "c"
rhs: "_c
WARNING conflicting keymap exists for mode "n", lhs: "gc"
rhs:
WARNING conflicting keymap exists for mode "n", lhs: ",b"
rhs: :<C-U>LeaderfBuffer<CR>
WARNING conflicting keymap exists for mode "n", lhs: ",f"
rhs: :<C-U>LeaderfFile<CR>
Minimal vimrc that can reproduce this bug.
{ ---- colorscheme.
'sainnhe/gruvbox-material',
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
vim.cmd([[
" https://github.com/sainnhe/gruvbox-material/blob/master/doc/gruvbox-material.txt
" Important!!
" For dark version.
set background=dark
" Set contrast.
" This configuration option should be placed before `colorscheme gruvbox-material`.
" Available values: 'hard', 'medium'(default), 'soft'
let g:gruvbox_material_background = 'hard'
let g:gruvbox_material_diagnostic_text_highlight = 1
" let g:gruvbox_material_diagnostic_line_highlight = 1
colorscheme gruvbox-material
]])
end,
},
Steps to reproduce this bug using minimal vimrc
update gruvbox-material to latest commit 9169cec4
set gruvbox_material_diagnostic_text_highlight to 1
launch neovim.
Expected behavior
No error.
Actual behavior
Failed to run `config` for gruvbox-material
vim/_editor.lua:0: /Users/mingday/.config/nvim/init.lua..nvim_exec2() called at /Users/mingday/.config/nvim/init.lua:0../Users/mingday/.local/share/nvim/lazy/gruvbox-material/colors/gruvbox-material.vim,
line 287: Vim(call):E716: Key not present in Dictionary: "bg_blue"
# stacktrace:
- vim/_editor.lua:0 _in_ **cmd**
- lua/plugins/init.lua:7 _in_ **config**
- lua/config/lazy.lua:17
- lua/config/init.lua:2
- init.lua:1
I have done the following steps before reporting this issue:
Operating system/version
macOS 14.4.1 (23E224)
Terminal emulator/version
iterm2 3.5.0
$TERM environment variable
xterm-256color
Tmux version
tmux 3.4
Feature matrix
============================================================================== conform: require("conform.health").check()
conform.nvim report ~
============================================================================== dap: require("dap.health").check()
dap: Adapters ~
dap: Sessions ~
============================================================================== diffview: require("diffview.health").check()
Checking plugin dependencies ~
Checking VCS tools ~
hg_cmd
is not executable: 'hg'============================================================================== lazy: require("lazy.health").check()
lazy.nvim ~
============================================================================== lspsaga: require("lspsaga.health").check()
Lspsaga.nvim report ~
tree-sitter
foundmarkdown
parser foundmarkdown_inline
parser found============================================================================== luasnip: require("luasnip.health").check()
luasnip ~
:help |luasnip-lsp-snippets-transformations
| for advice============================================================================== mason: require("mason.health").check()
mason.nvim ~
mason.nvim [Registries] ~
github.com/mason-org/mason-registry version: 2024-05-20-dismal-hub
is installed.mason.nvim [Core utils] ~
UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send
GNU Wget 1.24.5 built on darwin23.2.0.
curl 8.8.0 (aarch64-apple-darwin23.4.0) libcurl/8.8.0 (SecureTransport) OpenSSL/3.3.0 zlib/1.2.12 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libssh2/1.11.0 nghttp2/1.61.0 librtmp/2.3 OpenLDAP/2.6.8
Apple gzip 430.100.5
tar (GNU tar) 1.35
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23)
Ok
mason.nvim [Languages] ~
ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]
v22.2.0
go version go1.22.3 darwin/arm64
Python 3.12.3
10.7.0
pip 24.0 from /opt/homebrew/lib/python3.12/site-packages/pip (python 3.12)
Ok
openjdk version "21.0.3" 2024-04-16
javac 21.0.3
3.5.9
mason.nvim [GitHub] ~
============================================================================== nvim: require("nvim.health").check()
Configuration ~
Runtime ~
ERROR Found old files in $VIMRUNTIME (this can cause weird behavior): /usr/local/share/nvim/runtime/plugin/health.vim /usr/local/share/nvim/runtime/autoload/health/provider.vim
Performance ~
Remote Plugins ~
terminal ~
key_backspace=^H
key_dc=\E[3~
tmux ~
default-terminal
setting. Colors might look wrong.External Tools ~
============================================================================== nvim-treesitter: require("nvim-treesitter.health").check()
Installation ~
tree-sitter
found 0.22.6 (parser generator, only needed for :TSInstallFromGrammar)node
found v22.2.0 (only needed for :TSInstallFromGrammar)git
executable found.cc
executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" } Version: Apple clang version 15.0.0 (clang-1500.3.9.4)OS Info: { machine = "arm64", release = "23.4.0", sysname = "Darwin", version = "Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000" } ~
Parser/Features H L F I J
yaml ✓ ✓ ✓ ✓ ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections +) multiple parsers found, only one will be used x) errors found in the query, try to run :TSUpdate {lang} ~
============================================================================== provider: health#provider#check
Clipboard (optional) ~
Python 3 provider (optional) ~
Python virtualenv ~
Ruby provider (optional) ~
Node.js provider (optional) ~
Perl provider (optional) ~
============================================================================== provider.clipboard: require("provider.clipboard.health").check()
Clipboard (optional) ~
============================================================================== provider.node: require("provider.node.health").check()
Node.js provider (optional) ~
============================================================================== provider.perl: require("provider.perl.health").check()
Perl provider (optional) ~
============================================================================== provider.python: require("provider.python.health").check()
Python 3 provider (optional) ~
Python virtualenv ~
============================================================================== provider.ruby: require("provider.ruby.health").check()
Ruby provider (optional) ~
============================================================================== rainbow-delimiters: require("rainbow-delimiters.health").check()
Custom strategies ~
Custom queries ~
Custom highlight groups ~
============================================================================== telescope: require("telescope.health").check()
Checking for required plugins ~
Checking external dependencies ~
===== Installed extensions ===== ~
Telescope Extension:
bookmarks
~Telescope Extension:
dap
~Telescope Extension:
fzf
~Telescope Extension:
projects
~============================================================================== vim.lsp: require("vim.lsp.health").check()
vim.lsp: Active Clients ~
vim.lsp: File watcher ~
============================================================================== vim.treesitter: require("vim.treesitter.health").check()
============================================================================== which-key: require("which-key.health").check()
WhichKey: checking conflicting keymaps ~
w
<Cmd>lua require('goto-preview').goto_preview_definition()<CR>
"_d
<Plug>(nvim-surround-normal-line)
<Plug>(nvim-surround-normal)
"_c
:<C-U>LeaderfBuffer<CR>
:<C-U>LeaderfFile<CR>
Minimal vimrc that can reproduce this bug.
Steps to reproduce this bug using minimal vimrc
gruvbox_material_diagnostic_text_highlight
to 1Expected behavior
No error.
Actual behavior