enabled clippy for nvim rust-analyzer.
This commit is contained in:
		
							parent
							
								
									c99dd36c94
								
							
						
					
					
						commit
						d41b89b97a
					
				
					 2 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -24,11 +24,6 @@
 | 
			
		|||
            nushell.enable = true;
 | 
			
		||||
            pyright.enable = true;
 | 
			
		||||
            ruff-lsp.enable = true;
 | 
			
		||||
            rust-analyzer = {
 | 
			
		||||
              enable = true;
 | 
			
		||||
              installCargo = true;
 | 
			
		||||
              installRustc = true;
 | 
			
		||||
            };
 | 
			
		||||
            texlab.enable = true;
 | 
			
		||||
            typst-lsp.enable = true;
 | 
			
		||||
            taplo.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,6 +10,10 @@
 | 
			
		|||
      programs.nixvim = {
 | 
			
		||||
        plugins.rust-tools = {
 | 
			
		||||
          enable = true;
 | 
			
		||||
          server = {
 | 
			
		||||
            checkOnSave = true;
 | 
			
		||||
            check.command = "clippy";
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue