Pratyush Desai
dc6d71b5b1
It is a complete redo of the vim/nvim experience. It's neovim with lua everything While this was configured this way with a local computer in mind it should be easy to set up and use on a remote machine. Known Issues: * Fuzzy finder (this is down to me not having understood properly) * Harpoon adding paths (again me) * Need to review the `set.lua` and `remap.lua` for a more uniform approach in nomenclature. This should see more updates. Reviewed-on: #1
52 lines
1.4 KiB
Lua
52 lines
1.4 KiB
Lua
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
|
|
|
-- Only required if you have packer configured as `opt`
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
return require('packer').startup(function(use)
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
use {
|
|
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
|
-- or , branch = '0.1.x',
|
|
requires = { {'nvim-lua/plenary.nvim'} }
|
|
}
|
|
|
|
use({
|
|
'rose-pine/neovim',
|
|
as = 'rose-pine',
|
|
config = function()
|
|
vim.cmd('colorscheme rose-pine')
|
|
end
|
|
})
|
|
|
|
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
|
|
use('nvim-treesitter/playground')
|
|
use('theprimeagen/harpoon')
|
|
use('mbbill/undotree')
|
|
use('tpope/vim-fugitive')
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
requires = {
|
|
-- LSP Support
|
|
{'neovim/nvim-lspconfig'},
|
|
{'williamboman/mason.nvim'},
|
|
{'williamboman/mason-lspconfig.nvim'},
|
|
|
|
-- Autocompletion
|
|
{'hrsh7th/nvim-cmp'},
|
|
{'hrsh7th/cmp-buffer'},
|
|
{'hrsh7th/cmp-path'},
|
|
{'saadparwaiz1/cmp_luasnip'},
|
|
{'hrsh7th/cmp-nvim-lsp'},
|
|
{'hrsh7th/cmp-nvim-lua'},
|
|
|
|
-- Snippets
|
|
{'L3MON4D3/LuaSnip'},
|
|
-- Snippet Collection (Optional)
|
|
{'rafamadriz/friendly-snippets'},
|
|
}
|
|
}
|
|
end)
|