mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 15:37:22 +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 = {
|
||||
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'
|
||||
.. ' --line-number'
|
||||
.. ' --color=ansi'
|
||||
.. ' --colors path:fg:yellow'
|
||||
.. ' --colors line:fg:green'
|
||||
.. ' --colors column:fg:blue'
|
||||
.. ' --colors match:fg:red',
|
||||
.. ' --max-columns=512'
|
||||
.. ' --smart-case'
|
||||
.. ' --vimgrep',
|
||||
file_ignore_patterns = {
|
||||
'^node_modules/',
|
||||
'/node_modules/',
|
||||
|
|
@ -561,6 +564,7 @@ require('lazy').setup({
|
|||
--[[ cfg_lazy_cmp_keymaps ]]
|
||||
mapping = cmp.mapping.preset.insert {
|
||||
['<C-Space>'] = cmp.mapping.complete {},
|
||||
['<Esc>'] = cmp.mapping.abort(),
|
||||
['<CR>'] = cmp.mapping.confirm {
|
||||
behavior = cmp.ConfirmBehavior.Insert,
|
||||
select = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue