@@ -1,3 +1,7 @@
+if not package.loaded['lspconfig'] then
+ return
+end
+
local nvim_lsp = require'lspconfig'
local configs = require'lspconfig/configs'
local capabilities = vim.lsp.protocol.make_client_capabilities()
+if not package.loaded['nvim-autopairs'] then
local npairs = require('nvim-autopairs')
local Rule = require('nvim-autopairs.rule')
+if not package.loaded['compe'] then
local M = {}
M.config = function()
+if not package.loaded['galaxyline'] then
local gl = require('galaxyline')
-- get my theme in galaxyline repo
-- local colors = require('galaxyline.theme').default
+if not package.loaded['nvim-tree.view'] then
+if not package.loaded['nvim-treesitter'] then
require'nvim-treesitter.configs'.setup {
ensure_installed = O.treesitter.ensure_installed, -- one of "all", "maintained" (parsers with maintainers), or a list of languages
ignore_install = O.treesitter.ignore_install,
+if not package.loaded['which-key'] then
require("which-key").setup {
plugins = {
marks = true, -- shows a list of your marks on ' and `