mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
icmp and snip rice
This commit is contained in:
parent
62b7e838d9
commit
2a6ff7e85a
5 changed files with 126 additions and 27 deletions
|
|
@ -53,9 +53,10 @@ require('mini.pairs').setup(
|
|||
mappings = {
|
||||
['['] = { action = 'open', pair = '[]', neigh_pattern = '[^\\].' },
|
||||
['{'] = { action = 'open', pair = '{}', neigh_pattern = '[^\\].' },
|
||||
|
||||
[']'] = { action = 'close', pair = '[]', neigh_pattern = '[^\\].' },
|
||||
['}'] = { action = 'close', pair = '{}', neigh_pattern = '[^\\].' },
|
||||
['"'] = { },
|
||||
['\''] = { },
|
||||
},
|
||||
}
|
||||
)
|
||||
|
|
@ -75,15 +76,15 @@ indent.setup({
|
|||
indent.gen_animation.none()
|
||||
|
||||
-- <C-Space>
|
||||
require('mini.completion').setup({
|
||||
delay = {completion = 10^7},
|
||||
window = {
|
||||
info = { height = 25, width = 80, border = 'single' },
|
||||
signature = { height = 25, width = 80, border = 'single' },
|
||||
},
|
||||
lsp_completion = {
|
||||
source_func = 'completefunc',
|
||||
auto_setup = true,
|
||||
},
|
||||
fallback_action = "<C-x><C-n>"
|
||||
})
|
||||
-- require('mini.completion').setup({
|
||||
-- delay = {completion = 10^7},
|
||||
-- window = {
|
||||
-- info = { height = 25, width = 80, border = 'single' },
|
||||
-- signature = { height = 25, width = 80, border = 'single' },
|
||||
-- },
|
||||
-- lsp_completion = {
|
||||
-- source_func = 'completefunc',
|
||||
-- auto_setup = true,
|
||||
-- },
|
||||
-- fallback_action = "<C-x><C-n>"
|
||||
-- })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue