nix/prog/nvim: add rust lsp with support clippy
This commit is contained in:
parent
02a6a7797c
commit
8b07735970
3 changed files with 6 additions and 2 deletions
|
@ -21,4 +21,7 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Rust
|
||||
"rust-analyzer.checkOnSave.command" = "clippy";
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
material-vim = buildVimPlugin {
|
||||
name = "material-vim";
|
||||
src = builtins.fetchTarball {
|
||||
name = "material-vim-2021-12-10";
|
||||
url = "https://github.com/kaicataldo/material.vim/archive/445534b2db7f7ec3dc088eae21c86ff0e9bb19de.tar.gz";
|
||||
name = "material-vim-2021-12-10";
|
||||
url = https://github.com/kaicataldo/material.vim/archive/445534b2db7f7ec3dc088eae21c86ff0e9bb19de.tar.gz;
|
||||
sha256 = "1lwlr6haj1damzmk6i6a1la7vql4y1wmb62iqvm6xgy2svr0s36i";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,6 +15,7 @@ let
|
|||
coc-nvim # LSP client + autocompletion plugin
|
||||
coc-tsserver # typescript LSP
|
||||
coc-eslint # eslint LSP
|
||||
coc-rust-analyzer # rust LSP
|
||||
|
||||
editorconfig-vim # use project .editorconfig to configure editor
|
||||
lightline-vim # configurable status line
|
||||
|
|
Loading…
Reference in a new issue