flake update.
This commit is contained in:
		
							parent
							
								
									6608679a60
								
							
						
					
					
						commit
						f44fd68fbd
					
				
					 5 changed files with 73 additions and 48 deletions
				
			
		| 
						 | 
				
			
			@ -26,8 +26,8 @@
 | 
			
		|||
    };
 | 
			
		||||
 | 
			
		||||
    programs.nushell.extraEnv = ''
 | 
			
		||||
      $env.EDITOR = nvim
 | 
			
		||||
      $env.VISUAL = nvim
 | 
			
		||||
      $env.EDITOR = 'nvim'
 | 
			
		||||
      $env.VISUAL = 'nvim'
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -184,7 +184,7 @@
 | 
			
		|||
      ];
 | 
			
		||||
    };
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./rust-tools.nix
 | 
			
		||||
    ./rustaceanvim.nix
 | 
			
		||||
    ./clangd.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,12 +8,8 @@
 | 
			
		|||
    lib.mkIf (config.user.nvim.enable-lsp && config.user.nvim.enable)
 | 
			
		||||
    {
 | 
			
		||||
      programs.nixvim = {
 | 
			
		||||
        plugins.rust-tools = {
 | 
			
		||||
        plugins.rustaceanvim = {
 | 
			
		||||
          enable = true;
 | 
			
		||||
          server = {
 | 
			
		||||
            checkOnSave = true;
 | 
			
		||||
            check.command = "clippy";
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue