V2 of my Neovim configuration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.1 KiB

1 year ago
-- Plugin definitions.
local vim = vim
local Plug = vim.fn['plug#']
local config_path = vim.fn.stdpath('config') .. '/'
1 year ago
-- I have no idea how to auto-install vim-plug on Windows
-- so you will have to install it manually.
vim.cmd [[
if !(has('win16') || has('win32') || has('win64'))
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubPlugrcontent.com/junegunn/vim-plug/master/plug.vim
1 year ago
autocmd VimEnter * PlugInstall | source %
endif
endif
]]
vim.call('plug#begin', config_path .. 'plugged')
1 year ago
-- UI
Plug 'arcticicestudio/nord-vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'ryanoasis/vim-devicons'
Plug 'preservim/nerdtree'
-- This plugin has been archived so if there are problems
-- They may emerge here
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug('nvim-treesitter/nvim-treesitter', {['do'] = vim.fn[':TSUpdate']})
-- General Editing
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
-- Search
Plug 'kien/ctrlp.vim'
Plug 'nvim-lua/plenary.nvim'
Plug('nvim-telescope/telescope.nvim', { tag = '0.1.2' })
Plug('nvim-telescope/telescope-fzf-native.nvim', {['do'] = 'make' })
1 year ago
-- Git
Plug 'tpope/vim-fugitive'
-- LSP
Plug('williamboman/mason.nvim', {['do'] = vim.fn[':MasonUpdate']})
Plug('williamboman/mason-lspconfig.nvim')
Plug('neovim/nvim-lspconfig')
1 year ago
-- Completion framework
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/cmp-nvim-lua'
Plug 'hrsh7th/cmp-nvim-lsp-signature-help'
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/cmp-path'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/vim-vsnip'
1 year ago
-- Tmux Helper
Plug 'preservim/vimux'
Plug 'christoomey/vim-tmux-navigator'
-- Linting
Plug 'w0rp/ale'
-- Planning
Plug 'jceb/vim-orgmode'
-- Commands
Plug 'skywind3000/asyncrun.vim'
-- Syntax highlighting
Plug 'sheerun/vim-polyglot'
-- Languages
-------------------------
-- Python
-------------------------
-- Pyenv Support
if vim.fn.executable('pyenv') == 1 then
Plug 'lambdalisue/vim-pyenv'
end
1 year ago
-- Rust
Plug 'simrat39/rust-tools.nvim'
1 year ago
vim.call('plug#end')