Skip to content

Commit fe209bc

Browse files
authored
feat(tailwindcss): support multiple import patterns #4371
1 parent 11afeba commit fe209bc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lsp/tailwindcss.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
local util = require 'lspconfig.util'
88

99
local function find_tailwind_global_css()
10-
local target = "@import 'tailwindcss';"
11-
10+
local target = [[%@import ['"]tailwindcss['"]%;]]
1211
-- Find project root using `.git`
1312
local buf = vim.api.nvim_get_current_buf()
1413
local root = vim.fs.root(buf, function(name)

0 commit comments

Comments
 (0)