mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 13:50:51 +01:00
better neovim config for python
This commit is contained in:
parent
a1c2699143
commit
c6188f62a5
1 changed files with 14 additions and 7 deletions
|
@ -34,14 +34,20 @@ with lib;
|
|||
enable = true;
|
||||
settings = {
|
||||
coc.preferences.formatOnSaveFiletypes = [ "nix" "rust" "sql" "python" ];
|
||||
languageserver = {
|
||||
nix = {
|
||||
command = "rnix-lsp";
|
||||
filetypes = [
|
||||
"nix"
|
||||
];
|
||||
languageserver =
|
||||
{
|
||||
python = {
|
||||
command = "pyright";
|
||||
filetypes = [ "py" "python" ];
|
||||
};
|
||||
|
||||
nix = {
|
||||
command = "rnix-lsp";
|
||||
filetypes = [
|
||||
"nix"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -81,6 +87,7 @@ with lib;
|
|||
vim-scriptease
|
||||
semshi
|
||||
coc-prettier
|
||||
coc-pyright
|
||||
rust-vim
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue