nix/prog/nvim: add rust lsp with support clippy

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-05 14:47:56 +03:00
parent 02a6a7797c
commit 8b07735970
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
3 changed files with 6 additions and 2 deletions

View file

@ -21,4 +21,7 @@
]; ];
}; };
}; };
# Rust
"rust-analyzer.checkOnSave.command" = "clippy";
} }

View file

@ -4,8 +4,8 @@
material-vim = buildVimPlugin { material-vim = buildVimPlugin {
name = "material-vim"; name = "material-vim";
src = builtins.fetchTarball { src = builtins.fetchTarball {
name = "material-vim-2021-12-10"; name = "material-vim-2021-12-10";
url = "https://github.com/kaicataldo/material.vim/archive/445534b2db7f7ec3dc088eae21c86ff0e9bb19de.tar.gz"; url = https://github.com/kaicataldo/material.vim/archive/445534b2db7f7ec3dc088eae21c86ff0e9bb19de.tar.gz;
sha256 = "1lwlr6haj1damzmk6i6a1la7vql4y1wmb62iqvm6xgy2svr0s36i"; sha256 = "1lwlr6haj1damzmk6i6a1la7vql4y1wmb62iqvm6xgy2svr0s36i";
}; };
}; };

View file

@ -15,6 +15,7 @@ let
coc-nvim # LSP client + autocompletion plugin coc-nvim # LSP client + autocompletion plugin
coc-tsserver # typescript LSP coc-tsserver # typescript LSP
coc-eslint # eslint LSP coc-eslint # eslint LSP
coc-rust-analyzer # rust LSP
editorconfig-vim # use project .editorconfig to configure editor editorconfig-vim # use project .editorconfig to configure editor
lightline-vim # configurable status line lightline-vim # configurable status line