Add dircounts to setlocal options (#1920)
* Remove plural from setlocal variable names * Add `dircounts` for `setlocal` * Update documentation * Fix failing test
This commit is contained in:
1 parent
b087bf7d80
commit
f9813744f7
9 files changed
+58
-45
No files matched your search
+4
-4
@@ -79,10 +79,10 @@ func TestGetLocalOptWords(t *testing.T) {
|
||||
localOpts any
|
||||
exp []string
|
||||
}{
|
||||
{struct{ features map[string]bool }{}, []string{"feature", "feature!", "nofeature"}},
|
||||
{struct{ features map[string]int }{}, []string{"feature"}},
|
||||
{struct{ features map[string]string }{}, []string{"feature"}},
|
||||
{struct{ features map[string][]string }{}, []string{"feature"}},
|
||||
{struct{ feature map[string]bool }{}, []string{"feature", "feature!", "nofeature"}},
|
||||
{struct{ feature map[string]int }{}, []string{"feature"}},
|
||||
{struct{ feature map[string]string }{}, []string{"feature"}},
|
||||
{struct{ feature map[string][]string }{}, []string{"feature"}},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
||||
Reference in new issue
Block a user