removed dashboard, added autopairs
This commit is contained in:
parent
f96c279cfa
commit
d871422273
9 changed files with 54 additions and 50 deletions
|
@ -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' },
|
||||
})
|
||||
})
|
||||
|
|
|
@ -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)
|
||||
}
|
6
lua/config/plugins/lsp.lua
Normal file
6
lua/config/plugins/lsp.lua
Normal 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, {})
|
9
lua/config/plugins/mason.lua
Normal file
9
lua/config/plugins/mason.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
ui = {
|
||||
icons = {
|
||||
package_installed = "",
|
||||
package_pending = "",
|
||||
package_uninstalled = ""
|
||||
}
|
||||
}
|
||||
|
||||
max_concurrent_installers = 10
|
Loading…
Add table
Add a link
Reference in a new issue