Attach inlay hints on lsp attach
This commit is contained in:
		@@ -57,7 +57,10 @@ lsp.on_attach(function(client, bufnr)
 | 
			
		||||
  vim.keymap.set('n', '[d', function() vim.diagnostic.goto_next() end, opts)
 | 
			
		||||
  vim.keymap.set('n', ']d', function() vim.diagnostic.goto_prev() end, opts)
 | 
			
		||||
  vim.keymap.set('i', '<C-h>', function() vim.lsp.buf.signature_help() end, opts)
 | 
			
		||||
end)
 | 
			
		||||
 | 
			
		||||
  local ih = require('simrat39/inlay-hints')
 | 
			
		||||
  ih.on_attach(client, bufnr)
 | 
			
		||||
end)  
 | 
			
		||||
 | 
			
		||||
lsp.setup()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user