-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add types for autocompletion with
lua_ls
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 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
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,38 @@ | ||
---@meta | ||
|
||
---@class AstroCoreMaxFile | ||
---@field size integer? | ||
---@field lines integer? | ||
|
||
---@class AstroCoreFeatureOpts | ||
---@field autopairs boolean? | ||
---@field cmp boolean? | ||
---@field highlighturl boolean? | ||
---@field max_file AstroCoreMaxFile? | ||
---@field notifications boolean? | ||
|
||
---@class AstroCoreSessionAutosave | ||
---@field last boolean? | ||
---@field cwd boolean? | ||
|
||
---@class AstroCoreSessionIgnore | ||
---@field dirs string[]? | ||
---@field filetypes string[]? | ||
---@field buftypes string[]? | ||
|
||
---@class AstroCoreSessionOpts | ||
---@field autosave AstroCoreSessionAutosave? | ||
---@field ignore AstroCoreSessionIgnore? | ||
|
||
---@class GitWorktree | ||
---@field toplevel string | ||
---@field gitdir string | ||
|
||
---@class AstroCoreConfig | ||
---@field autocmds table<string,table[]>? | ||
---@field commands table<string,table>? | ||
---@field mappings table<string,table<string,table|boolean>>? | ||
---@field on_keys table<string,fun(key:string)[]>? | ||
---@field features AstroCoreFeatureOpts? | ||
---@field git_worktrees GitWorktree[]? | ||
---@field sessions AstroCoreSessionOpts? |
63ed189
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://astrocore.astronvim.com as production
🚀 Deployed on https://64cad733940fb90c7c89b446--jazzy-chaja-744b14.netlify.app