diff options
author | pommicket <pommicket@gmail.com> | 2023-01-07 12:42:34 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-07 12:42:34 -0500 |
commit | e2aad67eedd07cff24a51faf31b8c6984a23d777 (patch) | |
tree | c0fe2e10f1a797e66ccbbe92eb9e1b6527847997 /test/lsp/go | |
parent | 3a5d0834854b88d6139b96e93c84f9156fb63b33 (diff) |
fix texlab go-to-definition
actually its their fault for ignoring the lack of capability
Diffstat (limited to 'test/lsp/go')
-rw-r--r-- | test/lsp/go/main.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/lsp/go/main.go b/test/lsp/go/main.go index e69de29..d60bcd1 100644 --- a/test/lsp/go/main.go +++ b/test/lsp/go/main.go @@ -0,0 +1,18 @@ +package main; +import ( + "fmt" +) + +type X struct { + y int +} + +func main() { + _, err := fmt.Println("hello world"); + if err != nil { + return; + } + var a X + println(a.y); + +} |