diff --git a/README.md b/README.md index 7231917..10fabe9 100644 --- a/README.md +++ b/README.md @@ -791,7 +791,7 @@ To uninstall **lazy.nvim**, you need to remove the following files and directori | **LazyCommitScope** | **_Italic_** | conventional commit scope | | **LazyCommitType** | **_Title_** | conventional commit type | | **LazyDimmed** | **_Conceal_** | property | -| **LazyDir** | **_@text.reference_** | directory | +| **LazyDir** | **_@markup.link_** | directory | | **LazyH1** | **_IncSearch_** | home button | | **LazyH2** | **_Bold_** | titles | | **LazyLocal** | **_Constant_** | | @@ -806,14 +806,14 @@ To uninstall **lazy.nvim**, you need to remove the following files and directori | **LazyReasonImport** | **_Identifier_** | | | **LazyReasonKeys** | **_Statement_** | | | **LazyReasonPlugin** | **_Special_** | | -| **LazyReasonRequire** | **_@parameter_** | | +| **LazyReasonRequire** | **_@variable.parameter_** | | | **LazyReasonRuntime** | **_@macro_** | | | **LazyReasonSource** | **_Character_** | | -| **LazyReasonStart** | **_@field_** | | +| **LazyReasonStart** | **_@variable.member_** | | | **LazySpecial** | **_@punctuation.special_** | | | **LazyTaskError** | **_ErrorMsg_** | task errors | | **LazyTaskOutput** | **_MsgArea_** | task output | -| **LazyUrl** | **_@text.reference_** | url | +| **LazyUrl** | **_@markup.link_** | url | | **LazyValue** | **_@string_** | value of a property | diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index 3e61949..617bdc1 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -924,7 +924,7 @@ Click to see all highlight groups ~ LazyDimmed Conceal property - LazyDir _@text.reference_ directory + LazyDir _@markup.link_ directory LazyH1 IncSearch homebutton @@ -955,13 +955,13 @@ Click to see all highlight groups ~ LazyReasonPlugin Special - LazyReasonRequire _@parameter_ + LazyReasonRequire _@variable.parameter_ LazyReasonRuntime _@macro_ LazyReasonSource Character - LazyReasonStart _@field_ + LazyReasonStart _@variable.member_ LazySpecial _@punctuation.special_ @@ -969,7 +969,7 @@ Click to see all highlight groups ~ LazyTaskOutput MsgArea task output - LazyUrl _@text.reference_ url + LazyUrl _@markup.link_ url LazyValue _@string_ valueof a property --------------------------------------------------------------------------------- diff --git a/lua/lazy/view/colors.lua b/lua/lazy/view/colors.lua index cc00a3a..83269f9 100644 --- a/lua/lazy/view/colors.lua +++ b/lua/lazy/view/colors.lua @@ -21,18 +21,18 @@ M.colors = { ReasonPlugin = "Special", ReasonEvent = "Constant", ReasonKeys = "Statement", - ReasonStart = "@field", + ReasonStart = "@variable.member", ReasonSource = "Character", ReasonFt = "Character", ReasonCmd = "Operator", ReasonImport = "Identifier", - ReasonRequire = "@parameter", + ReasonRequire = "@variable.parameter", Button = "CursorLine", ButtonActive = "Visual", TaskOutput = "MsgArea", -- task output TaskError = "ErrorMsg", -- task errors - Dir = "@text.reference", -- directory - Url = "@text.reference", -- url + Dir = "@markup.link", -- directory + Url = "@markup.link", -- url } M.did_setup = false diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 1d97dd3..5d7e197 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -476,7 +476,7 @@ function M:log(task) ["#%d+"] = "LazyCommitIssue", ["^%S+:"] = dimmed and "Bold" or "LazyCommitType", ["^%S+(%(.*%))!?:"] = "LazyCommitScope", - ["`.-`"] = "@text.literal.markdown_inline", + ["`.-`"] = "@markup.raw.markdown_inline", ["%*.-%*"] = "Italic", ["%*%*.-%*%*"] = "Bold", }) @@ -582,7 +582,7 @@ function M:profile() self:append("Based on the actual CPU time of the Neovim process till "):append("UIEnter", "LazySpecial") self:append("."):nl() self:append("This is more accurate than ") - self:append("`nvim --startuptime`", "@text.literal.markdown_inline") + self:append("`nvim --startuptime`", "@markup.raw.markdown_inline") self:append(".") else self:append("An accurate startuptime based on the actual CPU time of the Neovim process is not available."):nl()