chore(init): added lsp capabilities
This commit is contained in:
		
							parent
							
								
									63d5dd2856
								
							
						
					
					
						commit
						67a4497ae7
					
				
							
								
								
									
										1
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										1
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -584,6 +584,7 @@ require('lazy').setup({
 | 
				
			||||||
      --  So, we create new capabilities with nvim cmp, and then broadcast that to the servers.
 | 
					      --  So, we create new capabilities with nvim cmp, and then broadcast that to the servers.
 | 
				
			||||||
      local capabilities = vim.lsp.protocol.make_client_capabilities()
 | 
					      local capabilities = vim.lsp.protocol.make_client_capabilities()
 | 
				
			||||||
      capabilities = vim.tbl_deep_extend('force', capabilities, require('cmp_nvim_lsp').default_capabilities())
 | 
					      capabilities = vim.tbl_deep_extend('force', capabilities, require('cmp_nvim_lsp').default_capabilities())
 | 
				
			||||||
 | 
					      capabilities.textDocument.completion.completionItem.snippetSupport = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      -- Enable the following language servers
 | 
					      -- Enable the following language servers
 | 
				
			||||||
      --  Feel free to add/remove any LSPs that you want here. They will automatically be installed.
 | 
					      --  Feel free to add/remove any LSPs that you want here. They will automatically be installed.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue