mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-31 17:20:53 +02: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;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
coc.preferences.formatOnSaveFiletypes = [ "nix" "rust" "sql" "python" ];
|
coc.preferences.formatOnSaveFiletypes = [ "nix" "rust" "sql" "python" ];
|
||||||
languageserver = {
|
languageserver =
|
||||||
nix = {
|
{
|
||||||
command = "rnix-lsp";
|
python = {
|
||||||
filetypes = [
|
command = "pyright";
|
||||||
"nix"
|
filetypes = [ "py" "python" ];
|
||||||
];
|
};
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
command = "rnix-lsp";
|
||||||
|
filetypes = [
|
||||||
|
"nix"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -81,6 +87,7 @@ with lib;
|
||||||
vim-scriptease
|
vim-scriptease
|
||||||
semshi
|
semshi
|
||||||
coc-prettier
|
coc-prettier
|
||||||
|
coc-pyright
|
||||||
rust-vim
|
rust-vim
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue