-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Lualine integration, update docs (#5)
* Add lualine integration, update README * Recalculate window sizing and positioning each time, to account for terminal window resizing * Allow for editing the name of the current stack * Update documentation - add API docs, update visual assets to encompass new work * Add note on where to find Lualine symbol * Add keymap comments * Resolve issue with preview rendering at certain screen dimensions * Add new gif after preview issue solved
- Loading branch information
Showing
9 changed files
with
324 additions
and
99 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,20 @@ | ||
local Component = require('lualine.component'):extend() | ||
|
||
function Component:init(opts) | ||
Component.super:init(opts) | ||
end | ||
|
||
---@return string | nil | ||
function Component:update_status() | ||
if package.loaded['spelunk'] == nil then | ||
return | ||
end | ||
local ok, spelunk = pcall(require, 'spelunk') | ||
if not ok then | ||
return | ||
end | ||
|
||
return spelunk.statusline() | ||
end | ||
|
||
return Component |
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
Oops, something went wrong.