mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	treewide: begin restructuring the module tree
This commit is contained in:
		
					parent
					
						
							
								e1835f6c46
							
						
					
				
			
			
				commit
				
					
						7c730a78e5
					
				
			
		
					 254 changed files with 749 additions and 664 deletions
				
			
		
							
								
								
									
										19
									
								
								modules/plugins/lsp/trouble/trouble.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								modules/plugins/lsp/trouble/trouble.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| {lib, ...}: let | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.nvim.binds) mkMappingOption; | ||||
| in { | ||||
|   options.vim.lsp = { | ||||
|     trouble = { | ||||
|       enable = mkEnableOption "trouble diagnostics viewer"; | ||||
| 
 | ||||
|       mappings = { | ||||
|         toggle = mkMappingOption "Toggle trouble [trouble]" "<leader>xx"; | ||||
|         workspaceDiagnostics = mkMappingOption "Workspace diagnostics [trouble]" "<leader>lwd"; | ||||
|         documentDiagnostics = mkMappingOption "Document diagnostics [trouble]" "<leader>ld"; | ||||
|         lspReferences = mkMappingOption "LSP References [trouble]" "<leader>lr"; | ||||
|         quickfix = mkMappingOption "QuickFix [trouble]" "<leader>xq"; | ||||
|         locList = mkMappingOption "LOCList [trouble]" "<leader>xl"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue