update config

This commit is contained in:
Phillip Nguyen 2024-03-27 03:09:31 +07:00 committed by Phillip Nguyen
parent ae790ae3ba
commit 7cd7126b4f
1 changed files with 6 additions and 0 deletions

View File

@ -258,6 +258,8 @@ require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
'tpope/vim-fugitive', -- Git commands in nvim
-- NOTE: Plugins can also be added by using a table,
-- with the first argument being the link and the following
-- keys can be used to configure plugin behavior/loading/etc.
@ -855,6 +857,10 @@ require('lazy').setup({
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant = 'mono',
},
-- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet.
['<CR>'] = cmp.mapping.confirm { select = true },
completion = {
-- By default, you may press `<c-space>` to show the documentation.