neovim: add tailwind.config.js to root pattern
This commit is contained in:
@@ -164,7 +164,7 @@ for _, server in ipairs(servers) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
if server == "tailwindcss" then
|
if server == "tailwindcss" then
|
||||||
-- TODO: somehow need to help tailwindcss lsp find its config starting from .git
|
opts.root_dir = util.root_pattern("tailwind.config.js", ".git")
|
||||||
end
|
end
|
||||||
|
|
||||||
lspconfig[server].setup(opts)
|
lspconfig[server].setup(opts)
|
||||||
|
|||||||
Reference in New Issue
Block a user