Zsh magix
This commit is contained in:
		
							parent
							
								
									5c26df0641
								
							
						
					
					
						commit
						869c4b1228
					
				
					 5 changed files with 378 additions and 132 deletions
				
			
		| 
						 | 
				
			
			@ -10,10 +10,10 @@ map('n', '<leader>fg', '<cmd>Telescope live_grep<CR>', opts)
 | 
			
		|||
map('n', '<leader>fb', '<cmd>Telescope buffers<CR>', opts)
 | 
			
		||||
 | 
			
		||||
-- LSP
 | 
			
		||||
--map('n', '<leader>e', vim.diagnostic.open_float, opts)
 | 
			
		||||
--map('n', '[d', vim.diagnostic.goto_prev, opts)
 | 
			
		||||
--map('n', ']d', vim.diagnostic.goto_next, opts)
 | 
			
		||||
--map('n', '<leader>q', vim.diagnostic.setloclist, opts)
 | 
			
		||||
map('n', '<leader>e', vim.diagnostic.open_float, opts)
 | 
			
		||||
map('n', '[d', vim.diagnostic.goto_prev, opts)
 | 
			
		||||
map('n', ']d', vim.diagnostic.goto_next, opts)
 | 
			
		||||
map('n', '<leader>q', vim.diagnostic.setloclist, opts)
 | 
			
		||||
 | 
			
		||||
local on_attach = function(client, bufnr)
 | 
			
		||||
  vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue