add neovim configs

This commit is contained in:
2023-02-07 22:01:53 +08:00
parent 7d6317fd91
commit 0c8f5391c4
7 changed files with 152 additions and 0 deletions

23
nvim/lua/hmsy/plugins.lua Normal file
View File

@@ -0,0 +1,23 @@
local packer = require('packer')
packer.startup(function(use)
use 'wbthomason/packer.nvim'
use 'lewis6991/gitsigns.nvim'
use 'preservim/nerdtree'
use 'vim-airline/vim-airline'
use 'vim-airline/vim-airline-themes'
use({ "L3MON4D3/LuaSnip", tag = "v<CurrentMajor>.*" })
use 'hrsh7th/nvim-cmp'
use 'hrsh7th/cmp-buffer'
use 'neovim/nvim-lspconfig'
use 'hrsh7th/cmp-nvim-lsp'
use "jose-elias-alvarez/null-ls.nvim"
use "nvim-lua/plenary.nvim"
use 'williamboman/mason.nvim'
use "williamboman/mason-lspconfig.nvim"
use {
'nvim-telescope/telescope.nvim', tag = '0.1.0',
-- or , branch = '0.1.x',
requires = { { 'nvim-lua/plenary.nvim' } }
}
use "simrat39/rust-tools.nvim"
end)