Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: Makefile, wf.txt, bookmark.lua, buffer.lua, register.lua, whi… #46

Merged
merged 1 commit into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions CHANGELOG.md

This file was deleted.

2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ documentation-ci: deps documentation
# performs a lint check and fixes issue if possible, following the config in `stylua.toml`.
lint:
stylua .

push: lint documentation test
9 changes: 4 additions & 5 deletions doc/wf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Class~
{WFHighlight}
Fields~
{WFNormal} `(string)`
{WFNormal} `(string)`
{WFFloatBorder} `(string)`
{WFFloatBorderFocus} `(string)`
{WFComment} `(string)`
Expand Down Expand Up @@ -59,31 +58,31 @@ Class~
`bookmark`({bookmark_dirs}, {opts})
Parameters~
{bookmark_dirs} `(table)`
{opts} `(optional)` `(table)`
{opts} `(optional)` WFOptions


==============================================================================
------------------------------------------------------------------------------
*builtin.buffer*
`buffer`({opts})
Parameters~
{opts} `(optional)` `(table)`
{opts} `(optional)` WFOptions


==============================================================================
------------------------------------------------------------------------------
*builtin.register*
`register`({opts})
Parameters~
{opts} `(optional)` `(table)`
{opts} `(optional)` WFOptions


==============================================================================
------------------------------------------------------------------------------
*builtin.which_key*
`which_key`({opts})
Parameters~
{opts} `(optional)` `(table)`
{opts} `(optional)` WFOptions


==============================================================================
Expand Down
2 changes: 1 addition & 1 deletion lua/wf/builtin/bookmark.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local ok, devicon = pcall(require_deviocon)

---@tag builtin.bookmark
---@param bookmark_dirs table
---@param opts? table
---@param opts? WFOptions
local function bookmark(bookmark_dirs, opts)
local function _bookmark()
opts = opts or {}
Expand Down
2 changes: 1 addition & 1 deletion lua/wf/builtin/buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function get_active_buffers()
end

---@tag builtin.buffer
---@param opts? table
---@param opts? WFOptions
local function buffer(opts)
local function _buffer()
local choices, bs = get_active_buffers()
Expand Down
2 changes: 1 addition & 1 deletion lua/wf/builtin/register.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local types = {
}

---@tag builtin.register
---@param opts? table
---@param opts? WFOptions
local function register(opts)
local function _register()
local choices = {}
Expand Down
2 changes: 1 addition & 1 deletion lua/wf/builtin/which_key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local function feedkeys(lhs, count, caller, noremap)
end

---@tag builtin.which_key
---@param opts? table
---@param opts? WFOptions
local function which_key(opts)
local core = function()
local buf = vim.api.nvim_get_current_buf()
Expand Down
1 change: 0 additions & 1 deletion lua/wf/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

---@class WFHighlight
---@field WFNormal string
---@field WFNormal string
---@field WFFloatBorder string
---@field WFFloatBorderFocus string
---@field WFComment string
Expand Down