google / google/vim-glaive

Mechanism to query current config

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
77
Forks
15
PR merge metrics
No merged PRs in 30d

Description

The `:Glaive` command makes it handy to update flag values, but we currently don't have a user-level interface for checking current flag values (calling functions like `:echo maktaba#plugin#Get('someplugin').Flag('someflag')` doesn't count as a user-level interface).

Many vim commands like `:set`, `:let`, `:command`, `:map`, etc. have a no-arg version that spits out the current config. Glaive should adopt a convention like this to let people query/explore their plugin config.

This could entail a `:Glaive` command to list all flags and their values by plugin, a `:Glaive SOMEPLUGIN` command to list flags for an individual plugin, and `:Glaive SOMEPLUGIN SOMEFLAG` to show the current value of an individual flag.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.