update
This commit is contained in:
		
							parent
							
								
									f47d0854d8
								
							
						
					
					
						commit
						88369e7cd1
					
				
							
								
								
									
										2
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -251,7 +251,7 @@ vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers['
 | 
			
		|||
vim.keymap.set('i', '<C-k>', vim.lsp.buf.signature_help)
 | 
			
		||||
 | 
			
		||||
-- hide diagnostic
 | 
			
		||||
vim.diagnostic.config { virtual_text = false }
 | 
			
		||||
-- vim.diagnostic.config { virtual_text = false }
 | 
			
		||||
 | 
			
		||||
-- Enable number in netrw
 | 
			
		||||
vim.g.netrw_bufsettings = 'noma nomod nu rnu nobl nowrap ro'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
return {
 | 
			
		||||
  {
 | 
			
		||||
    'dgagn/diagflow.nvim',
 | 
			
		||||
    -- event = 'LspAttach', This is what I use personnally and it works great
 | 
			
		||||
    opts = {
 | 
			
		||||
      placement = 'inline',
 | 
			
		||||
      scope = 'cursor', -- 'cursor', 'line' this changes the scope, so instead of showing errors under the cursor, it shows errors on the entire line.
 | 
			
		||||
      inline_padding_left = 3,
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue