vimconfig

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package vimconfig defines the mapping between Vim-specified config and govim config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolVal

func BoolVal(v bool) *bool

func EqualBool

func EqualBool(i, j *bool) bool

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 MapVal

func MapVal(v map[string]interface{}) *map[string]interface{}

func StringVal added in v0.0.33

func StringVal(v string) *string

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
}

func (*VimConfig) ToConfig

func (c *VimConfig) ToConfig(d config.Config) config.Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL