feat(nvf): configure ruff and pyright for python, and prettierd for markdown

This commit is contained in:
Mohammad Rafiq 2025-06-22 14:31:42 +08:00
parent 0521bb516d
commit ce825fdc6c
No known key found for this signature in database

View file

@ -9,16 +9,21 @@
go.enable = true; go.enable = true;
html.enable = true; html.enable = true;
lua.enable = true; lua.enable = true;
markdown.enable = true; markdown = {
markdown.extensions.markview-nvim.enable = true; enable = true;
markdown.format.type = "prettierd"; extensions.markview-nvim.enable = true;
format.type = "prettierd";
};
nix = { nix = {
enable = true; enable = true;
format.type = "nixfmt"; format.type = "nixfmt";
lsp.server = "nil"; lsp.server = "nil";
}; };
python.enable = true; python = {
python.lsp.server = "python-lsp-server"; enable = true;
format.type = "ruff";
lsp.server = "pyright";
};
rust.enable = true; rust.enable = true;
rust.crates.enable = true; rust.crates.enable = true;
ts.enable = true; ts.enable = true;