Removed user settings, translated to in-builts
This commit is contained in:
parent
a5db5d09df
commit
384f60d1f2
1
init.lua
1
init.lua
@ -3,4 +3,3 @@ require("settings")
|
|||||||
require("plugins")
|
require("plugins")
|
||||||
require("maps")
|
require("maps")
|
||||||
require("theme")
|
require("theme")
|
||||||
require("user_settings")
|
|
||||||
|
29
install.bash
Normal file
29
install.bash
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
NVIM_CONF_GIT="https://gitlab.orion-technologies.io/backups/neovim-backup.git"
|
||||||
|
required_packages=(universal-ctags fzf ripgrep neovim)
|
||||||
|
|
||||||
|
# Handle Installation Per OS
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
if ! which brew; then
|
||||||
|
echo "Installing brew, why the fuck aren't you using it...?"
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
fi
|
||||||
|
for package in "${required_packages[@]}"; do
|
||||||
|
echo "Installing ${package}"
|
||||||
|
brew install "${package}"
|
||||||
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Installing packer.nvim"
|
||||||
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
||||||
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||||
|
|
||||||
|
if [[ ! -d "${HOME}/.config" ]]; then
|
||||||
|
echo "The .config directory does not exist, creating now"
|
||||||
|
mkdir "${HOME}/.config"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Installing neovim configuration from ${NVIM_CONF_GIT}"
|
||||||
|
git clone "${NVIM_CONF_GIT}" ~/.config/nvim
|
||||||
|
|
||||||
|
echo "Finished..., run the following to finish installation:"
|
@ -1,5 +1,11 @@
|
|||||||
local use = require("packer").use
|
local use = require("packer").use
|
||||||
local user_settings_file = require("../user_settings")
|
|
||||||
|
-- Packer Bootstrap per: https://github.com/wbthomason/packer.nvim#bootstrapping
|
||||||
|
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})
|
||||||
|
end
|
||||||
|
|
||||||
return require("packer").startup({function()
|
return require("packer").startup({function()
|
||||||
use { "wbthomason/packer.nvim" }
|
use { "wbthomason/packer.nvim" }
|
||||||
@ -406,27 +412,41 @@ return require("packer").startup({function()
|
|||||||
use {
|
use {
|
||||||
"iamcco/markdown-preview.nvim",
|
"iamcco/markdown-preview.nvim",
|
||||||
run = "cd app && npm install",
|
run = "cd app && npm install",
|
||||||
setup = function() vim.g.mkdp_filetypes = { "markdown" } end,
|
setup = function()
|
||||||
|
vim.g.mkdp_filetypes = { "markdown" }
|
||||||
|
vim.g.mkdp_browser = "firefox"
|
||||||
|
end,
|
||||||
ft = { "markdown" },
|
ft = { "markdown" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"pearofducks/ansible-vim",
|
"ms-jpq/coq_nvim",
|
||||||
|
config = function()
|
||||||
|
require("plugins/coq")
|
||||||
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
for key, plugin in pairs(additional_plugins) do
|
use {
|
||||||
if type(plugin) == "string" then
|
"ms-jpq/coq.artifacts"
|
||||||
use { plugin }
|
}
|
||||||
else
|
|
||||||
use { unpack(plugin) }
|
use {
|
||||||
select = ""
|
"ms-jpq/coq.thirdparty"
|
||||||
end
|
}
|
||||||
|
|
||||||
|
|
||||||
|
-- Bootstrap packer if not installed, sync packages
|
||||||
|
if packer_bootstrap then
|
||||||
|
require('packer').sync()
|
||||||
end
|
end
|
||||||
|
|
||||||
end,
|
end,
|
||||||
config = {
|
config = {
|
||||||
display = {
|
display = {
|
||||||
open_fn = function()
|
open_fn = function()
|
||||||
return require("packer.util").float({ border = "single" })
|
return require("packer.util").float({ border = "single" })
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
}})
|
}}
|
||||||
|
)
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
local present, cmp = pcall(require, "cmp")
|
|
||||||
if not present then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
local lspkind = require("lspkind")
|
|
||||||
|
|
||||||
cmp.setup {
|
|
||||||
snippet = {
|
|
||||||
expand = function(args)
|
|
||||||
require("luasnip").lsp_expand(args.body)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
formatting = {
|
|
||||||
format = lspkind.cmp_format({ with_text = false, maxwidth = 50 })
|
|
||||||
},
|
|
||||||
mapping = {
|
|
||||||
["<C-d>"] = cmp.mapping.scroll_docs(-4),
|
|
||||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
|
||||||
["<C-Space>"] = cmp.mapping.complete(),
|
|
||||||
["<C-e>"] = cmp.mapping.close(),
|
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
|
||||||
["<Tab>"] = function(fallback)
|
|
||||||
if cmp.visible() then
|
|
||||||
cmp.select_next_item()
|
|
||||||
elseif require("luasnip").expand_or_jumpable() then
|
|
||||||
vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<Plug>luasnip-expand-or-jump", true, true, true), "")
|
|
||||||
else
|
|
||||||
fallback()
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
["<S-Tab>"] = function(fallback)
|
|
||||||
if cmp.visible() then
|
|
||||||
cmp.select_prev_item()
|
|
||||||
elseif require("luasnip").jumpable(-1) then
|
|
||||||
vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<Plug>luasnip-jump-prev", true, true, true), "")
|
|
||||||
else
|
|
||||||
fallback()
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
sources = {
|
|
||||||
{ name = "luasnip" },
|
|
||||||
{ name = "buffer" },
|
|
||||||
{ name = "path" },
|
|
||||||
{ name = "nvim_lsp" },
|
|
||||||
{ name = "nvim_lua" }
|
|
||||||
},
|
|
||||||
}
|
|
7
lua/plugins/coq.lua
Normal file
7
lua/plugins/coq.lua
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-- Alias for vim.g
|
||||||
|
local g = vim.g
|
||||||
|
|
||||||
|
-- Run COQ on open
|
||||||
|
g.coq_settings = {
|
||||||
|
auto_start = "shut-up"
|
||||||
|
}
|
@ -1,6 +1,9 @@
|
|||||||
-- Defining alias for vim.opt.
|
-- Defining alias for vim.opt.
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
|
|
||||||
|
-- Alias for vim.g
|
||||||
|
local g = vim.g
|
||||||
|
|
||||||
-- Number settings.
|
-- Number settings.
|
||||||
opt.number = true
|
opt.number = true
|
||||||
opt.numberwidth = 2
|
opt.numberwidth = 2
|
||||||
@ -67,6 +70,12 @@ opt.timeoutlen = 1000
|
|||||||
-- Setting up autocomplete menu.
|
-- Setting up autocomplete menu.
|
||||||
opt.completeopt = "menuone,noselect"
|
opt.completeopt = "menuone,noselect"
|
||||||
|
|
||||||
|
-- Enable persistent undo
|
||||||
|
vim.opt.undofile = true
|
||||||
|
|
||||||
|
-- Set tokynonight transparency variable
|
||||||
|
vim.g.tokyonight_transparent = true
|
||||||
|
|
||||||
-- Add cursorline and diasable it in terminal
|
-- Add cursorline and diasable it in terminal
|
||||||
vim.cmd("autocmd WinEnter,BufEnter * if &ft is \"toggleterm\" | set nocursorline | else | set cursorline | endif")
|
vim.cmd("autocmd WinEnter,BufEnter * if &ft is \"toggleterm\" | set nocursorline | else | set cursorline | endif")
|
||||||
|
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
-- Function for make mapping easier.
|
|
||||||
local function map(mode, lhs, rhs, opts)
|
|
||||||
local options = {noremap = true}
|
|
||||||
if opts then options = vim.tbl_extend("force", options, opts) end
|
|
||||||
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
|
||||||
end
|
|
||||||
|
|
||||||
additional_plugins = {
|
|
||||||
{ "pineapplegiant/spaceduck", branch = "main" },
|
|
||||||
{ "ms-jpq/coq_nvim" },
|
|
||||||
{ "ms-jpq/coq.artifacts" },
|
|
||||||
{ "ms-jpq/coq.thirdparty" },
|
|
||||||
-- You can put your additional plugins here.
|
|
||||||
-- Syntax is like normal packer.nvim Syntax. Examples:
|
|
||||||
|
|
||||||
-- { "famiu/feline.nvim", branch = "develop" },
|
|
||||||
|
|
||||||
-- "mhartington/formatter.nvim",
|
|
||||||
|
|
||||||
-- { crispgm/nvim-go", ft = "go" },
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-- Other settings here
|
|
||||||
-- For examples for disabling line number:
|
|
||||||
-- vim.opt.number = false
|
|
||||||
-- vim.opt.relativenumber = false
|
|
||||||
|
|
||||||
|
|
||||||
-- Or for changing terminal toggle mapping:
|
|
||||||
-- first argument is mode of mapping. second argument is keymap.
|
|
||||||
-- third argument is command. and last argument is optional argument like {expr = true}.
|
|
||||||
-- map("n", "<C-t>", ":ToggleTerm<CR>")
|
|
||||||
-- map("t", "<C-t>", ":ToggleTerm<CR>")
|
|
||||||
|
|
||||||
-- Set theme to be transparent
|
|
||||||
vim.g.tokyonight_transparent = true
|
|
||||||
|
|
||||||
-- Enable persistent undo
|
|
||||||
vim.opt.undofile = true
|
|
||||||
|
|
||||||
-- Run COQ on open
|
|
||||||
vim.g.coq_settings = {
|
|
||||||
auto_start = "shut-up"
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Markdown preview shit
|
|
||||||
vim.g.mkdp_browser = "safari"
|
|
@ -78,11 +78,6 @@ _G.packer_plugins = {
|
|||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/opt/DAPInstall.nvim",
|
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/opt/DAPInstall.nvim",
|
||||||
url = "https://github.com/Pocco81/DAPInstall.nvim"
|
url = "https://github.com/Pocco81/DAPInstall.nvim"
|
||||||
},
|
},
|
||||||
["ansible-vim"] = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/ansible-vim",
|
|
||||||
url = "https://github.com/pearofducks/ansible-vim"
|
|
||||||
},
|
|
||||||
["coq.artifacts"] = {
|
["coq.artifacts"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/coq.artifacts",
|
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/coq.artifacts",
|
||||||
@ -94,9 +89,9 @@ _G.packer_plugins = {
|
|||||||
url = "https://github.com/ms-jpq/coq.thirdparty"
|
url = "https://github.com/ms-jpq/coq.thirdparty"
|
||||||
},
|
},
|
||||||
coq_nvim = {
|
coq_nvim = {
|
||||||
|
after = { "nvim-autopairs" },
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/coq_nvim",
|
only_config = true
|
||||||
url = "https://github.com/ms-jpq/coq_nvim"
|
|
||||||
},
|
},
|
||||||
["dashboard-nvim"] = {
|
["dashboard-nvim"] = {
|
||||||
commands = { "Dashboard", "DashboardChangeColorscheme", "DashboardFindFile", "DashboardFindHistory", "DashboardFindWord", "DashboardNewFile", "DashboardJumpMarks", "SessionLoad", "SessionSave" },
|
commands = { "Dashboard", "DashboardChangeColorscheme", "DashboardFindFile", "DashboardFindHistory", "DashboardFindWord", "DashboardNewFile", "DashboardJumpMarks", "SessionLoad", "SessionSave" },
|
||||||
@ -366,11 +361,6 @@ _G.packer_plugins = {
|
|||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/searchbox.nvim",
|
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/searchbox.nvim",
|
||||||
url = "https://github.com/VonHeikemen/searchbox.nvim"
|
url = "https://github.com/VonHeikemen/searchbox.nvim"
|
||||||
},
|
},
|
||||||
spaceduck = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/spaceduck",
|
|
||||||
url = "https://github.com/pineapplegiant/spaceduck"
|
|
||||||
},
|
|
||||||
["sqlite.lua"] = {
|
["sqlite.lua"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/sqlite.lua",
|
path = "/Users/pricehiller/.local/share/nvim/site/pack/packer/start/sqlite.lua",
|
||||||
@ -388,7 +378,7 @@ _G.packer_plugins = {
|
|||||||
},
|
},
|
||||||
["telescope.nvim"] = {
|
["telescope.nvim"] = {
|
||||||
commands = { "Telescope" },
|
commands = { "Telescope" },
|
||||||
config = { "\27LJ\2\n½\2\0\0\a\0\14\0\0246\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\n\0005\4\6\0005\5\4\0005\6\3\0=\6\5\5=\5\a\0045\5\b\0=\5\t\4=\4\v\3B\1\2\0019\1\f\0'\3\a\0B\1\2\0019\1\f\0'\3\r\0B\1\2\0019\1\f\0'\3\t\0B\1\2\1K\0\1\0\21find_directories\19load_extension\15extensions\1\0\0\bfzf\1\0\4\25override_file_sorter\2\28override_generic_sorter\2\nfuzzy\2\14case_mode\15smart_case\16media_files\1\0\0\14filetypes\1\0\1\rfind_cmd\arg\1\5\0\0\bpng\twebp\bjpg\tjpeg\nsetup\14telescope\frequire\0" },
|
config = { "\27LJ\2\n½\2\0\0\a\0\14\0\0246\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\n\0005\4\6\0005\5\4\0005\6\3\0=\6\5\5=\5\a\0045\5\b\0=\5\t\4=\4\v\3B\1\2\0019\1\f\0'\3\a\0B\1\2\0019\1\f\0'\3\r\0B\1\2\0019\1\f\0'\3\t\0B\1\2\1K\0\1\0\21find_directories\19load_extension\15extensions\1\0\0\bfzf\1\0\4\14case_mode\15smart_case\25override_file_sorter\2\28override_generic_sorter\2\nfuzzy\2\16media_files\1\0\0\14filetypes\1\0\1\rfind_cmd\arg\1\5\0\0\bpng\twebp\bjpg\tjpeg\nsetup\14telescope\frequire\0" },
|
||||||
loaded = false,
|
loaded = false,
|
||||||
needs_bufread = true,
|
needs_bufread = true,
|
||||||
only_cond = false,
|
only_cond = false,
|
||||||
@ -485,7 +475,7 @@ try_loadstring("\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22plugins
|
|||||||
time([[Setup for dashboard-nvim]], false)
|
time([[Setup for dashboard-nvim]], false)
|
||||||
-- Setup for: markdown-preview.nvim
|
-- Setup for: markdown-preview.nvim
|
||||||
time([[Setup for markdown-preview.nvim]], true)
|
time([[Setup for markdown-preview.nvim]], true)
|
||||||
try_loadstring("\27LJ\2\n=\0\0\2\0\4\0\0056\0\0\0009\0\1\0005\1\3\0=\1\2\0K\0\1\0\1\2\0\0\rmarkdown\19mkdp_filetypes\6g\bvim\0", "setup", "markdown-preview.nvim")
|
try_loadstring("\27LJ\2\nb\0\0\2\0\6\0\t6\0\0\0009\0\1\0005\1\3\0=\1\2\0006\0\0\0009\0\1\0'\1\5\0=\1\4\0K\0\1\0\ffirefox\17mkdp_browser\1\2\0\0\rmarkdown\19mkdp_filetypes\6g\bvim\0", "setup", "markdown-preview.nvim")
|
||||||
time([[Setup for markdown-preview.nvim]], false)
|
time([[Setup for markdown-preview.nvim]], false)
|
||||||
-- Config for: which-key.nvim
|
-- Config for: which-key.nvim
|
||||||
time([[Config for which-key.nvim]], true)
|
time([[Config for which-key.nvim]], true)
|
||||||
@ -495,9 +485,12 @@ time([[Config for which-key.nvim]], false)
|
|||||||
time([[Config for nvim-neoclip.lua]], true)
|
time([[Config for nvim-neoclip.lua]], true)
|
||||||
try_loadstring("\27LJ\2\nW\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\30enable_persistant_history\2\nsetup\fneoclip\frequire\0", "config", "nvim-neoclip.lua")
|
try_loadstring("\27LJ\2\nW\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\30enable_persistant_history\2\nsetup\fneoclip\frequire\0", "config", "nvim-neoclip.lua")
|
||||||
time([[Config for nvim-neoclip.lua]], false)
|
time([[Config for nvim-neoclip.lua]], false)
|
||||||
|
-- Config for: coq_nvim
|
||||||
|
time([[Config for coq_nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16plugins/coq\frequire\0", "config", "coq_nvim")
|
||||||
|
time([[Config for coq_nvim]], false)
|
||||||
-- Load plugins in order defined by `after`
|
-- Load plugins in order defined by `after`
|
||||||
time([[Sequenced loading]], true)
|
time([[Sequenced loading]], true)
|
||||||
vim.cmd [[ packadd coq_nvim ]]
|
|
||||||
vim.cmd [[ packadd nvim-autopairs ]]
|
vim.cmd [[ packadd nvim-autopairs ]]
|
||||||
|
|
||||||
-- Config for: nvim-autopairs
|
-- Config for: nvim-autopairs
|
||||||
@ -507,15 +500,14 @@ time([[Sequenced loading]], false)
|
|||||||
|
|
||||||
-- Command lazy-loads
|
-- Command lazy-loads
|
||||||
time([[Defining lazy-load commands]], true)
|
time([[Defining lazy-load commands]], true)
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSInstall lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSInstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.run() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file CommentToggle lua require("packer.load")({'nvim-comment'}, { cmd = "CommentToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSBufEnable lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSBufEnable", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.launch() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSBufToggle lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSBufToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.terminate() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSEnableAll lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSEnableAll", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.disconnect() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSInstallFromGrammer lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSInstallFromGrammer", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.close() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSToggleAll lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSToggleAll", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.attach() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSUpdate lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSUpdate", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.set_breakpoint() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSUpdateSync lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSUpdateSync", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.toggle_breakpoint() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.toggle_breakpoint() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.list_breakpoints() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.list_breakpoints() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.set_exception_breakpoints() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.set_exception_breakpoints() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
@ -525,9 +517,9 @@ pcall(vim.cmd, [[au CmdUndefined lua require'dap'.step_out() ++once lua require"
|
|||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.step_back() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.step_back() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.pause() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.pause() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.reverse_continue() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.reverse_continue() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.up() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeOpen lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeOpen", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.down() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeFocus lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeFocus", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.run_to_cursor() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeToggle lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.repl.open() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.repl.open() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.repl.toggle() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.repl.toggle() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.repl.close() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.repl.close() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
@ -536,54 +528,55 @@ pcall(vim.cmd, [[au CmdUndefined lua require'dap'.session() ++once lua require"p
|
|||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DIInstall lua require("packer.load")({'DAPInstall.nvim'}, { cmd = "DIInstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DIInstall lua require("packer.load")({'DAPInstall.nvim'}, { cmd = "DIInstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DIUninstall lua require("packer.load")({'DAPInstall.nvim'}, { cmd = "DIUninstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DIUninstall lua require("packer.load")({'DAPInstall.nvim'}, { cmd = "DIUninstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DIList lua require("packer.load")({'DAPInstall.nvim'}, { cmd = "DIList", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DIList lua require("packer.load")({'DAPInstall.nvim'}, { cmd = "DIList", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardNewFile lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardNewFile", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Vista lua require("packer.load")({'vista.vim'}, { cmd = "Vista", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SessionSave lua require("packer.load")({'dashboard-nvim'}, { cmd = "SessionSave", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SessionLoad lua require("packer.load")({'dashboard-nvim'}, { cmd = "SessionLoad", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardJumpMarks lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardJumpMarks", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file CommentToggle lua require("packer.load")({'nvim-comment'}, { cmd = "CommentToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardFindWord lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardFindWord", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardFindHistory lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardFindHistory", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardFindFile lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardFindFile", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardChangeColorscheme lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardChangeColorscheme", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Dashboard lua require("packer.load")({'dashboard-nvim'}, { cmd = "Dashboard", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Git lua require("packer.load")({'vim-fugitive'}, { cmd = "Git", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file new lua require("packer.load")({'mkdir.nvim'}, { cmd = "new", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Neoformat lua require("packer.load")({'neoformat'}, { cmd = "Neoformat", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSInstallSync lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSInstallSync", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.continue() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.continue() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeOpen lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeOpen", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSInstallSync lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSInstallSync", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeFocus lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeFocus", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Neoformat lua require("packer.load")({'neoformat'}, { cmd = "Neoformat", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeToggle lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSBufToggle lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSBufToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.run_last() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSEnableAll lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSEnableAll", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.launch() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSInstallFromGrammer lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSInstallFromGrammer", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.terminate() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSToggleAll lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSToggleAll", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.disconnect() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSUpdate lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSUpdate", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.close() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSUpdateSync lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSUpdateSync", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.attach() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Git lua require("packer.load")({'vim-fugitive'}, { cmd = "Git", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.set_breakpoint() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Vista lua require("packer.load")({'vista.vim'}, { cmd = "Vista", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file ToggleTerm lua require("packer.load")({'nvim-toggleterm.lua'}, { cmd = "ToggleTerm", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file ToggleTerm lua require("packer.load")({'nvim-toggleterm.lua'}, { cmd = "ToggleTerm", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Dashboard lua require("packer.load")({'dashboard-nvim'}, { cmd = "Dashboard", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardChangeColorscheme lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardChangeColorscheme", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardFindFile lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardFindFile", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardFindHistory lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardFindHistory", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardFindWord lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardFindWord", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardNewFile lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardNewFile", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DashboardJumpMarks lua require("packer.load")({'dashboard-nvim'}, { cmd = "DashboardJumpMarks", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SessionLoad lua require("packer.load")({'dashboard-nvim'}, { cmd = "SessionLoad", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SessionSave lua require("packer.load")({'dashboard-nvim'}, { cmd = "SessionSave", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.run_to_cursor() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.down() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.up() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSInstall lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSInstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSBufEnable lua require("packer.load")({'nvim-treesitter'}, { cmd = "TSBufEnable", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.run() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[au CmdUndefined lua require'dap'.run_last() ++once lua require"packer.load"({'DAPInstall.nvim'}, {}, _G.packer_plugins)]])
|
||||||
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file new lua require("packer.load")({'mkdir.nvim'}, { cmd = "new", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
|
||||||
time([[Defining lazy-load commands]], false)
|
time([[Defining lazy-load commands]], false)
|
||||||
|
|
||||||
vim.cmd [[augroup packer_load_aucmds]]
|
vim.cmd [[augroup packer_load_aucmds]]
|
||||||
vim.cmd [[au!]]
|
vim.cmd [[au!]]
|
||||||
-- Filetype lazy-loads
|
-- Filetype lazy-loads
|
||||||
time([[Defining lazy-load filetype autocommands]], true)
|
time([[Defining lazy-load filetype autocommands]], true)
|
||||||
vim.cmd [[au FileType typescriptreact ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "typescriptreact" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au FileType svelte ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "svelte" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au FileType php ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "php" }, _G.packer_plugins)]]
|
vim.cmd [[au FileType php ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "php" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au FileType markdown ++once lua require("packer.load")({'markdown-preview.nvim'}, { ft = "markdown" }, _G.packer_plugins)]]
|
vim.cmd [[au FileType markdown ++once lua require("packer.load")({'markdown-preview.nvim'}, { ft = "markdown" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au FileType vue ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "vue" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au FileType html ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "html" }, _G.packer_plugins)]]
|
vim.cmd [[au FileType html ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "html" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au FileType javascript ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "javascript" }, _G.packer_plugins)]]
|
vim.cmd [[au FileType javascript ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "javascript" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au FileType javascriptreact ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "javascriptreact" }, _G.packer_plugins)]]
|
vim.cmd [[au FileType javascriptreact ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "javascriptreact" }, _G.packer_plugins)]]
|
||||||
|
vim.cmd [[au FileType typescriptreact ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "typescriptreact" }, _G.packer_plugins)]]
|
||||||
|
vim.cmd [[au FileType svelte ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "svelte" }, _G.packer_plugins)]]
|
||||||
|
vim.cmd [[au FileType vue ++once lua require("packer.load")({'nvim-ts-autotag'}, { ft = "vue" }, _G.packer_plugins)]]
|
||||||
time([[Defining lazy-load filetype autocommands]], false)
|
time([[Defining lazy-load filetype autocommands]], false)
|
||||||
-- Event lazy-loads
|
-- Event lazy-loads
|
||||||
time([[Defining lazy-load event autocommands]], true)
|
time([[Defining lazy-load event autocommands]], true)
|
||||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'vim-better-whitespace', 'nvim-scrollview', 'neoscroll.nvim', 'gitsigns.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
vim.cmd [[au BufEnter * ++once lua require("packer.load")({'nvim-lspconfig', 'nvim-treesitter', 'nvim-web-devicons', 'nvim-colorizer.lua', 'todo-comments.nvim', 'indent-blankline.nvim', 'vim-resize'}, { event = "BufEnter *" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'friendly-snippets'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'friendly-snippets'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au BufEnter * ++once lua require("packer.load")({'nvim-web-devicons', 'nvim-lspconfig', 'nvim-treesitter', 'vim-resize', 'todo-comments.nvim', 'nvim-colorizer.lua', 'indent-blankline.nvim'}, { event = "BufEnter *" }, _G.packer_plugins)]]
|
vim.cmd [[au BufRead * ++once lua require("packer.load")({'neoscroll.nvim', 'nvim-scrollview', 'vim-better-whitespace', 'gitsigns.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||||
time([[Defining lazy-load event autocommands]], false)
|
time([[Defining lazy-load event autocommands]], false)
|
||||||
vim.cmd("augroup END")
|
vim.cmd("augroup END")
|
||||||
if should_profile then save_profiles() end
|
if should_profile then save_profiles() end
|
||||||
|
Loading…
Reference in New Issue
Block a user