remove unneeded packadds

This commit is contained in:
siduck76 2021-04-30 12:58:47 +05:30
parent 92312377df
commit 852a7f6b1e
5 changed files with 3 additions and 21 deletions

View File

@ -1,6 +1,3 @@
vim.cmd [[packadd nvim-lspconfig]]
vim.cmd [[packadd nvim-compe]]
vim.o.completeopt = "menuone,noselect"
require "compe".setup {

View File

@ -1,5 +1,3 @@
vim.cmd [[packadd nvim-web-devicons]]
require "nvim-web-devicons".setup {
override = {
html = {
@ -106,11 +104,6 @@ require "nvim-web-devicons".setup {
icon = "",
color = "#fca2aa",
name = "rpm"
},
vala = {
icon = "",
color = "#ccaced",
name = "vala"
}
}
}

View File

@ -1,6 +1,3 @@
vim.cmd [[packadd nvim-lspconfig]]
vim.cmd [[packadd nvim-compe]]
function on_attach(client)
local function map(...)
vim.api.nvim_buf_set_keymap(bufnr, ...)

View File

@ -1,8 +1,6 @@
local cmd = vim.cmd
local g = vim.g
cmd [[packadd nvim-tree.lua]]
vim.o.termguicolors = true
g.nvim_tree_side = "left"

View File

@ -1,14 +1,10 @@
-- check if packer is installed (~/local/share/nvim/site/pack)
local packer_exists = pcall(vim.cmd, [[packadd packer.nvim]])
local packer = require("packer")
local use = packer.use
-- using { } when using a different branch of the plugin or loading the plugin with certain commands
-- using { } for using different branch , loading plugin with certain commands etc
return require("packer").startup(
function()
use {"wbthomason/packer.nvim", opt = true}
use {"lukas-reineke/indent-blankline.nvim", branch = "lua"}
use "wbthomason/packer.nvim"
-- color related stuff
use "norcalli/nvim-base16.lua"
@ -42,5 +38,6 @@ return require("packer").startup(
use "karb94/neoscroll.nvim"
use "kdav5758/TrueZen.nvim"
use {"lukas-reineke/indent-blankline.nvim", branch = "lua"}
end
)