Skip to content

Commit

Permalink
little change
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhongjia committed Aug 9, 2023
1 parent b1d53ca commit 58f59ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lua/LspUI/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ local default_lighthulb_config = {
local default_code_action_config = {
enable = true,
command_enable = true,
icon = "💡",
key_binding = {
exec = "<cr>",
prev = "k",
Expand All @@ -47,7 +46,7 @@ local M = {}

-- LspUI plugin init function
-- you need to pass a table
--- @param config LspUI_config
--- @param config LspUI_config?
M.setup = function(config)
-- check plugin whether has initialized
if is_already_init then
Expand Down
2 changes: 1 addition & 1 deletion lua/LspUI/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local command = require("LspUI.command")

return {
-- init `LspUI` plugin
--- @param user_config LspUI_config user's plugin config
--- @param user_config LspUI_config? user's plugin config
setup = function(user_config)
config.setup(user_config)
command.init()
Expand Down

0 comments on commit 58f59ce

Please sign in to comment.