Move to init.lua

:Pog:
master
Drake 3 years ago
parent 485be0f1d8
commit 0926401418
No known key found for this signature in database
GPG Key ID: 9B83455BD94F12A3

@ -0,0 +1,31 @@
local set = vim.opt
local Plug = vim.fn['plug#']
vim.call("plug#begin", "~/.vim/plugged")
Plug 'neovim/nvim-lspconfig'
Plug 'kyazdani42/nvim-web-devicons'
Plug 'hoob3rt/lualine.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'kyazdani42/nvim-tree.lua'
Plug 'lukas-reineke/indent-blankline.nvim'
Plug 'joshdick/onedark.vim'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/nvim-cmp'
Plug 'L3MON4D3/LuaSnip'
Plug 'saadparwaiz1/cmp_luasnip'
Plug 'akinsho/bufferline.nvim'
Plug 'numtostr/FTerm.nvim'
Plug 'andweeb/presence.nvim'
Plug 'tpope/vim-fugitive'
Plug 'SmiteshP/nvim-gps'
vim.call('plug#end')
set.termguicolors = true
set.mouse = 'a'
set.clipboard = 'unnamedplus'
set.pumheight =5
set.number = true
vim.cmd('colorscheme onedark') -- I would assume there would be a more lua-y way to do this... right?
require("plugins")
require("keybinds")

@ -1,15 +0,0 @@
-- Experimental vim-plug wrapper for use in `init.lua`s
local Plug = {
Begin = vim.fn['plug#begin']
_Plug = vim.fn['plug#']
End = vim.fn['plug#end']
include = function(repo, opts){
if(opts == {})
then
_Plug(repo)
else
_Plug(repo, opts)
end
}
}
Loading…
Cancel
Save