Documentation ¶
Overview ¶
Package vimconfig defines the mapping between Vim-specified config and govim config
Index ¶
- func BoolVal(v bool) *bool
- func EqualBool(i, j *bool) bool
- func FormatOnSaveVal(v config.FormatOnSave) *config.FormatOnSave
- func MapVal(v map[string]interface{}) *map[string]interface{}
- func StringVal(v string) *string
- func SymbolMatcherVal(v config.SymbolMatcher) *config.SymbolMatcher
- func SymbolStyleVal(v config.SymbolStyle) *config.SymbolStyle
- type VimConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualBool ¶
EqualBool returns true iff i and j are both nil, or if both are non-nil and dereference to the same bool value. Otherwise it returns false.
func FormatOnSaveVal ¶
func FormatOnSaveVal(v config.FormatOnSave) *config.FormatOnSave
func SymbolMatcherVal ¶ added in v0.0.32
func SymbolMatcherVal(v config.SymbolMatcher) *config.SymbolMatcher
func SymbolStyleVal ¶ added in v0.0.32
func SymbolStyleVal(v config.SymbolStyle) *config.SymbolStyle
Types ¶
type VimConfig ¶
type VimConfig struct { FormatOnSave *config.FormatOnSave QuickfixAutoDiagnostics *int QuickfixSigns *int HighlightDiagnostics *int HighlightReferences *int HoverDiagnostics *int CompletionDeepCompletions *int CompletionMatcher *config.CompletionMatcher SymbolMatcher *config.SymbolMatcher SymbolStyle *config.SymbolStyle Staticcheck *int CompleteUnimported *int GoImportsLocalPrefix *string CompletionBudget *string TempModfile *int GoplsEnv *map[string]string GoplsDirectoryFilters *[]string Analyses *map[string]int OpenLastProgressWith *string Gofumpt *int ExperimentalAutoreadLoadedBuffers *int ExperimentalMouseTriggeredHoverPopupOptions *map[string]interface{} ExperimentalCursorTriggeredHoverPopupOptions *map[string]interface{} ExperimentalWorkaroundCompleteoptLongest *int ExperimentalProgressPopups *int ExperimentalAllowModfileModifications *int ExperimentalWorkspaceModule *int ExperimentalGoplsMemoryMode *config.GoplsMemoryMode }
Click to show internal directories.
Click to hide internal directories.