Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvTestSocket = "GOVIMTEST_SOCKET" EnvVimFlavor = "VIM_FLAVOR" EnvVimCommand = "VIM_COMMAND" EnvGithubUser = "GH_USER" EnvGithubToken = "GH_TOKEN" EnvLoadTestAPI = "GOVIM_LOAD_TEST_API" EnvDisableIncrementalSync = "GOVIM_DISABLE_INCREMENTALSYNC" EnvDisablePopupWindowBalloon = "GOVIM_DISABLE_POPUPWINDOWBALLOON" EnvDisableSignPlace = "GOVIM_DISABLE_SIGNPLACE" // MinVimGovim represents the bare minimum version of Vim required to // use govim MinVimGovim = "v8.1.1158" // MinVimIncrementalSync is the minimum version of Vim required to use // incremental sync MinVimIncrementalSync = "v8.1.1711" // MinPopupWindowBalloon is the minimum version of Vim required to use popup // windows for balloons MinPopupWindowBalloon = "v8.1.1657" // MinSignPlace is the minimum version of Vim required to use // sign placement (i.e. supports sign_placelist() / sign_unplacelist()) MinSignPlace = "v8.1.1682" EnvLogfileTmpl = "GOVIM_LOGFILE_TMPL" EnvTestscriptStderr = "GOVIM_TESTSCRIPT_STDERR" )
Variables ¶
View Source
var ( VimCommand = Command{"vim"} GvimCommand = Command{"xvfb-run", "-a", "gvim", "-f"} NeovimCommand = Command{"nvim"} )
View Source
var ( GoVersions = []string{"go1.12.7", "go1.13beta1"} // VimVersions contains the versions of all flavors of Vim/Gvim/X to be tested VimVersions = []Version{ NeovimVersion("v0.3.5"), VimVersion(MinVimGovim), GvimVersion(MinVimGovim), VimVersion(MinVimIncrementalSync), GvimVersion(MinVimIncrementalSync), VimVersion(MinPopupWindowBalloon), GvimVersion(MinPopupWindowBalloon), } )
Functions ¶
func GvimVersion ¶
func GvimVersion(v string) gvimVersionType
func NeovimVersion ¶
func NeovimVersion(v string) neovimVersionType
func VimVersion ¶
func VimVersion(v string) vimVersionType
Types ¶
Click to show internal directories.
Click to hide internal directories.