mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
Add python lsp
This commit is contained in:
parent
fc2f785766
commit
b3f2107cda
1 changed files with 10 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ in {
|
|||
glsl_analyzer
|
||||
# wgsl_analyzer
|
||||
|
||||
# Python
|
||||
black
|
||||
];
|
||||
|
||||
programs.direnv = {
|
||||
|
|
@ -99,6 +101,14 @@ in {
|
|||
name = "wgsl";
|
||||
language-servers = [ "wgsl" ];
|
||||
}
|
||||
{
|
||||
name = "python";
|
||||
auto-format = true;
|
||||
formatter = {
|
||||
command = "${pkgs.black}/bin/black";
|
||||
args = [ "-" "--quiet" "--line-length=79" ];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue