Enable inlay hints by default
This commit is contained in:
		
							parent
							
								
									972ba828f2
								
							
						
					
					
						commit
						28d4787d08
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -138,6 +138,7 @@ return { -- LSP Configuration & Plugins | ||||||
|         -- |         -- | ||||||
|         -- This may be unwanted, since they displace some of your code |         -- This may be unwanted, since they displace some of your code | ||||||
|         if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then |         if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then | ||||||
|  |           vim.lsp.inlay_hint.enable(true) | ||||||
|           map('<leader>th', function() |           map('<leader>th', function() | ||||||
|             vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled()) |             vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled()) | ||||||
|           end, '[T]oggle Inlay [H]ints') |           end, '[T]oggle Inlay [H]ints') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus