CLI: Add format subcommand #128
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/vimdoc-language-server#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
I'd like to run the formatter from the CLI, which doesn't seem possible currently looking at the online docs and
vimdoc-language-server -h.Proposed Solution
vimdoc-language-server format <path>would format<path>or all vimdoc files in<path>.Alternatives Considered
nvim *.txt +'bufdo lua vim.lsp.buf.format()'but that doesn't really work wellthis was just added, thanks for the issue actually.
v0.1.2 just dropped with table support also