35 lines
687 B
Nix
35 lines
687 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
{
|
||
|
plugins = {
|
||
|
conform-nvim.settings = {
|
||
|
formatters_by_ft.css = [
|
||
|
"prettierd"
|
||
|
"prettier"
|
||
|
];
|
||
|
|
||
|
formatters = {
|
||
|
prettierd.command = "${pkgs.prettierd}/bin/prettierd";
|
||
|
prettier.command = "${pkgs.nodePackages.prettier}/bin/prettier";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
lsp.servers = {
|
||
|
cssls = {
|
||
|
enable = true;
|
||
|
cmd = [
|
||
|
"${pkgs.vscode-langservers-extracted}/bin/vscode-css-language-server"
|
||
|
"--stdio"
|
||
|
];
|
||
|
};
|
||
|
|
||
|
tailwindcss = {
|
||
|
enable = true;
|
||
|
cmd = [
|
||
|
(lib.getExe pkgs.tailwindcss-language-server)
|
||
|
"--stdio"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|