vim-plug
vim-plug copied to clipboard
Vim-plug in lua, not in vimscript
trafficstars
- Type:
- [ ] Bug
- [ ] Enhancement
- [x] Feature Request
- [ ] Question
- OS:
- [ ] All/Other
- [ ] Linux
- [ ] macOS
- [ ] Windows
- Vim:
- [ ] Terminal Vim
- [ ] GVim
- [x] Neovim
Hey i have suggestions about vim-plug in lua like packer. Maybe it will be good and modernized because so many neovim user prefer lua than vimscript.
Here my vim-plug in lua :
--To install plugin use `:PlugInstall`
local Plug = vim.fn['plug#']
vim.call('plug#begin', '~/.config/nvim/plugged')
Plug 'neovim/nvim-lspconfig'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-path'
Plug 'hrsh7th/cmp-cmdline'
Plug 'hrsh7th/nvim-cmp'
Plug 'L3MON4D3/LuaSnip'
Plug 'saadparwaiz1/cmp_luasnip'
Plug 'rafamadriz/friendly-snippets'
Plug 'onsails/lspkind-nvim'
Plug 'numToStr/Comment.nvim'
Plug 'jiangmiao/auto-pairs'
Plug 'lukas-reineke/indent-blankline.nvim'
Plug('akinsho/bufferline.nvim', { tag = 'v3.*' })
Plug 'kyazdani42/nvim-web-devicons'
Plug 'kyazdani42/nvim-tree.lua'
Plug 'nvim-lualine/lualine.nvim'
Plug('folke/tokyonight.nvim', { branch = 'main' })
Plug('nvim-treesitter/nvim-treesitter', {['do']= ':TSUpdate'})
vim.call('plug#end')
--Colorscheme
vim.cmd[[
syntax enable
colorscheme tokyonight-night
]]
--require
require('plug-setup')
require('key')
This plugin is supposed for both vim and nvim. Someone can port it to something like plug.nvim using lua.
@randomizedthinking oh mate, you just make remember when i first time using neovim with this plugins