mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	feat(default): bind vim.lsp.buf.signature_help in select mode (#31223)
				
					
				
			This commit is contained in:
		| @@ -168,7 +168,7 @@ DEFAULTS | ||||
|   • |gri| in Normal mode maps to |vim.lsp.buf.implementation()| | ||||
|   • |gO| in Normal mode maps to |vim.lsp.buf.document_symbol()| | ||||
|   • |gra| in Normal and Visual mode maps to |vim.lsp.buf.code_action()| | ||||
|   • CTRL-S in Insert mode maps to |vim.lsp.buf.signature_help()| | ||||
|   • CTRL-S in Insert and Select mode maps to |vim.lsp.buf.signature_help()| | ||||
|   • Mouse |popup-menu| includes an "Open in web browser" item when you right-click | ||||
|     on a URL. | ||||
|   • Mouse |popup-menu| includes a "Go to definition" item when LSP is active | ||||
|   | ||||
| @@ -179,7 +179,7 @@ do | ||||
|       vim.lsp.buf.document_symbol() | ||||
|     end, { desc = 'vim.lsp.buf.document_symbol()' }) | ||||
|  | ||||
|     vim.keymap.set('i', '<C-S>', function() | ||||
|     vim.keymap.set({ 'i', 's' }, '<C-S>', function() | ||||
|       vim.lsp.buf.signature_help() | ||||
|     end, { desc = 'vim.lsp.buf.signature_help()' }) | ||||
|   end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yi Ming
					Yi Ming