mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 10:48:45 +02:00
fix(hipatterns): make it work on stable
This commit is contained in:
parent
5373af76f8
commit
33f61b58de
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ M.plugin = {
|
|||
local tailwind_ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" }
|
||||
opts.highlighters.tailwind = {
|
||||
pattern = function()
|
||||
if not vim.list_contains(tailwind_ft, vim.bo.filetype) then
|
||||
if not vim.tbl_contains(tailwind_ft, vim.bo.filetype) then
|
||||
return
|
||||
end
|
||||
return "%f[%w:-]()[%w:-]+%-[a-z%-]+%-%d+()%f[^%w:-]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue