generated from ellisonleao/nvim-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also use subcommands for User commands istead of polluting the namespace
- Loading branch information
Showing
7 changed files
with
213 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- @alias backend_used | ||
--- | 'wezterm' | ||
--- | 'tmux' | ||
--- | 'toggleterm' | ||
--- | 'auto' -- pick automatically by examining environment vars | ||
|
||
--- @alias rule table<string, fun(string?):string> | ||
|
||
--- @class direction | ||
--- @field name string | ||
|
||
--- @class backend | ||
--- @field run fun(string) | ||
--- @field directions direction[]|nil | ||
|
||
--- @class opts | ||
--- @field use backend_used? | ||
--- @field rules rule[]? | ||
--- @field validate boolean? | ||
--- @field icon string? | ||
--- @field backend backend? |
Oops, something went wrong.