Skip to content

Commit 37d675d

Browse files
committed
(mini.hues) Create new tree-sitter groups in Neovim>=0.9.
Details: - Although newly renamed groups are default built-in in Neovim 0.10, they still can be used with 'master' branch of 'nvim-treesitter' on Neovim>=0.9.2 (which is currently supported version range of).
1 parent 1660008 commit 37d675d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/mini/hues.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ H.apply_colorscheme = function(config)
931931
end
932932

933933
-- New tree-sitter groups
934-
if vim.fn.has('nvim-0.10') == 1 then
934+
if vim.fn.has('nvim-0.9') == 1 then
935935
-- Sources:
936936
-- - `:h treesitter-highlight-groups`
937937
-- - https://github.com/nvim-treesitter/nvim-treesitter/commit/1ae9b0e4558fe7868f8cda2db65239cfb14836d0

0 commit comments

Comments
 (0)