removed dashboard, added autopairs

This commit is contained in:
λmolinae 2025-01-25 00:08:57 -06:00
parent f96c279cfa
commit d871422273
9 changed files with 54 additions and 50 deletions

View file

@ -21,9 +21,10 @@
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
{ name = 'luasnip' }, -- For luasnip users.
}, {
{ name = 'nvim_lua' },
{ name = 'buffer' },
-- { name = 'path' },
{ name = 'path' },
{ name = 'nvim_lsp_signature_help' },
-- { name = 'cmdline' },
})
})

View file

@ -1,16 +0,0 @@
config = {
center = {
{
icon = '',
icon_hl = 'group',
desc = 'description',
desc_hl = 'group',
key = 'shortcut key in dashboard buffer not keymap !!',
key_hl = 'group',
key_format = ' [%s]', -- `%s` will be substituted with value of `key`
action = '',
},
},
footer = {},
vertical_center = false, -- Center the Dashboard on the vertical (from top to bottom)
}

View file

@ -0,0 +1,6 @@
local lspconfig = require("lspconfig")
lspconfig.lua_ls.setup({})
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {})
vim.keymap.set({'n', 'v'}, '<space>ca', vim.lsp.buf.code_action, {})

View file

@ -0,0 +1,9 @@
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
}
max_concurrent_installers = 10

View file

@ -31,7 +31,7 @@ o.splitright = true
o.splitbelow = true
o.termguicolors = true
-- opt.shortmess:append "sI"
opt.shortmess:append "sI"
opt.whichwrap:append "<>[]hl"
opt.fillchars = { eob = " " }