Use Packer instead of vim-plug

This commit is contained in:
Christian Nieves
2022-10-19 19:34:32 +00:00
parent 3c8c7d699b
commit b178f8c58f
106 changed files with 631 additions and 209 deletions

View File

@ -0,0 +1,466 @@
-- Automatically generated packer.nvim plugin loader code
if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
return
end
vim.api.nvim_command('packadd packer.nvim')
local no_errors, error_msg = pcall(function()
_G._packer = _G._packer or {}
_G._packer.inside_compile = true
local time
local profile_info
local should_profile = false
if should_profile then
local hrtime = vim.loop.hrtime
profile_info = {}
time = function(chunk, start)
if start then
profile_info[chunk] = hrtime()
else
profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6
end
end
else
time = function(chunk, start) end
end
local function save_profiles(threshold)
local sorted_times = {}
for chunk_name, time_taken in pairs(profile_info) do
sorted_times[#sorted_times + 1] = {chunk_name, time_taken}
end
table.sort(sorted_times, function(a, b) return a[2] > b[2] end)
local results = {}
for i, elem in ipairs(sorted_times) do
if not threshold or threshold and elem[2] > threshold then
results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'
end
end
if threshold then
table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)')
end
_G._packer.profile_output = results
end
time([[Luarocks path setup]], true)
local package_path_str = "/usr/local/google/home/cnieves/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/usr/local/google/home/cnieves/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/usr/local/google/home/cnieves/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/usr/local/google/home/cnieves/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/usr/local/google/home/cnieves/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str
end
if not string.find(package.cpath, install_cpath_pattern, 1, true) then
package.cpath = package.cpath .. ';' .. install_cpath_pattern
end
time([[Luarocks path setup]], false)
time([[try_loadstring definition]], true)
local function try_loadstring(s, component, name)
local success, result = pcall(loadstring(s), name, _G.packer_plugins[name])
if not success then
vim.schedule(function()
vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
end)
end
return result
end
time([[try_loadstring definition]], false)
time([[Defining packer_plugins]], true)
_G.packer_plugins = {
LuaSnip = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip"
},
MatchTagAlways = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/MatchTagAlways",
url = "https://github.com/Valloric/MatchTagAlways"
},
["asyncrun.vim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/asyncrun.vim",
url = "https://github.com/skywind3000/asyncrun.vim"
},
["auto-session"] = {
config = { "\27LJ\2\n<EFBFBD>\1\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\1K\0\1\0\31auto_session_suppress_dirs\1\4\0\0\a~/\16~/Downloads\6/\1\0\1\14log_level\nerror\nsetup\17auto-session\frequire\0" },
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/auto-session",
url = "https://github.com/rmagatti/auto-session"
},
catppuccin = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/catppuccin",
url = "https://github.com/catppuccin/nvim"
},
["cmp-buffer"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer"
},
["cmp-cmdline"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-cmdline",
url = "https://github.com/hrsh7th/cmp-cmdline"
},
["cmp-nvim-lsp"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp"
},
["cmp-nvim-lsp-document-symbol"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-document-symbol",
url = "https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol"
},
["cmp-nvim-lsp-signature-help"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-signature-help",
url = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help"
},
["cmp-nvim-lua"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
url = "https://github.com/hrsh7th/cmp-nvim-lua"
},
["cmp-path"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-path",
url = "https://github.com/hrsh7th/cmp-path"
},
["cmp-under-comparator"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-under-comparator",
url = "https://github.com/lukas-reineke/cmp-under-comparator"
},
["cmp-vsnip"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/cmp-vsnip",
url = "https://github.com/hrsh7th/cmp-vsnip"
},
cmp_luasnip = {
after_files = { "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/cmp_luasnip/after/plugin/cmp_luasnip.lua" },
load_after = {},
loaded = true,
needs_bufread = false,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip"
},
["fidget.nvim"] = {
config = { 'require("fidget").setup()' },
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/fidget.nvim",
url = "https://github.com/j-hui/fidget.nvim"
},
["fzf.vim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/fzf.vim",
url = "https://github.com/junegunn/fzf.vim"
},
["git-conflict.nvim"] = {
config = { "require('git-conflict').setup()" },
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/git-conflict.nvim",
url = "https://github.com/akinsho/git-conflict.nvim"
},
["gitsigns.nvim"] = {
config = { "require('config.gitsigns')" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/gitsigns.nvim",
url = "https://github.com/lewis6991/gitsigns.nvim"
},
["java-syntax.vim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/java-syntax.vim",
url = "https://github.com/squk/java-syntax.vim"
},
["kotlin-vim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/kotlin-vim",
url = "https://github.com/udalov/kotlin-vim"
},
["lsp_lines.nvim"] = {
config = { 'require("lsp_lines").setup()' },
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/lsp_lines.nvim",
url = "https://github.com/ErichDonGubler/lsp_lines.nvim"
},
["lspkind.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/lspkind.nvim",
url = "https://github.com/onsails/lspkind.nvim"
},
["lualine.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/lualine.nvim",
url = "https://github.com/nvim-lualine/lualine.nvim"
},
["mkdir.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/mkdir.nvim",
url = "https://github.com/jghauser/mkdir.nvim"
},
neogit = {
commands = { "Neogit" },
config = { "require('config.neogit')" },
loaded = false,
needs_bufread = true,
only_cond = false,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/neogit",
url = "https://github.com/TimUntersberger/neogit"
},
nerdcommenter = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nerdcommenter",
url = "https://github.com/scrooloose/nerdcommenter"
},
nerdtree = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nerdtree",
url = "https://github.com/preservim/nerdtree"
},
["nvim-cmp"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp"
},
["nvim-lightbulb"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-lightbulb",
url = "https://github.com/kosayoda/nvim-lightbulb"
},
["nvim-lspconfig"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig"
},
["nvim-notify"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-notify",
url = "https://github.com/rcarriga/nvim-notify"
},
["nvim-scrollbar"] = {
config = { 'require("scrollbar").setup()' },
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-scrollbar",
url = "https://github.com/petertriho/nvim-scrollbar"
},
["nvim-treesitter"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter"
},
["nvim-web-devicons"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
url = "https://github.com/kyazdani42/nvim-web-devicons"
},
["packer.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim"
},
["plenary.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
},
["registers.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/registers.nvim",
url = "https://github.com/tversteeg/registers.nvim"
},
["symbols-outline.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim",
url = "https://github.com/simrat39/symbols-outline.nvim"
},
["telescope-codesearch.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/telescope-codesearch.nvim",
url = "sso://googler@user/vintharas/telescope-codesearch.nvim"
},
["telescope.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim"
},
["trouble.nvim"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/trouble.nvim",
url = "https://github.com/folke/trouble.nvim"
},
undotree = {
commands = { "UndotreeToggle" },
config = { "vim.g.undotree_SetFocusWhenToggle = 1" },
loaded = false,
needs_bufread = false,
only_cond = false,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/undotree",
url = "https://github.com/mbbill/undotree"
},
["vim-better-whitespace"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-better-whitespace",
url = "https://github.com/ntpeters/vim-better-whitespace"
},
["vim-case-convert"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-case-convert",
url = "https://github.com/chiedo/vim-case-convert"
},
["vim-gitgutter"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-gitgutter",
url = "https://github.com/airblade/vim-gitgutter"
},
["vim-indent-guides"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-indent-guides",
url = "https://github.com/nathanaelkane/vim-indent-guides"
},
["vim-matchup"] = {
after_files = { "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/vim-matchup/after/plugin/matchit.vim" },
loaded = false,
needs_bufread = true,
only_cond = false,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/opt/vim-matchup",
url = "https://github.com/andymass/vim-matchup"
},
["vim-nerdtree-syntax-highlight"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-nerdtree-syntax-highlight",
url = "https://github.com/tiagofumo/vim-nerdtree-syntax-highlight"
},
["vim-obsession"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-obsession",
url = "https://github.com/tpope/vim-obsession"
},
["vim-quantum"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-quantum",
url = "https://github.com/squk/vim-quantum"
},
["vim-ripgrep"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-ripgrep",
url = "https://github.com/jremmen/vim-ripgrep"
},
["vim-signify"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-signify",
url = "https://github.com/mhinz/vim-signify"
},
["vim-surround"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-surround",
url = "https://github.com/tpope/vim-surround"
},
["vim-titlecase"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-titlecase",
url = "https://github.com/christoomey/vim-titlecase"
},
["vim-tmux"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-tmux",
url = "https://github.com/tmux-plugins/vim-tmux"
},
["vim-tmux-focus-events"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-tmux-focus-events",
url = "https://github.com/tmux-plugins/vim-tmux-focus-events"
},
["vim-tmux-navigator"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator",
url = "https://github.com/christoomey/vim-tmux-navigator"
},
["vim-tmux-syntax"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-tmux-syntax",
url = "https://github.com/whatyouhide/vim-tmux-syntax"
},
["vim-vsnip"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-vsnip",
url = "https://github.com/hrsh7th/vim-vsnip"
},
["vim-windowswap"] = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vim-windowswap",
url = "https://github.com/wesQ3/vim-windowswap"
},
vimux = {
loaded = true,
path = "/usr/local/google/home/cnieves/.local/share/nvim/site/pack/packer/start/vimux",
url = "https://github.com/preservim/vimux"
}
}
time([[Defining packer_plugins]], false)
-- Config for: nvim-scrollbar
time([[Config for nvim-scrollbar]], true)
require("scrollbar").setup()
time([[Config for nvim-scrollbar]], false)
-- Config for: lsp_lines.nvim
time([[Config for lsp_lines.nvim]], true)
require("lsp_lines").setup()
time([[Config for lsp_lines.nvim]], false)
-- Config for: fidget.nvim
time([[Config for fidget.nvim]], true)
require("fidget").setup()
time([[Config for fidget.nvim]], false)
-- Config for: auto-session
time([[Config for auto-session]], true)
try_loadstring("\27LJ\2\n<EFBFBD>\1\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\1K\0\1\0\31auto_session_suppress_dirs\1\4\0\0\a~/\16~/Downloads\6/\1\0\1\14log_level\nerror\nsetup\17auto-session\frequire\0", "config", "auto-session")
time([[Config for auto-session]], false)
-- Config for: git-conflict.nvim
time([[Config for git-conflict.nvim]], true)
require('git-conflict').setup()
time([[Config for git-conflict.nvim]], false)
-- Load plugins in order defined by `after`
time([[Sequenced loading]], true)
vim.cmd [[ packadd LuaSnip ]]
vim.cmd [[ packadd cmp_luasnip ]]
time([[Sequenced loading]], false)
-- Command lazy-loads
time([[Defining lazy-load commands]], true)
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file UndotreeToggle lua require("packer.load")({'undotree'}, { cmd = "UndotreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Neogit lua require("packer.load")({'neogit'}, { cmd = "Neogit", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
time([[Defining lazy-load commands]], false)
vim.cmd [[augroup packer_load_aucmds]]
vim.cmd [[au!]]
-- Event lazy-loads
time([[Defining lazy-load event autocommands]], true)
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'vim-matchup'}, { event = "VimEnter *" }, _G.packer_plugins)]]
vim.cmd [[au User ActuallyEditing ++once lua require("packer.load")({'gitsigns.nvim'}, { event = "User ActuallyEditing" }, _G.packer_plugins)]]
time([[Defining lazy-load event autocommands]], false)
vim.cmd("augroup END")
_G._packer.inside_compile = false
if _G._packer.needs_bufread == true then
vim.cmd("doautocmd BufRead")
end
_G._packer.needs_bufread = false
if should_profile then save_profiles() end
end)
if not no_errors then
error_msg = error_msg:gsub('"', '\\"')
vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
end

View File

@ -28,6 +28,20 @@ lspkind.init()
local cmp = require("cmp")
require'cmp'.setup.cmdline(':', {
sources = {
{ name = 'cmdline' }
}
})
cmp.setup.cmdline('/', {
sources = cmp.config.sources({
{ name = 'nvim_lsp_document_symbol' }
}, {
{ name = 'buffer' }
})
})
cmp.setup({
mapping = {
["<C-d>"] = cmp.mapping.scroll_docs(-4),
@ -82,6 +96,7 @@ cmp.setup({
{ name = "nvim_lsp" },
{ name = "path" },
{ name = "vim_vsnip" },
{ name = 'nvim_lsp_signature_help' },
{ name = 'nvim_ciderlsp', priority = 9 },
{ name = "buffer", keyword_length = 5 },
},
@ -230,7 +245,7 @@ local on_attach = function(client, bufnr)
end
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
capabilities = require('cmp_nvim_ciderlsp').update_capabilities(capabilities)
capabilities['codeLens'] = {dynamicRegistration=false}
-- capabilities.workspace.codeLens = {refreshSupport=true}

View File

@ -1,11 +1,155 @@
-- Require CiderLSP and Diagnostics modules
-- IMPORTANT: Must come after plugins are loaded
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
vim.o.runtimepath = vim.fn.stdpath('data') .. '/site/pack/*/start/*,' .. vim.o.runtimepath
end
local packerGroup = vim.api.nvim_create_augroup("packer_auto_compile", { clear = true })
vim.api.nvim_create_autocmd("BufWritePost", {
pattern = "*/vim/lua/plugins.lua",
command = "source <afile> | PackerCompile",
group = packerGroup,
})
require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
-- Undo tree
use {
'mbbill/undotree',
cmd = 'UndotreeToggle',
config = [[vim.g.undotree_SetFocusWhenToggle = 1]],
}
use 'nvim-lua/plenary.nvim'
-- Pretty symbols
use 'kyazdani42/nvim-web-devicons'
use({"L3MON4D3/LuaSnip", tag = "v<CurrentMajor>.*"})
-- Completion and linting
use 'neovim/nvim-lspconfig'
use {
'hrsh7th/nvim-cmp',
requires = {
'onsails/lspkind.nvim',
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-buffer',
'lukas-reineke/cmp-under-comparator',
'hrsh7th/cmp-cmdline',
'hrsh7th/cmp-nvim-lsp-document-symbol',
'hrsh7th/cmp-nvim-lsp-signature-help',
'hrsh7th/cmp-nvim-lua',
'hrsh7th/cmp-path',
'hrsh7th/cmp-vsnip',
{ 'saadparwaiz1/cmp_luasnip', after = {'LuaSnip'} },
},
-- config = [[require('lsp')]],
-- event = 'InsertEnter',
}
use 'folke/trouble.nvim'
use 'hrsh7th/vim-vsnip'
use 'kosayoda/nvim-lightbulb'
use {'andymass/vim-matchup', event = 'VimEnter'}
use { 'ErichDonGubler/lsp_lines.nvim', config = [[require("lsp_lines").setup()]] }
use 'jghauser/mkdir.nvim'
use 'simrat39/symbols-outline.nvim'
use { 'petertriho/nvim-scrollbar', config = [[require("scrollbar").setup()]] }
use {
'nvim-telescope/telescope.nvim' , branch = '0.1.x',
requires = { {'nvim-lua/plenary.nvim'} }
}
use {
'rmagatti/auto-session',
config = function()
require("auto-session").setup {
log_level = "error",
auto_session_suppress_dirs = { "~/", "~/Downloads", "/"},
}
end
}
use 'sso://googler@user/vintharas/telescope-codesearch.nvim'
use 'nvim-lualine/lualine.nvim'
use 'rcarriga/nvim-notify'
-- Git
use {
{
'lewis6991/gitsigns.nvim',
requires = 'nvim-lua/plenary.nvim',
config = [[require('config.gitsigns')]],
event = 'User ActuallyEditing',
},
{ 'TimUntersberger/neogit', cmd = 'Neogit', config = [[require('config.neogit')]] },
{
'akinsho/git-conflict.nvim',
tag = '*',
config = [[require('git-conflict').setup()]]
}
}
use { "catppuccin/nvim", as = "catppuccin"}
-- mine
use {
'squk/vim-quantum',
'squk/java-syntax.vim'
}
use 'ntpeters/vim-better-whitespace'
use 'junegunn/fzf.vim'
vim.opt.rtp:append(os.getenv("HOME") .. "/.fzf")
use 'nathanaelkane/vim-indent-guides'
use 'tversteeg/registers.nvim'
use 'airblade/vim-gitgutter'
use 'preservim/vimux'
use 'tmux-plugins/vim-tmux'
use 'christoomey/vim-tmux-navigator'
use 'whatyouhide/vim-tmux-syntax'
use 'skywind3000/asyncrun.vim'
use 'christoomey/vim-titlecase'
use 'chiedo/vim-case-convert'
use 'jremmen/vim-ripgrep'
use 'preservim/nerdtree'
use 'tiagofumo/vim-nerdtree-syntax-highlight'
use 'udalov/kotlin-vim'
use 'tmux-plugins/vim-tmux-focus-events'
use 'tpope/vim-obsession'
use 'Valloric/MatchTagAlways'
use 'wesQ3/vim-windowswap'
use 'tpope/vim-surround'
use 'scrooloose/nerdcommenter'
use 'mhinz/vim-signify'
use { 'j-hui/fidget.nvim', config = [[require("fidget").setup()]] }
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins
if packer_bootstrap then
require('packer').sync()
end
end)
-- CiderLSP
vim.opt.completeopt = { "menu", "menuone", "noselect" }
require 'lspconfig'
require('lspconfig')
require("lsp")
require("diagnostics")
require("treesitter")
@ -15,11 +159,7 @@ require("notify_config")
require("catppuccin-config")
require("symbols-outline-config")
require "fidget".setup{}
-- redundant w/ lsp_lines
vim.diagnostic.config({
virtual_text = false,
})
require("lsp_lines").setup()
require("scrollbar").setup()

Submodule vim/.vim/plugged/MatchTagAlways deleted from 352eb479a4

Submodule vim/.vim/plugged/asyncrun.vim deleted from eae766d218

Submodule vim/.vim/plugged/c-syntax.vim deleted from e0f36366b8

Submodule vim/.vim/plugged/catppuccin deleted from d5f8176232

Submodule vim/.vim/plugged/cloudformation-syntax.vim deleted from 20a5098e34

Submodule vim/.vim/plugged/cmp-buffer deleted from 3022dbc916

Submodule vim/.vim/plugged/cmp-nvim-lsp deleted from 3cf38d9c95

Submodule vim/.vim/plugged/cmp-nvim-lua deleted from d276254e71

Submodule vim/.vim/plugged/cmp-path deleted from 91ff86cd9c

Submodule vim/.vim/plugged/cmp-vsnip deleted from 1ae05c6c86

Submodule vim/.vim/plugged/ejs-syntax deleted from 0e704c523d

Submodule vim/.vim/plugged/emmet-vim deleted from def5d57a1a

Submodule vim/.vim/plugged/fidget.nvim deleted from 1097a86db8

Submodule vim/.vim/plugged/focuspoint-vim deleted from 72b6634d23

Submodule vim/.vim/plugged/gounit-vim deleted from 69ba1afa31

Submodule vim/.vim/plugged/gv.vim deleted from 1507838ee6

Submodule vim/.vim/plugged/java-syntax.vim deleted from 9a3d76a8c6

Submodule vim/.vim/plugged/kotlin-vim deleted from 1261f851e5

Submodule vim/.vim/plugged/linediff.vim deleted from c627858c6d

Submodule vim/.vim/plugged/lsp_lines.nvim deleted from 3b57922d2d

Submodule vim/.vim/plugged/lspkind.nvim deleted from c68b3a0034

Submodule vim/.vim/plugged/lualine.nvim deleted from edca2b03c7

Submodule vim/.vim/plugged/md-img-paste.vim deleted from 01d747cdde

Submodule vim/.vim/plugged/mkdir.nvim deleted from c55d1dee4f

Submodule vim/.vim/plugged/nerdcommenter deleted from fe74a1b890

Submodule vim/.vim/plugged/nerdtree deleted from fc85a6f07c

Submodule vim/.vim/plugged/nofrils deleted from bad6e49084

Submodule vim/.vim/plugged/nord-vim deleted from 0748955e9e

Submodule vim/.vim/plugged/nvim-cmp deleted from e94d348931

Submodule vim/.vim/plugged/nvim-gdb deleted from 4408d2c106

Submodule vim/.vim/plugged/nvim-lightbulb deleted from 56b9ce31ec

Submodule vim/.vim/plugged/nvim-lspconfig deleted from 2dd9e060f2

Submodule vim/.vim/plugged/nvim-notify deleted from 5e8d494297

Submodule vim/.vim/plugged/nvim-scrollbar deleted from ce0df6954a

Submodule vim/.vim/plugged/nvim-treesitter deleted from 9279bfea5e

Submodule vim/.vim/plugged/nvim-web-devicons deleted from 9061e2d355

Submodule vim/.vim/plugged/omnisharp-vim deleted from 7e88f137ad

Submodule vim/.vim/plugged/onedark.vim deleted from b6b5ffe31a

Submodule vim/.vim/plugged/onehalf deleted from 75eb2e97ac

Submodule vim/.vim/plugged/papercolor-theme deleted from 9051480ad9

Submodule vim/.vim/plugged/php.vim deleted from 930aec5c70

Submodule vim/.vim/plugged/plenary.nvim deleted from 4b7e52044b

Submodule vim/.vim/plugged/purify deleted from 70011ccc32

Submodule vim/.vim/plugged/registers.nvim deleted from a87a7c57dc

Submodule vim/.vim/plugged/shades-of-teal deleted from 5bf84996df

Submodule vim/.vim/plugged/symbols-outline.nvim deleted from 6a3ed24c56

Submodule vim/.vim/plugged/telescope-codesearch.nvim deleted from 9455a5f2a9

Submodule vim/.vim/plugged/telescope.nvim deleted from f174a0367b

Submodule vim/.vim/plugged/tender.vim deleted from 7746453a04

Submodule vim/.vim/plugged/trouble.nvim deleted from ed65f84abc

Submodule vim/.vim/plugged/undotree deleted from bd60cb564e

Submodule vim/.vim/plugged/vim-airline-themes deleted from cc5d3490c8

Submodule vim/.vim/plugged/vim-android deleted from 8911f86284

Submodule vim/.vim/plugged/vim-ansible-yaml deleted from a6f92d17ff

Submodule vim/.vim/plugged/vim-atom-dark deleted from 44feadcbeb

Submodule vim/.vim/plugged/vim-autoflake deleted from 5d0a5b437a

Submodule vim/.vim/plugged/vim-better-whitespace deleted from 1b22dc57a2

Submodule vim/.vim/plugged/vim-case-convert deleted from 0a75eb4cf7

Submodule vim/.vim/plugged/vim-colors-solarized deleted from 528a59f26d

Submodule vim/.vim/plugged/vim-colorscheme-primary deleted from cd6d5422a3

Submodule vim/.vim/plugged/vim-cpp-enhanced-highlight deleted from 4b7314a497

Submodule vim/.vim/plugged/vim-easy-align deleted from 12dd631697

Submodule vim/.vim/plugged/vim-easymotion deleted from b3cfab2a63

Submodule vim/.vim/plugged/vim-exchange deleted from 784d63083a

Submodule vim/.vim/plugged/vim-fugitive deleted from dd8107cabf

Submodule vim/.vim/plugged/vim-git deleted from 5143bea9ed

Submodule vim/.vim/plugged/vim-gitgutter deleted from f19b620319

Submodule vim/.vim/plugged/vim-go deleted from 22b2273cfe

Submodule vim/.vim/plugged/vim-graphql deleted from 4bf5d33bda

Submodule vim/.vim/plugged/vim-helm deleted from c2e7b85711

Submodule vim/.vim/plugged/vim-hybrid-material deleted from ad031275c6

Submodule vim/.vim/plugged/vim-indent-guides deleted from 765084d38b

Submodule vim/.vim/plugged/vim-javascript deleted from c470ce1399

Submodule vim/.vim/plugged/vim-json deleted from 3727f08941

Submodule vim/.vim/plugged/vim-markdown deleted from c3f83ebb43

Submodule vim/.vim/plugged/vim-material-theme deleted from c28195998d

Submodule vim/.vim/plugged/vim-monochrome deleted from c4f18812bb

Submodule vim/.vim/plugged/vim-monokai-tasty deleted from 13a0d38fea

Submodule vim/.vim/plugged/vim-nerdtree-syntax-highlight deleted from 5178ee4d7f

Submodule vim/.vim/plugged/vim-nuuid deleted from 6abc11a794

Submodule vim/.vim/plugged/vim-obsession deleted from 7d39576149

Submodule vim/.vim/plugged/vim-quantum deleted from 1b09222510

Submodule vim/.vim/plugged/vim-scratchpad deleted from d1f7875608

Submodule vim/.vim/plugged/vim-stylus deleted from 0514757a47

Submodule vim/.vim/plugged/vim-surround deleted from bf3480dc9a

Submodule vim/.vim/plugged/vim-syntax-extra deleted from 5906eeab33

Submodule vim/.vim/plugged/vim-table-mode deleted from f47287df37

Submodule vim/.vim/plugged/vim-titlecase deleted from 69a697c54a

Submodule vim/.vim/plugged/vim-tmux deleted from cfe76281ef

Submodule vim/.vim/plugged/vim-tmux-focus-events deleted from b1330e04ff

Submodule vim/.vim/plugged/vim-tmux-navigator deleted from bd4c38be5b

Submodule vim/.vim/plugged/vim-tmux-syntax deleted from 1b6a6a5beb

Submodule vim/.vim/plugged/vim-uncrustify deleted from 9cce24fd70

Submodule vim/.vim/plugged/vim-velocity deleted from a494e9ebbb

Submodule vim/.vim/plugged/vim-vsnip deleted from 7de8a71e5d

Submodule vim/.vim/plugged/vim-windowswap deleted from 15db3f697a

Submodule vim/.vim/plugged/vim-yaml deleted from dce19542d5

Some files were not shown because too many files have changed in this diff Show More