mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: migrate to 0.11
This commit is contained in:
parent
d7b2abbe83
commit
c14ed227b9
1 changed files with 10 additions and 6 deletions
|
|
@ -331,14 +331,17 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
grep = {
|
grep = {
|
||||||
rg_opts = '--vimgrep --smart-case --max-columns=512'
|
rg_opts = ''
|
||||||
|
.. ' --color=ansi'
|
||||||
|
.. ' --colors column:fg:blue'
|
||||||
|
.. ' --colors line:fg:green'
|
||||||
|
.. ' --colors match:fg:red'
|
||||||
|
.. ' --colors path:fg:yellow'
|
||||||
.. ' --column'
|
.. ' --column'
|
||||||
.. ' --line-number'
|
.. ' --line-number'
|
||||||
.. ' --color=ansi'
|
.. ' --max-columns=512'
|
||||||
.. ' --colors path:fg:yellow'
|
.. ' --smart-case'
|
||||||
.. ' --colors line:fg:green'
|
.. ' --vimgrep',
|
||||||
.. ' --colors column:fg:blue'
|
|
||||||
.. ' --colors match:fg:red',
|
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
'^node_modules/',
|
'^node_modules/',
|
||||||
'/node_modules/',
|
'/node_modules/',
|
||||||
|
|
@ -561,6 +564,7 @@ require('lazy').setup({
|
||||||
--[[ cfg_lazy_cmp_keymaps ]]
|
--[[ cfg_lazy_cmp_keymaps ]]
|
||||||
mapping = cmp.mapping.preset.insert {
|
mapping = cmp.mapping.preset.insert {
|
||||||
['<C-Space>'] = cmp.mapping.complete {},
|
['<C-Space>'] = cmp.mapping.complete {},
|
||||||
|
['<Esc>'] = cmp.mapping.abort(),
|
||||||
['<CR>'] = cmp.mapping.confirm {
|
['<CR>'] = cmp.mapping.confirm {
|
||||||
behavior = cmp.ConfirmBehavior.Insert,
|
behavior = cmp.ConfirmBehavior.Insert,
|
||||||
select = true,
|
select = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue