Skip to content

Commit

Permalink
fix(tailwindcss): add mjs support for tailwind root dir detection
Browse files Browse the repository at this point in the history
  • Loading branch information
nemmtor committed Jun 24, 2024
1 parent 1f3a6ec commit e5bf379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/tailwindcss/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ return {
tailwindcss = {
root_dir = function(fname)
local root_pattern = require("lspconfig").util.root_pattern(
"tailwind.config.mjs",
"tailwind.config.cjs",
"tailwind.config.js",
"tailwind.config.ts",
Expand Down

0 comments on commit e5bf379

Please sign in to comment.