mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	fix: null_ls deprecated on crates.nvim
Signed-off-by: Christopher Valerio <christopher@valerio.guru>
This commit is contained in:
		
					parent
					
						
							
								bf485ab9b6
							
						
					
				
			
			
				commit
				
					
						0334e94212
					
				
			
		
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -109,14 +109,14 @@ in { | |||
|     (mkIf cfg.crates.enable { | ||||
|       vim = { | ||||
|         startPlugins = ["crates-nvim"]; | ||||
|         lsp.null-ls.enable = mkIf cfg.crates.codeActions true; | ||||
|         autocomplete.nvim-cmp.sources = {crates = "[Crates]";}; | ||||
|         pluginRC.rust-crates = entryAnywhere '' | ||||
|           require('crates').setup { | ||||
|             null_ls = { | ||||
|               enabled = ${boolToString cfg.crates.codeActions}, | ||||
|               name = "crates.nvim", | ||||
|             } | ||||
|            lsp = { | ||||
|               enabled = true, | ||||
|               actions = true, | ||||
|               completion = true, | ||||
|               hover = true, | ||||
|             }, | ||||
|           } | ||||
|         ''; | ||||
|       }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Christopher Valerio
				Christopher Valerio