From 92bdef8100a200cb5f3e9ce86d09c8891f7bfeb3 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Tue, 26 Mar 2024 13:43:21 +0200 Subject: [PATCH] feat(plugin): add tailwind_tools --- lazy-lock.json | 1 + lua/plugins/tailwind_tools.lua | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 lua/plugins/tailwind_tools.lua diff --git a/lazy-lock.json b/lazy-lock.json index a20f05b..a60986a 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -87,6 +87,7 @@ "runner.nvim": { "branch": "main", "commit": "8358ab780793bc2473ad8117ee487f1a468305bf" }, "rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" }, "tagbar": { "branch": "master", "commit": "12edcb59449b335555652898f82dd6d5c59d519a" }, + "tailwind-tools.nvim": { "branch": "master", "commit": "2d5189e8b63bc004332863bea1fa4909dfda9689" }, "telescope-bibtex.nvim": { "branch": "master", "commit": "4117b6aad1d1fa7526a31bfcdc9741d11ee4a22c" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, "telescope-git-diffs.nvim": { "branch": "main", "commit": "366df26227e6d478d5c55e04771d61875c4f22ac" }, diff --git a/lua/plugins/tailwind_tools.lua b/lua/plugins/tailwind_tools.lua new file mode 100644 index 0000000..b8eb9ca --- /dev/null +++ b/lua/plugins/tailwind_tools.lua @@ -0,0 +1,20 @@ +return { + "luckasRanarison/tailwind-tools.nvim", + dependencies = { "nvim-treesitter/nvim-treesitter" }, + opts = { + document_color = { + enabled = true, -- can be toggled by commands + kind = "inline", -- "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 + }, +}