mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 2025-02-28
Update 2025-02-14 Update 2025-02-16 Update 2025-02-21 Update 2025-02-23 Update 2025-02-25 Update 2025-02-27 Update 2025-02-28
This commit is contained in:
43
lua/plugins/tailwind.lua
Normal file
43
lua/plugins/tailwind.lua
Normal file
@@ -0,0 +1,43 @@
|
||||
return {
|
||||
{
|
||||
"razak17/tailwind-fold.nvim",
|
||||
opts = {},
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
cmd = { "TailwindFoldEnable", "TailwindFoldDisable", "TailwindFoldToggle" },
|
||||
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
|
||||
},
|
||||
{
|
||||
"luckasRanarison/tailwind-tools.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
enabled = false,
|
||||
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
|
||||
cmd = {
|
||||
"TailwindConcealEnable",
|
||||
"TailwindConcealDisable",
|
||||
"TailwindConcealToggle",
|
||||
"TailwindColorEnable",
|
||||
"TailwindColorDisable",
|
||||
"TailwindColorToggle",
|
||||
"TailwindSort",
|
||||
"TailwindSortSelection",
|
||||
"TailwindNextClass",
|
||||
"TailwindPrevClass",
|
||||
},
|
||||
opts = {
|
||||
document_color = {
|
||||
enabled = true, -- can be toggled by commands
|
||||
kind = "background", -- "inline" | "foreground" | "background"
|
||||
inline_symbol = " ", -- only used in inline mode
|
||||
debounce = 200, -- in milliseconds, only applied in insert mode
|
||||
},
|
||||
conceal = {
|
||||
enabled = false, -- can be toggled by commands
|
||||
symbol = "", -- only a single character is allowed
|
||||
highlight = { -- extmark highlight options, see :h 'highlight'
|
||||
fg = "#38BDF8",
|
||||
},
|
||||
},
|
||||
custom_filetypes = {}, -- see the extension section to learn how it works
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user