This website requires JavaScript.
Explore
Help
Sign In
xenia
/
home
Watch
1
Star
0
Fork
0
You've already forked home
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9fc62609b1
home
/
test
/
indent
/
go
/
deindent-function-closing-brace
/
out
23 lines
204 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add test cases for go closing brace indentation
2020-07-27 04:28:33 +02:00
func foo(x int) int {
}
func foo(x int) int {
}
func foo(x int) int {
Provide better support for Go language. 1. Highlight short variable declaration operator :=. 2. 'while' is not go keyword. 3. Auto insert ')', '}', when line ends with '(' or '{'.
2020-09-04 20:21:35 +02:00
bar()
}
Add test cases for go closing brace indentation
2020-07-27 04:28:33 +02:00
func foo(x int) int {
bar()
}
func foo(x int) int {
bar()
}
Add go test cases for bad indentation edge case
2020-07-27 20:18:40 +02:00
func foo(x int) int {
bar()
}
Reference in New Issue
Copy Permalink
Mastodon