neovim: add tailwind.config.js to root pattern

This commit is contained in:
2022-08-13 18:33:17 +03:00
parent 57bd8fcbd1
commit fd0ed12a60

View File

@@ -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)