feat: Added code completion package back (required by LSP)
This commit is contained in:
parent
94e3ee2028
commit
e186a765ee
|
@ -25,14 +25,29 @@ vim.g.maplocalleader = "\\"
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
{ -- Syntax Highlighter
|
{ -- Syntax Highlighter
|
||||||
'nvim-treesitter/nvim-treesitter', branch = 'master',
|
'nvim-treesitter/nvim-treesitter', branch = 'master',
|
||||||
lazy = false, build = ":TSUpdate"
|
lazy = false, build = ":TSUpdate"
|
||||||
},
|
},
|
||||||
{ -- Packager Manager (LSPs)
|
{ -- Packager Manager (LSPs)
|
||||||
'williamboman/mason.nvim'
|
'williamboman/mason.nvim'
|
||||||
},
|
},
|
||||||
{ -- Formatter, Linter, etc bridge??
|
{ -- Formatter, Linter, etc bridge??
|
||||||
'nvimtools/none-ls.nvim'
|
'nvimtools/none-ls.nvim'
|
||||||
|
},
|
||||||
|
{ -- Code completion
|
||||||
|
'hrsh7th/nvim-cmp'
|
||||||
|
},
|
||||||
|
{ -- Utility thing for code completion
|
||||||
|
'hrsh7th/cmp-nvim-lsp'
|
||||||
|
},
|
||||||
|
{ -- Buffer source for code completion
|
||||||
|
'hrsh7th/cmp-buffer'
|
||||||
|
},
|
||||||
|
{ -- Path source for code completion
|
||||||
|
'hrsh7th/cmp-path'
|
||||||
|
},
|
||||||
|
{ -- Cmdline source for code completion
|
||||||
|
'hrsh7th/cmp-cmdline'
|
||||||
},
|
},
|
||||||
{ -- File navigation fuzzy finder
|
{ -- File navigation fuzzy finder
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
|
@ -40,19 +55,28 @@ require("lazy").setup({
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||||
},
|
},
|
||||||
{ -- File navigation utility
|
{ -- File navigation utility
|
||||||
'ThePrimeagen/harpoon'
|
'ThePrimeagen/harpoon'
|
||||||
},
|
},
|
||||||
{ -- Undo.. tree
|
{ -- Undo.. tree
|
||||||
'mbbill/undotree'
|
'mbbill/undotree'
|
||||||
},
|
},
|
||||||
{ -- Git utility
|
{ -- Git utility
|
||||||
'tpope/vim-fugitive'
|
'tpope/vim-fugitive'
|
||||||
},
|
},
|
||||||
{
|
{ -- Keybind helper
|
||||||
'folke/which-key.nvim'
|
'folke/which-key.nvim',
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>?",
|
||||||
|
function()
|
||||||
|
require("which-key").show({ global = false })
|
||||||
|
end,
|
||||||
|
desc = "Buffer Local Keymaps (which-key)",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{ -- Color Scheme
|
{ -- Color Scheme
|
||||||
'folke/tokyonight.nvim'
|
'folke/tokyonight.nvim'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
-- Configure any other settings here. See the documentation for more details.
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
|
|
Loading…
Reference in New Issue