-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: set `state`s values on `setup()`. Previously, the `state` table values wasn't being updated with the values provided from the `config` table, which forced to manually run `Tailwind{Conceal,Color}{Disable,Enabled}` to actually active/deactivate the option. * fix: `conceal.enabled` boolean logic. * update: remove condition * fix: lint --------- Co-authored-by: Luckas <[email protected]>
- Loading branch information
1 parent
87b507e
commit 2a23bc6
Showing
3 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
local config = require("tailwind-tools.config") | ||
|
||
return { | ||
conceal = { | ||
enabled = false, | ||
active_buffers = {}, | ||
}, | ||
color = { | ||
request_timer = nil, | ||
enabled = config.options.document_color.enabled, | ||
enabled = false, | ||
active_buffers = {}, | ||
}, | ||
} |