tools

package module
v0.0.0-...-9f1f4bd Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 9 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"`
	Frozen      bool   `json:"frozen"`
}

Plugin ....

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() Plugin

Freeze ....

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) IsFrozen

func (plugin Plugin) IsFrozen() bool

IsFrozen ....

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) 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 ....

Jump to

Keyboard shortcuts

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