updated lsp with autocomplete
This commit is contained in:
@@ -1,7 +1,25 @@
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
|
||||
{ "mason-org/mason-lspconfig.nvim", config = true }, -- The "Bridge"
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
'saghen/blink.cmp',
|
||||
version = '*', -- Downloads pre-built binaries (fast!)
|
||||
opts = {
|
||||
keymap = {
|
||||
preset = 'none',
|
||||
['<CR>'] = { 'select_next', 'fallback' },
|
||||
['<S-CR>'] = { 'select_prev', 'fallback' },
|
||||
['<Tab>'] = { 'accept', 'fallback' },
|
||||
['<C-space>'] = { 'show', 'show_documentation', 'hide_documentation' },
|
||||
},
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
18
lua/plugins/nerdtree.lua
Normal file
18
lua/plugins/nerdtree.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
require("nvim-tree").setup({
|
||||
view = {
|
||||
side = "left",
|
||||
width = 30,
|
||||
},
|
||||
actions = {
|
||||
open_file = {
|
||||
-- This is the "open in adjacent pane" equivalent
|
||||
window_picker = { enable = true },
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user