Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
config.nvim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STEVAN Antoine
config.nvim
Commits
64e120fd
Unverified
Commit
64e120fd
authored
7 months ago
by
amtoine
Browse files
Options
Downloads
Patches
Plain Diff
add missing type annotations
parent
3cc0b221
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lua/custom/telescope.lua
+9
-0
9 additions, 0 deletions
lua/custom/telescope.lua
plugin/terminal.lua
+6
-0
6 additions, 0 deletions
plugin/terminal.lua
with
15 additions
and
0 deletions
lua/custom/telescope.lua
+
9
−
0
View file @
64e120fd
...
...
@@ -7,6 +7,11 @@ local sorters = require("telescope.sorters")
local
M
=
{}
---@class ProjectFilesOptions
---@field prompt_title string?
---@field hidden boolean?
---@param opts ProjectFilesOptions
M
.
project_files
=
function
(
opts
)
opts
=
opts
or
{}
opts
.
prompt_title
=
opts
.
prompt_title
or
"Find project files..."
...
...
@@ -21,6 +26,10 @@ M.project_files = function(opts)
end
end
---@class MultiGrepOptions
---@field cwd string?
---@param opts MultiGrepOptions
M
.
multigrep
=
function
(
opts
)
opts
=
opts
or
{}
opts
.
cwd
=
opts
.
cwd
or
vim
.
uv
.
cwd
()
...
...
This diff is collapsed.
Click to expand it.
plugin/terminal.lua
+
6
−
0
View file @
64e120fd
...
...
@@ -27,6 +27,12 @@ local open_terminal = function(pos, size)
end
end
---@class FloatingTerminalOptions
---@field buf integer
---@field width integer?
---@field height integer?
---@param opts FloatingTerminalOptions
local
open_floating_terminal
=
function
(
opts
)
opts
=
opts
or
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment