tools

package module
v0.0.0-...-1d7f0f6 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 12 Imported by: 0

README

DO NOT USE

vim-tools

These tools are highly specific to how I manage and arrange neovim. Do not use.

Use any number of excellent package / plugin management tools for Neovim. Such as:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Filesys = afero.NewOsFs()

Filesys ....

Functions

func AllPluginsPath

func AllPluginsPath() string

AllPluginsPath ....

func ConfigFileDir

func ConfigFileDir() string

ConfigFileDir ....

func ConfigsOnDisk

func ConfigsOnDisk() map[string]bool

func MetadataDir

func MetadataDir() string

MetadataDir ....

func PluginDir

func PluginDir() string

PluginDir ....

func PluginsFilePath

func PluginsFilePath() string

PluginsFilePath ....

func PluginsOnDisk

func PluginsOnDisk() map[string]string

PluginsOnDisk ....

Types

type Plugin

type Plugin struct {
	Name        string `json:"name"`
	URL         string `json:"url"` // not always a url
	CleanName   string `json:"clean_name"`
	ConfigFile  string `json:"config_file"`
	Colorscheme bool   `json:"colorscheme"`
	Enabled     bool   `json:"enabled"`
	Version     string `json:"version"`
}

Plugin ....

func (*Plugin) CloneRepo

func (plugin *Plugin) CloneRepo() (string, error)

func (Plugin) ConfigFilePath

func (plugin Plugin) ConfigFilePath() string

ConfigFilePath ....

func (Plugin) Disable

func (plugin Plugin) Disable() Plugin

Disable ....

func (Plugin) Enable

func (plugin Plugin) Enable() Plugin

Enable ....

func (Plugin) Freeze

func (plugin Plugin) Freeze(version string) Plugin

Freeze ....

func (Plugin) HasVersion

func (plugin Plugin) HasVersion() bool

func (Plugin) IsColorscheme

func (plugin Plugin) IsColorscheme() bool

IsColorscheme ....

func (Plugin) IsDisabled

func (plugin Plugin) IsDisabled() bool

IsDisabled ....

func (Plugin) IsEnabled

func (plugin Plugin) IsEnabled() bool

IsEnabled ....

func (*Plugin) RunGit

func (plugin *Plugin) RunGit(args ...string) (string, error)

func (Plugin) Thaw

func (plugin Plugin) Thaw() Plugin

Thaw

type Plugins

type Plugins map[string]Plugin

Plugins ....

func Read

func Read() (Plugins, error)

Read ....

func (Plugins) Add

func (p Plugins) Add(url, name string) Plugin

Add ....

func (Plugins) CheckForColorscheme

func (p Plugins) CheckForColorscheme(plugin Plugin)

func (Plugins) RebuildConfig

func (p Plugins) RebuildConfig() error

RebuildConfig ....

func (Plugins) Remove

func (p Plugins) Remove(plugin Plugin)

Remove ....

func (Plugins) SortedNames

func (p Plugins) SortedNames() []string

SortedNames ....

func (Plugins) UnusedConfigFiles

func (p Plugins) UnusedConfigFiles() []string

func (Plugins) Write

func (p Plugins) Write() error

Write ....

Directories

Path Synopsis
cmd
vim-add command
vim-check command
vim-config command
vim-disable command
vim-enable command
vim-freeze command
vim-list command
vim-remove command
vim-rename command
vim-thaw command
vim-verify command

Jump to

Keyboard shortcuts

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