update coq and autopairs settings
This commit is contained in:
parent
7a4cdd6922
commit
c436ad984f
@ -1,2 +1,2 @@
|
|||||||
vim.g.coq_settings = {auto_start = true, clients = {tabnine = {enabled = true}}}
|
vim.g.coq_settings = { keymap = { recommended = false }, auto_start = true, clients= {tabnine = { enabled = true}} }
|
||||||
vim.cmd('COQnow -s')
|
vim.cmd('COQnow -s')
|
||||||
|
@ -3,8 +3,6 @@ local npairs = require('nvim-autopairs')
|
|||||||
|
|
||||||
npairs.setup({ map_bs = false })
|
npairs.setup({ map_bs = false })
|
||||||
|
|
||||||
vim.g.coq_settings = { keymap = { recommended = false } }
|
|
||||||
|
|
||||||
-- these mappings are coq recommended mappings unrelated to nvim-autopairs
|
-- these mappings are coq recommended mappings unrelated to nvim-autopairs
|
||||||
remap('i', '<esc>', [[pumvisible() ? "<c-e><esc>" : "<esc>"]], { expr = true, noremap = true })
|
remap('i', '<esc>', [[pumvisible() ? "<c-e><esc>" : "<esc>"]], { expr = true, noremap = true })
|
||||||
remap('i', '<c-c>', [[pumvisible() ? "<c-e><c-c>" : "<c-c>"]], { expr = true, noremap = true })
|
remap('i', '<c-c>', [[pumvisible() ? "<c-e><c-c>" : "<c-c>"]], { expr = true, noremap = true })
|
||||||
|
Loading…
Reference in New Issue
Block a user