Update lsp progress popup, disable commit confirmation in neogit

This commit is contained in:
Evie Litherland-Smith 2023-05-11 10:54:29 +01:00
parent 6b90efb5bb
commit c6ed66af9c
2 changed files with 9 additions and 4 deletions

View file

@ -13,13 +13,12 @@ return {
end, end,
config = true, config = true,
opts = { opts = {
disable_commit_confirmation = true,
disable_builtin_notifications = true, disable_builtin_notifications = true,
kind = "floating", kind = "floating",
commit_popup = { kind = "floating" }, commit_popup = { kind = "floating" },
preview_buffer = { kind = "floating" }, preview_buffer = { kind = "floating" },
popup = { kind = "floating" }, popup = { kind = "floating" },
integrations = { integrations = { diffview = true },
diffview = true,
},
}, },
} }

View file

@ -7,7 +7,6 @@ return {
config = true, config = true,
opts = { opts = {
lsp = { lsp = {
progress = { enabled = true, view = "virtualtext" },
-- override markdown rendering so that **cmp** and other plugins use **Treesitter** -- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = { override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true, ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
@ -15,6 +14,13 @@ return {
["cmp.entry.get_documentation"] = true, ["cmp.entry.get_documentation"] = true,
}, },
}, },
views = {
mini = {
position = { row = -2 },
border = { style = "rounded" },
win_options = { winblend = 0 },
},
},
-- you can enable a preset for easier configuration -- you can enable a preset for easier configuration
presets = { presets = {
bottom_search = false, -- use a classic bottom cmdline for search bottom_search = false, -- use a classic bottom cmdline for search