feat(neovim): change py lsp to basedpyright and formatter to ruff
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = [ "stylua" ];
|
lua = [ "stylua" ];
|
||||||
nix = [ "nixfmt" ];
|
nix = [ "nixfmt" ];
|
||||||
python = [ "black" ];
|
python = [ "ruff" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
stylua
|
stylua
|
||||||
nixfmt
|
nixfmt
|
||||||
black
|
ruff
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
servers = {
|
servers = {
|
||||||
lua_ls.enable = true;
|
lua_ls.enable = true;
|
||||||
nil_ls.enable = true;
|
nil_ls.enable = true;
|
||||||
pyright.enable = true;
|
basedpyright.enable = true;
|
||||||
ts_ls.enable = true;
|
ts_ls.enable = true;
|
||||||
vue_ls.enable = true;
|
vue_ls.enable = true;
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
|
|||||||
Reference in New Issue
Block a user