Closed DinkyTrady closed 6 months ago
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
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 :