Documentation ¶
Overview ¶
Command govim is a Vim8 channel-based plugin, written in Go, to support the writing of Go code in Vim8
Source Files ¶
- batch.go
- buffer_events.go
- child.go
- code_action.go
- code_lens.go
- complete.go
- cpprotocol.go
- diagnostics.go
- fillstruct.go
- flag.go
- format.go
- go_to_def.go
- gopls.go
- gopls_client.go
- gopls_server.go
- highlight.go
- hover.go
- implements.go
- main.go
- motions.go
- parent.go
- progress.go
- quickfix.go
- references.go
- rename.go
- signature_help.go
- signs.go
- stringfns.go
- suggested_fixes.go
- test_config.go
- textedit.go
- util.go
- vimstate.go
- watcher.go
Directories ¶
Path | Synopsis |
---|---|
Package config declares the configuration variables, functions and commands used by govim
|
Package config declares the configuration variables, functions and commands used by govim |
internal/applygen
applygen is a command that automates the generation of an Apply method on the pointer receiver of a struct type which has exported pointer-type fields to apply overrides from the argument onto the receiver
|
applygen is a command that automates the generation of an Apply method on the pointer receiver of a struct type which has exported pointer-type fields to apply overrides from the argument onto the receiver |
internal
|
|
fswatcher
Package fswatcher is responsible for providing file system events to govim
|
Package fswatcher is responsible for providing file system events to govim |
golang_org_x_tools/analysisinternal
Package analysisinternal exposes internal-only fields from go/analysis.
|
Package analysisinternal exposes internal-only fields from go/analysis. |
golang_org_x_tools/bug
Package bug provides utilities for reporting internal bugs, and being notified when they occur.
|
Package bug provides utilities for reporting internal bugs, and being notified when they occur. |
golang_org_x_tools/diff
Package diff computes differences between text files or strings.
|
Package diff computes differences between text files or strings. |
golang_org_x_tools/diff/lcs
package lcs contains code to find longest-common-subsequences (and diffs)
|
package lcs contains code to find longest-common-subsequences (and diffs) |
golang_org_x_tools/diff/myers
Package myers implements the Myers diff algorithm.
|
Package myers implements the Myers diff algorithm. |
golang_org_x_tools/event
Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way.
|
Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way. |
golang_org_x_tools/event/core
Package core provides support for event based telemetry.
|
Package core provides support for event based telemetry. |
golang_org_x_tools/event/tag
Package tag provides the labels used for telemetry throughout gopls.
|
Package tag provides the labels used for telemetry throughout gopls. |
golang_org_x_tools/fastwalk
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
|
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools. |
golang_org_x_tools/fuzzy
Package fuzzy implements a fuzzy matching algorithm.
|
Package fuzzy implements a fuzzy matching algorithm. |
golang_org_x_tools/gocommand
Package gocommand is a helper for calling the go command.
|
Package gocommand is a helper for calling the go command. |
golang_org_x_tools/gopathwalk
Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT.
|
Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT. |
golang_org_x_tools/imports
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
|
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. |
golang_org_x_tools/jsonrpc2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
|
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
golang_org_x_tools/jsonrpc2_v2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
|
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
golang_org_x_tools/packagesinternal
Package packagesinternal exposes internal-only fields from go/packages.
|
Package packagesinternal exposes internal-only fields from go/packages. |
golang_org_x_tools/typeparams
Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18.
|
Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18. |
golang_org_x_tools/typesinternal
Package typesinternal provides access to internal go/types APIs that are not yet exported.
|
Package typesinternal provides access to internal go/types APIs that are not yet exported. |
golang_org_x_tools/xcontext
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
|
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. |
golang_org_x_tools_gopls/govulncheck
Package govulncheck supports the govulncheck command.
|
Package govulncheck supports the govulncheck command. |
golang_org_x_tools_gopls/govulncheck/semver
Package semver provides shared utilities for manipulating Go semantic versions.
|
Package semver provides shared utilities for manipulating Go semantic versions. |
golang_org_x_tools_gopls/lsp/analysis/embeddirective
Package embeddirective defines an Analyzer that validates import for //go:embed directive.
|
Package embeddirective defines an Analyzer that validates import for //go:embed directive. |
golang_org_x_tools_gopls/lsp/analysis/fillreturns
Package fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.
|
Package fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements. |
golang_org_x_tools_gopls/lsp/analysis/fillstruct
Package fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.
|
Package fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field. |
golang_org_x_tools_gopls/lsp/analysis/infertypeargs
Package infertypeargs defines an analyzer that checks for explicit function arguments that could be inferred.
|
Package infertypeargs defines an analyzer that checks for explicit function arguments that could be inferred. |
golang_org_x_tools_gopls/lsp/analysis/nonewvars
Package nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=".
|
Package nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=". |
golang_org_x_tools_gopls/lsp/analysis/noresultvalues
Package noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".
|
Package noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected". |
golang_org_x_tools_gopls/lsp/analysis/simplifycompositelit
Package simplifycompositelit defines an Analyzer that simplifies composite literals.
|
Package simplifycompositelit defines an Analyzer that simplifies composite literals. |
golang_org_x_tools_gopls/lsp/analysis/simplifyrange
Package simplifyrange defines an Analyzer that simplifies range statements.
|
Package simplifyrange defines an Analyzer that simplifies range statements. |
golang_org_x_tools_gopls/lsp/analysis/simplifyslice
Package simplifyslice defines an Analyzer that simplifies slice statements.
|
Package simplifyslice defines an Analyzer that simplifies slice statements. |
golang_org_x_tools_gopls/lsp/analysis/undeclaredname
Package undeclaredname defines an Analyzer that applies suggested fixes to errors of the type "undeclared name: %s".
|
Package undeclaredname defines an Analyzer that applies suggested fixes to errors of the type "undeclared name: %s". |
golang_org_x_tools_gopls/lsp/analysis/unusedparams
Package unusedparams defines an analyzer that checks for unused parameters of functions.
|
Package unusedparams defines an analyzer that checks for unused parameters of functions. |
golang_org_x_tools_gopls/lsp/analysis/unusedvariable
Package unusedvariable defines an analyzer that checks for unused variables.
|
Package unusedvariable defines an analyzer that checks for unused variables. |
golang_org_x_tools_gopls/lsp/analysis/useany
Package useany defines an Analyzer that checks for usage of interface{} in constraints, rather than the predeclared any.
|
Package useany defines an Analyzer that checks for usage of interface{} in constraints, rather than the predeclared any. |
golang_org_x_tools_gopls/lsp/command
Package command defines the interface provided by gopls for the workspace/executeCommand LSP request.
|
Package command defines the interface provided by gopls for the workspace/executeCommand LSP request. |
golang_org_x_tools_gopls/lsp/lsppos
Package lsppos provides utilities for working with LSP positions.
|
Package lsppos provides utilities for working with LSP positions. |
golang_org_x_tools_gopls/lsp/protocol
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
|
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol". |
golang_org_x_tools_gopls/lsp/safetoken
Package safetoken provides wrappers around methods in go/token, that return errors rather than panicking.
|
Package safetoken provides wrappers around methods in go/token, that return errors rather than panicking. |
golang_org_x_tools_gopls/lsp/source
Package source provides core features for use by Go editors and tools.
|
Package source provides core features for use by Go editors and tools. |
golang_org_x_tools_gopls/span
Package span contains support for representing with positions and ranges in text files.
|
Package span contains support for representing with positions and ranges in text files. |
vimconfig
Package vimconfig defines the mapping between Vim-specified config and govim config
|
Package vimconfig defines the mapping between Vim-specified config and govim config |
Click to show internal directories.
Click to hide internal directories.