mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	golang: improve go doc completion
This commit is contained in:
		
							
								
								
									
										29
									
								
								plugins/golang/templates/package.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								plugins/golang/templates/package.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| {{with .PDoc}}{{/* | ||||
|  | ||||
| Constants  | ||||
| --------------------------------------- | ||||
|  | ||||
| */}}{{with .Consts}}{{range .}}{{range .Names}}{{.}} {{end}}{{end}}{{end}}{{/* | ||||
|  | ||||
| Variables | ||||
| --------------------------------------- | ||||
|  | ||||
| */}}{{with .Vars}}{{range .}}{{range .Names}}{{.}} {{end}}{{end}}{{end}}{{/* | ||||
|  | ||||
| Functions | ||||
| --------------------------------------- | ||||
|  | ||||
| */}}{{with .Funcs}}{{range .}}{{ .Name }} {{end}}{{end}}{{/* | ||||
|  | ||||
| Types | ||||
| --------------------------------------- | ||||
|  | ||||
| */}}{{with .Types}}{{range .}}{{ $TypeName := .Name }}{{ $TypeName }} {{/* | ||||
|  | ||||
| */}}{{range .Methods}}{{ $TypeName }}.{{.Name}} {{end}}{{/* | ||||
|  | ||||
| */}}{{range .Funcs}}{{.Name}} {{end}}{{/* | ||||
|  | ||||
| */}}{{range .Consts}}{{range .Names}}{{.}} {{end}}{{end}}{{/* | ||||
|  | ||||
| */}}{{range .Vars}}{{range .Names}}{{.}} {{end}}{{end}}{{end}}{{end}}{{end}} | ||||
							
								
								
									
										0
									
								
								plugins/golang/templates/search.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								plugins/golang/templates/search.txt
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user