Skip to content

Commit cdce3c0

Browse files
nvim(noice): only use cmdline
1 parent 5e211f6 commit cdce3c0

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

modules/nvim/lua/minizilla/lsp.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
1717
nmap('gD', telescope_builtin.lsp_type_definitions, '[g]oto type [D]efinitions')
1818
nmap('gi', telescope_builtin.lsp_implementations, '[g]oto [i]mplementations')
1919
nmap('gr', telescope_builtin.lsp_references, '[g]oto [r]eferences')
20-
-- nmap('K', vim.lsp.buf.hover)
20+
nmap('K', vim.lsp.buf.hover)
2121
nmap('<Leader>ds', telescope_builtin.lsp_document_symbols, '[d]ocument [s]ymbols')
2222
nmap('<Leader>ws', telescope_builtin.lsp_workspace_symbols, '[w]orkspace [s]ymbols')
2323
nmap('<Leader>rn', vim.lsp.buf.rename, '[r]e[n]ame')
@@ -32,11 +32,11 @@ vim.api.nvim_create_autocmd('LspAttach', {
3232
})
3333

3434
vim.api.nvim_set_hl(0, 'FloatBorder', {})
35-
-- vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
36-
-- vim.lsp.handlers.hover, {
37-
-- border = 'rounded',
38-
-- }
39-
-- )
35+
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
36+
vim.lsp.handlers.hover, {
37+
border = 'rounded',
38+
}
39+
)
4040
end,
4141
})
4242

modules/nvim/lua/minizilla/misc.lua

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,15 @@ require('noice').setup {
4040
command_palette = false, -- position the cmdline and popupmenu together
4141
long_message_to_split = false, -- long messages will be sent to a split
4242
inc_rename = false, -- enables an input dialog for inc-rename.nvim
43-
lsp_doc_border = true, -- add a border to hover docs and signature help
43+
lsp_doc_border = false, -- add a border to hover docs and signature help
4444
},
4545
cmdline = { format = { filter = { title = 'Shell' } } },
4646
messages = { enabled = false },
4747
popupmenu = { enabled = false },
4848
notify = { enabled = false },
4949
lsp = {
50-
override = {
51-
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
52-
['vim.lsp.util.stylize_markdown'] = true,
53-
['cmp.entry.get_documentation'] = true,
54-
},
50+
signature = { enabled = false },
51+
hover = { enabled = false },
5552
progress = { enabled = false },
5653
message = { enabled = false },
5754
}

0 commit comments

Comments
 (0)