remove unneeded packadds
This commit is contained in:
parent
92312377df
commit
852a7f6b1e
|
@ -1,6 +1,3 @@
|
||||||
vim.cmd [[packadd nvim-lspconfig]]
|
|
||||||
vim.cmd [[packadd nvim-compe]]
|
|
||||||
|
|
||||||
vim.o.completeopt = "menuone,noselect"
|
vim.o.completeopt = "menuone,noselect"
|
||||||
|
|
||||||
require "compe".setup {
|
require "compe".setup {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
vim.cmd [[packadd nvim-web-devicons]]
|
|
||||||
|
|
||||||
require "nvim-web-devicons".setup {
|
require "nvim-web-devicons".setup {
|
||||||
override = {
|
override = {
|
||||||
html = {
|
html = {
|
||||||
|
@ -106,11 +104,6 @@ require "nvim-web-devicons".setup {
|
||||||
icon = "",
|
icon = "",
|
||||||
color = "#fca2aa",
|
color = "#fca2aa",
|
||||||
name = "rpm"
|
name = "rpm"
|
||||||
},
|
|
||||||
vala = {
|
|
||||||
icon = "",
|
|
||||||
color = "#ccaced",
|
|
||||||
name = "vala"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
vim.cmd [[packadd nvim-lspconfig]]
|
|
||||||
vim.cmd [[packadd nvim-compe]]
|
|
||||||
|
|
||||||
function on_attach(client)
|
function on_attach(client)
|
||||||
local function map(...)
|
local function map(...)
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, ...)
|
vim.api.nvim_buf_set_keymap(bufnr, ...)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
|
|
||||||
cmd [[packadd nvim-tree.lua]]
|
|
||||||
|
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
|
|
||||||
g.nvim_tree_side = "left"
|
g.nvim_tree_side = "left"
|
||||||
|
|
|
@ -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 packer = require("packer")
|
||||||
local use = packer.use
|
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(
|
return require("packer").startup(
|
||||||
function()
|
function()
|
||||||
use {"wbthomason/packer.nvim", opt = true}
|
use "wbthomason/packer.nvim"
|
||||||
use {"lukas-reineke/indent-blankline.nvim", branch = "lua"}
|
|
||||||
|
|
||||||
-- color related stuff
|
-- color related stuff
|
||||||
use "norcalli/nvim-base16.lua"
|
use "norcalli/nvim-base16.lua"
|
||||||
|
@ -42,5 +38,6 @@ return require("packer").startup(
|
||||||
use "karb94/neoscroll.nvim"
|
use "karb94/neoscroll.nvim"
|
||||||
use "kdav5758/TrueZen.nvim"
|
use "kdav5758/TrueZen.nvim"
|
||||||
|
|
||||||
|
use {"lukas-reineke/indent-blankline.nvim", branch = "lua"}
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue