diff --git a/nix/progs/nvim/coc_settings.nix b/nix/progs/nvim/coc_settings.nix index fe41bad..8a42783 100644 --- a/nix/progs/nvim/coc_settings.nix +++ b/nix/progs/nvim/coc_settings.nix @@ -21,4 +21,7 @@ ]; }; }; + + # Rust + "rust-analyzer.checkOnSave.command" = "clippy"; } diff --git a/nix/progs/nvim/custom_plugins.nix b/nix/progs/nvim/custom_plugins.nix index a39f5ea..de45b68 100644 --- a/nix/progs/nvim/custom_plugins.nix +++ b/nix/progs/nvim/custom_plugins.nix @@ -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"; }; }; diff --git a/nix/progs/nvim/default.nix b/nix/progs/nvim/default.nix index 1f31b05..346bbcf 100644 --- a/nix/progs/nvim/default.nix +++ b/nix/progs/nvim/default.nix @@ -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