fix(docs): Minor clarification.

This commit is contained in:
Alex Ford 2024-06-24 19:30:11 -06:00
commit df3b1214e9
2 changed files with 36 additions and 35 deletions

View file

@ -388,7 +388,7 @@ when doing `colorscheme foobar`.
:::warning
since **start** plugins can possibly change existing highlight groups,
since **start** plugins (`lazy=false`) can possibly change existing highlight groups,
it's important to make sure that your main **colorscheme** is loaded first.
To ensure this you can use the `priority=1000` field. **_(see the [examples](./examples.md))_**
@ -713,38 +713,38 @@ with a lazy extension in `lazy`.
| Highlight Group | Default Group | Description |
| --- | --- | --- |
| **LazyButton** | ***CursorLine*** | |
| **LazyButtonActive** | ***Visual*** | |
| **LazyComment** | ***Comment*** | |
| **LazyCommit** | ***@variable.builtin*** | commit ref |
| **LazyCommitIssue** | ***Number*** | |
| **LazyCommitScope** | ***Italic*** | conventional commit scope |
| **LazyCommitType** | ***Title*** | conventional commit type |
| **LazyDimmed** | ***Conceal*** | property |
| **LazyDir** | ***@markup.link*** | directory |
| **LazyH1** | ***IncSearch*** | home button |
| **LazyH2** | ***Bold*** | titles |
| **LazyLocal** | ***Constant*** | |
| **LazyNoCond** | ***DiagnosticWarn*** | unloaded icon for a plugin where `cond()` was false |
| **LazyNormal** | ***NormalFloat*** | |
| **LazyProgressDone** | ***Constant*** | progress bar done |
| **LazyProgressTodo** | ***LineNr*** | progress bar todo |
| **LazyProp** | ***Conceal*** | property |
| **LazyReasonCmd** | ***Operator*** | |
| **LazyReasonEvent** | ***Constant*** | |
| **LazyReasonFt** | ***Character*** | |
| **LazyReasonImport** | ***Identifier*** | |
| **LazyReasonKeys** | ***Statement*** | |
| **LazyReasonPlugin** | ***Special*** | |
| **LazyReasonRequire** | ***@variable.parameter*** | |
| **LazyReasonRuntime** | ***@macro*** | |
| **LazyReasonSource** | ***Character*** | |
| **LazyReasonStart** | ***@variable.member*** | |
| **LazySpecial** | ***@punctuation.special*** | |
| **LazyTaskError** | ***ErrorMsg*** | task errors |
| **LazyTaskOutput** | ***MsgArea*** | task output |
| **LazyUrl** | ***@markup.link*** | url |
| **LazyValue** | ***@string*** | value of a property |
| **LazyButton** | _**CursorLine**_ | |
| **LazyButtonActive** | _**Visual**_ | |
| **LazyComment** | _**Comment**_ | |
| **LazyCommit** | _**@variable.builtin**_ | commit ref |
| **LazyCommitIssue** | _**Number**_ | |
| **LazyCommitScope** | _**Italic**_ | conventional commit scope |
| **LazyCommitType** | _**Title**_ | conventional commit type |
| **LazyDimmed** | _**Conceal**_ | property |
| **LazyDir** | _**@markup.link**_ | directory |
| **LazyH1** | _**IncSearch**_ | home button |
| **LazyH2** | _**Bold**_ | titles |
| **LazyLocal** | _**Constant**_ | |
| **LazyNoCond** | _**DiagnosticWarn**_ | unloaded icon for a plugin where `cond()` was false |
| **LazyNormal** | _**NormalFloat**_ | |
| **LazyProgressDone** | _**Constant**_ | progress bar done |
| **LazyProgressTodo** | _**LineNr**_ | progress bar todo |
| **LazyProp** | _**Conceal**_ | property |
| **LazyReasonCmd** | _**Operator**_ | |
| **LazyReasonEvent** | _**Constant**_ | |
| **LazyReasonFt** | _**Character**_ | |
| **LazyReasonImport** | _**Identifier**_ | |
| **LazyReasonKeys** | _**Statement**_ | |
| **LazyReasonPlugin** | _**Special**_ | |
| **LazyReasonRequire** | _**@variable.parameter**_ | |
| **LazyReasonRuntime** | _**@macro**_ | |
| **LazyReasonSource** | _**Character**_ | |
| **LazyReasonStart** | _**@variable.member**_ | |
| **LazySpecial** | _**@punctuation.special**_ | |
| **LazyTaskError** | _**ErrorMsg**_ | task errors |
| **LazyTaskOutput** | _**MsgArea**_ | task output |
| **LazyUrl** | _**@markup.link**_ | url |
| **LazyValue** | _**@string**_ | value of a property |
# 🚀 Usage
@ -1091,4 +1091,5 @@ If you need to know the directory of your build lua file, you can use:
local dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h")
```
:::
:::

View file

@ -28,7 +28,7 @@ when doing `colorscheme foobar`.
:::warning
since **start** plugins can possibly change existing highlight groups,
since **start** plugins (`lazy=false`) can possibly change existing highlight groups,
it's important to make sure that your main **colorscheme** is loaded first.
To ensure this you can use the `priority=1000` field. **_(see the [examples](./examples.md))_**