Closed misaflo closed 2 months ago
Thanks for the detailed issue report!
If I'm not mistaken, lazy.nvim does not support runtimepath:
There is however a workaround suggested in that same issue (in the comment right below the one I linked), with a combination of init
and config
, and I remember it working for some syntax related issue. Could you please try that and report? If it works, I'm going to document the workaround in gruvbox-material, since lazy.nvim is very popular.
Thanks, I try this:
{
'sainnhe/gruvbox-material',
lazy = false,
priority = 1000,
config = function(plugin)
vim.opt.rtp:append(plugin.dir .. '/after/syntax')
require('lazy.core.loader').packadd(plugin.dir .. '/after/syntax')
vim.g.gruvbox_material_better_performance = true
vim.cmd 'colorscheme gruvbox-material'
end,
init = function(plugin)
require('lazy.core.loader').ftdetect(plugin.dir .. '/after/syntax')
end,
},
But that changes nothing.
This was fixed in commit 0322d59d7cafdeeef57b828b56a4649bb5fe5847
I have done the following steps before reporting this issue:
Operating system/version
Arch Linux
Terminal emulator/version
alacritty 0.12.2
$TERM environment variable
alacritty
Tmux version
No response
Feature matrix
Minimal vimrc that can reproduce this bug.
Steps to reproduce this bug using minimal vimrc
Open a Markdown file with a.
Expected behavior