mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 14:43:35 +08:00 
			
		
		
		
	Updated plugins. Added vim-golang as a mode
This commit is contained in:
		| @ -1,3 +1,5 @@ | ||||
| priority -50 | ||||
|  | ||||
| ########################################################################### | ||||
| #                            TEXTMATE SNIPPETS                            # | ||||
| ########################################################################### | ||||
| @ -16,14 +18,14 @@ foreach ${1:var} ${2:\$list} { | ||||
| endsnippet | ||||
|  | ||||
| snippet if "if... (if)" b | ||||
| if {${1}} { | ||||
| if {${1:condition}} { | ||||
| 	${2} | ||||
| } | ||||
|  | ||||
| endsnippet | ||||
|  | ||||
| snippet proc "proc... (proc)" b | ||||
| proc ${1} {${2}} \ | ||||
| proc ${1:name} {${2:args}} \ | ||||
| { | ||||
| 	${3} | ||||
| } | ||||
| @ -40,8 +42,8 @@ switch ${1:-exact} -- ${2:\$var} { | ||||
|  | ||||
| endsnippet | ||||
|  | ||||
| snippet wh "while... (while)" b | ||||
| while {${1}} { | ||||
| snippet while "while... (while)" b | ||||
| while {${1:condition}} { | ||||
| 	${2} | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 amix
					amix