avoid using default plugin names for plugin configs
This commit is contained in:
parent
aff50c8c15
commit
cb64b0ef44
10
init.lua
10
init.lua
@ -1,19 +1,19 @@
|
|||||||
-- load all plugins
|
-- load all plugins
|
||||||
require("pluginsList.lua")
|
require("pluginsList.lua")
|
||||||
require("web-devicons.lua")
|
require("file-icons.lua")
|
||||||
|
|
||||||
require("utils.lua")
|
require("misc-utils.lua")
|
||||||
require("nvimTree.lua")
|
require("nvimTree.lua")
|
||||||
require("bufferline.lua")
|
require("bufferline.lua")
|
||||||
require("statusline.lua")
|
require("statusline.lua")
|
||||||
require("telescope-nvim.lua")
|
require("telescope.lua")
|
||||||
|
|
||||||
require("gitsigns.lua")
|
require("gitsigns.lua")
|
||||||
require "colorizer".setup()
|
require "colorizer".setup()
|
||||||
|
|
||||||
-- lsp
|
-- lsp
|
||||||
require("nvim-lspconfig.lua")
|
require("lspconfig.lua")
|
||||||
require("nvim-compe.lua")
|
require("compe.lua")
|
||||||
|
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-- check if packer is installed (~/local/share/nvim/site/pack)
|
-- check if packer is installed (~/local/share/nvim/site/pack)
|
||||||
local packer_exists = pcall(vim.cmd, [[packadd packer.nvim]])
|
local packer_exists = pcall(vim.cmd, [[packadd packer.nvim]])
|
||||||
|
|
||||||
-- add { } , when the plugin needs a different branch, loading the plugin with certain commands
|
-- using { } when using a different branch of the plugin or loading the plugin with certain commands
|
||||||
return require("packer").startup(
|
return require("packer").startup(
|
||||||
function()
|
function()
|
||||||
use {"wbthomason/packer.nvim", opt = true}
|
use {"wbthomason/packer.nvim", opt = true}
|
||||||
|
Loading…
Reference in New Issue
Block a user