Skip to content

Commit

Permalink
feat!: lsp hover/signatureHelp and message are now enabled by default…
Browse files Browse the repository at this point in the history
…. Disable in the config if you don't want this.
  • Loading branch information
folke committed Oct 28, 2022
1 parent aeaa43f commit 9130fd1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ Check the [wiki](https://github.com/folke/noice.nvim/wiki/Configuration-Recipes)
["cmp.entry.get_documentation"] = false,
},
hover = {
enabled = false,
enabled = true,
view = nil, -- when nil, use defaults from documentation
---@type NoiceViewOptions
opts = {}, -- merged with defaults from documentation
},
signature = {
enabled = false,
enabled = true,
auto_open = {
enabled = true,
trigger = true, -- Automatically show signature help when typing a trigger character from the LSP
Expand All @@ -197,7 +197,7 @@ Check the [wiki](https://github.com/folke/noice.nvim/wiki/Configuration-Recipes)
},
message = {
-- Messages shown by lsp servers
enabled = false,
enabled = true,
view = "notify",
opts = {},
},
Expand Down
6 changes: 3 additions & 3 deletions lua/noice/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ function M.defaults()
["cmp.entry.get_documentation"] = false,
},
hover = {
enabled = false,
enabled = true,
view = nil, -- when nil, use defaults from documentation
---@type NoiceViewOptions
opts = {}, -- merged with defaults from documentation
},
signature = {
enabled = false,
enabled = true,
auto_open = {
enabled = true,
trigger = true, -- Automatically show signature help when typing a trigger character from the LSP
Expand All @@ -138,7 +138,7 @@ function M.defaults()
},
message = {
-- Messages shown by lsp servers
enabled = false,
enabled = true,
view = "notify",
opts = {},
},
Expand Down

0 comments on commit 9130fd1

Please sign in to comment.