refactor(nvim): restructure lua configuration

This commit is contained in:
Oliver Davies 2021-11-06 09:28:29 +00:00
parent 603316ab2e
commit 7b756e570a
25 changed files with 597 additions and 351 deletions

View file

@ -71,151 +71,231 @@ time([[Defining packer_plugins]], true)
_G.packer_plugins = {
LuaSnip = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/LuaSnip"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip"
},
["cmp-buffer"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-buffer"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer"
},
["cmp-nvim-lsp"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp"
},
["cmp-path"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-path"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-path",
url = "https://github.com/hrsh7th/cmp-path"
},
["cmp-tabnine"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-tabnine"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp-tabnine",
url = "https://github.com/tzachar/cmp-tabnine"
},
cmp_luasnip = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp_luasnip"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip"
},
["colorbuddy.vim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/colorbuddy.vim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/colorbuddy.vim",
url = "https://github.com/tjdevries/colorbuddy.vim"
},
["editorconfig-vim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/editorconfig-vim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/editorconfig-vim",
url = "https://github.com/editorconfig/editorconfig-vim"
},
["gitsigns.nvim"] = {
config = { "\27LJ\2\2F\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\30opdavies.plugins.gitsigns\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/gitsigns.nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
url = "https://github.com/lewis6991/gitsigns.nvim"
},
["gruvbuddy.nvim"] = {
config = { "\27LJ\2\2E\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\29opdavies.plugins.colours\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/gruvbuddy.nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/gruvbuddy.nvim",
url = "https://github.com/tjdevries/gruvbuddy.nvim"
},
harpoon = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/harpoon"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/harpoon",
url = "https://github.com/ThePrimeagen/harpoon"
},
["indent-blankline.nvim"] = {
config = { "\27LJ\2\2N\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit&opdavies.plugins.indent-blankline\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim"
},
["jellybeans.vim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/jellybeans.vim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim",
url = "https://github.com/lukas-reineke/indent-blankline.nvim"
},
["lspkind-nvim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/lspkind-nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/lspkind-nvim",
url = "https://github.com/onsails/lspkind-nvim"
},
nerdcommenter = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nerdcommenter"
},
["nord-vim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nord-vim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nerdcommenter",
url = "https://github.com/preservim/nerdcommenter"
},
["nvim-cmp"] = {
config = {},
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-cmp"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp"
},
["nvim-colorizer.lua"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua",
url = "https://github.com/norcalli/nvim-colorizer.lua"
},
["nvim-lspconfig"] = {
config = { "\27LJ\2\2G\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\31opdavies.plugins.lspconfig\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig"
},
["nvim-treesitter"] = {
config = { "\27LJ\2\2H\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit opdavies.plugins.treesitter\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-treesitter"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter"
},
["nvim-ts-context-commentstring"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring",
url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring"
},
["packer.nvim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim"
},
["plenary.nvim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/plenary.nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
},
["popup.nvim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/popup.nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/popup.nvim",
url = "https://github.com/nvim-lua/popup.nvim"
},
["scss-syntax.vim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/scss-syntax.vim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/scss-syntax.vim",
url = "https://github.com/cakebaker/scss-syntax.vim"
},
["seiya.vim"] = {
config = { "\27LJ\2\2C\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\27opdavies.plugins.seiya\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/seiya.vim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/seiya.vim",
url = "https://github.com/miyakogi/seiya.vim"
},
["telescope-fzf-native.nvim"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim",
url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim"
},
["telescope.nvim"] = {
config = { "\27LJ\2\2G\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\31opdavies.plugins.telescope\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/telescope.nvim"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim"
},
["vim-case-change"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-case-change"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-case-change",
url = "https://github.com/icatalina/vim-case-change"
},
["vim-floaterm"] = {
config = { "\27LJ\2\2F\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\30opdavies.plugins.floaterm\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-floaterm"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-floaterm",
url = "https://github.com/voldikss/vim-floaterm"
},
["vim-highlightedyank"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-highlightedyank"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-highlightedyank",
url = "https://github.com/machakann/vim-highlightedyank"
},
["vim-polyglot"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-polyglot"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-polyglot",
url = "https://github.com/sheerun/vim-polyglot"
},
["vim-sort-motion"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-sort-motion"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-sort-motion",
url = "https://github.com/christoomey/vim-sort-motion"
},
["vim-surround"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-surround"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-surround",
url = "https://github.com/tpope/vim-surround"
},
["vim-test"] = {
config = { "\27LJ\2\2F\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\30opdavies.plugins.vim-test\frequire\0" },
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-test"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-test",
url = "https://github.com/vim-test/vim-test"
},
["vim-tmux-navigator"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator",
url = "https://github.com/christoomey/vim-tmux-navigator"
},
["vim-visual-multi"] = {
loaded = true,
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-visual-multi"
path = "/home/opdavies/.local/share/nvim/site/pack/packer/start/vim-visual-multi",
url = "https://github.com/mg979/vim-visual-multi"
}
}
time([[Defining packer_plugins]], false)
-- Config for: telescope.nvim
time([[Config for telescope.nvim]], true)
try_loadstring("\27LJ\2\2G\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\31opdavies.plugins.telescope\frequire\0", "config", "telescope.nvim")
time([[Config for telescope.nvim]], false)
-- Config for: vim-floaterm
time([[Config for vim-floaterm]], true)
try_loadstring("\27LJ\2\2F\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\30opdavies.plugins.floaterm\frequire\0", "config", "vim-floaterm")
time([[Config for vim-floaterm]], false)
-- Config for: indent-blankline.nvim
time([[Config for indent-blankline.nvim]], true)
try_loadstring("\27LJ\2\2N\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit&opdavies.plugins.indent-blankline\frequire\0", "config", "indent-blankline.nvim")
time([[Config for indent-blankline.nvim]], false)
-- Config for: nvim-treesitter
time([[Config for nvim-treesitter]], true)
try_loadstring("\27LJ\2\2H\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit opdavies.plugins.treesitter\frequire\0", "config", "nvim-treesitter")
time([[Config for nvim-treesitter]], false)
-- Config for: gruvbuddy.nvim
time([[Config for gruvbuddy.nvim]], true)
try_loadstring("\27LJ\2\2E\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\29opdavies.plugins.colours\frequire\0", "config", "gruvbuddy.nvim")
time([[Config for gruvbuddy.nvim]], false)
-- Config for: nvim-cmp
time([[Config for nvim-cmp]], true)
time([[Config for nvim-cmp]], false)
-- Config for: gitsigns.nvim
time([[Config for gitsigns.nvim]], true)
try_loadstring("\27LJ\2\2F\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\30opdavies.plugins.gitsigns\frequire\0", "config", "gitsigns.nvim")
time([[Config for gitsigns.nvim]], false)
-- Config for: seiya.vim
time([[Config for seiya.vim]], true)
try_loadstring("\27LJ\2\2C\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\27opdavies.plugins.seiya\frequire\0", "config", "seiya.vim")
time([[Config for seiya.vim]], false)
-- Config for: vim-test
time([[Config for vim-test]], true)
try_loadstring("\27LJ\2\2F\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\30opdavies.plugins.vim-test\frequire\0", "config", "vim-test")
time([[Config for vim-test]], false)
-- Config for: nvim-lspconfig
time([[Config for nvim-lspconfig]], true)
try_loadstring("\27LJ\2\2G\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\tinit\31opdavies.plugins.lspconfig\frequire\0", "config", "nvim-lspconfig")
time([[Config for nvim-lspconfig]], false)
if should_profile then save_profiles() end
end)