mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix: update to new treesitter capture groups (#1294)
This commit is contained in:
parent
d5c58bb193
commit
298bed190e
4 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue