modified: .config/nvim/init.lua
new file: .config/nvim/lua/core/globals.lua modified: .config/nvim/lua/core/keybinds.lua modified: .config/nvim/lua/core/options.lua modified: .config/nvim/lua/core/plugins.lua modified: .config/nvim/lua/core/statusline.lua modified: .config/nvim/lua/lsp/init.lua modified: .config/nvim/lua/lsp/servers/clangd.lua new file: .config/nvim/lua/lsp/servers/html.lua new file: .config/nvim/lua/lsp/servers/tsserver.lua deleted: .config/nvim/lua/plugins/barbar.lua deleted: .config/nvim/lua/plugins/lualine.lua modified: .config/nvim/lua/plugins/nvim-tree.lua modified: .config/nvim/lua/plugins/treesitter.lua
This commit is contained in:
parent
bf502b2d5b
commit
91c55684e1
|
@ -1,8 +1,8 @@
|
||||||
local core = {"options", "keybinds", "autocmds", "plugins"}
|
local core = {"options", "globals", "keybinds", "autocmds", "plugins"}
|
||||||
|
|
||||||
for _,source in ipairs(core) do
|
for _,source in ipairs(core) do
|
||||||
local status_ok,fault = pcall(require,'core.' .. source)
|
local ok, fault = pcall(require,'core.' .. source)
|
||||||
if not status_ok then
|
if not ok then
|
||||||
vim.notify("Failed to load " .. source .."\n\n" .. fault )
|
vim.notify("Failed to load " .. source .."\n\n" .. fault )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
_G.require_mod = function(mod)
|
||||||
|
local ok, result = pcall(require, mod)
|
||||||
|
|
||||||
|
if not ok then
|
||||||
|
vim.notify("Failed to load " .. mod, "error")
|
||||||
|
-- vim.pretty_print({plugin = mod, error = result})
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
|
return result
|
||||||
|
end
|
|
@ -8,36 +8,12 @@ vim.api.nvim_set_keymap('', '<right>', '<nop>',{noremap = true})
|
||||||
|
|
||||||
keymap("n","<space>,",":nohlsearch<CR>")
|
keymap("n","<space>,",":nohlsearch<CR>")
|
||||||
|
|
||||||
-- tabs
|
|
||||||
keymap("n","<leader>tn",":tabnew <CR>")
|
|
||||||
keymap("n","<leader>tc",":tabclose<CR>")
|
|
||||||
|
|
||||||
-- Telescope --
|
-- Telescope --
|
||||||
keymap("n","<leader>ff","<cmd> Telescope find_files <cr>")
|
keymap("n","<leader>ff","<cmd> Telescope find_files <cr>")
|
||||||
keymap("n","<leader>fg","<cmd> Telescope live_grep <cr>")
|
keymap("n","<leader>fg","<cmd> Telescope live_grep <cr>")
|
||||||
keymap("n","<leader>fb","<cmd> Telescope buffers <cr>")
|
keymap("n","<leader>fb","<cmd> Telescope buffers <cr>")
|
||||||
keymap("n","<leader>fh","<cmd> Telescope help_tags <cr>")
|
|
||||||
|
|
||||||
-- NvimTree --
|
-- NvimTree --
|
||||||
keymap("n","<C-n>",":NvimTreeToggle<CR>")
|
keymap("n","<C-n>",":NvimTreeToggle<CR>")
|
||||||
keymap("n","<leader>n",":NvimTreeFindFile<CR>")
|
keymap("n","<leader>n",":NvimTreeFindFile<CR>")
|
||||||
keymap("n","<C-]>","gh defx#do_action('cd',getcwd())<CR>")
|
keymap("n","<C-]>","gh defx#do_action('cd',getcwd())<CR>")
|
||||||
|
|
||||||
|
|
||||||
-- barbar.nvim
|
|
||||||
keymap('n', '<A-.>', ':BufferNext<CR>')
|
|
||||||
keymap('n', '<A-,>', ':BufferPrevious<CR>')
|
|
||||||
|
|
||||||
|
|
||||||
keymap('n', '<A-1>', ':BufferGoto 1<CR>')
|
|
||||||
keymap('n', '<A-2>', ':BufferGoto 2<CR>')
|
|
||||||
keymap('n', '<A-3>', ':BufferGoto 3<CR>')
|
|
||||||
keymap('n', '<A-4>', ':BufferGoto 4<CR>')
|
|
||||||
keymap('n', '<A-5>', ':BufferGoto 5<CR>')
|
|
||||||
keymap('n', '<A-6>', ':BufferGoto 6<CR>')
|
|
||||||
keymap('n', '<A-7>', ':BufferGoto 7<CR>')
|
|
||||||
keymap('n', '<A-8>', ':BufferGoto 8<CR>')
|
|
||||||
keymap('n', '<A-9>', ':BufferGoto 9<CR>')
|
|
||||||
keymap('n', '<A-0>', ':BufferLast<CR>')
|
|
||||||
|
|
||||||
keymap('n', '<A-c>', ':BufferClose<CR>')
|
|
||||||
|
|
|
@ -5,10 +5,21 @@ if ok then
|
||||||
vim.notify = notify
|
vim.notify = notify
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.cmd[[colorscheme catppuccin-macchiato]]
|
|
||||||
|
local ok, err = pcall(function()
|
||||||
|
vim.g.diagnostic_sings = {"", "", "", ""}
|
||||||
|
|
||||||
|
-- vim.cmd('colorscheme catppuccin-macchiato')
|
||||||
|
-- vim.cmd('colorscheme aquarium')
|
||||||
|
vim.cmd('colorscheme everblush')
|
||||||
|
end)
|
||||||
|
|
||||||
|
if not ok then
|
||||||
|
print(err)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
opt.encoding = "utf-8"
|
opt.encoding = "utf-8"
|
||||||
opt.clipboard = "unnamedplus"
|
|
||||||
opt.swapfile = false
|
opt.swapfile = false
|
||||||
|
|
||||||
opt.number = true
|
opt.number = true
|
||||||
|
@ -17,12 +28,11 @@ opt.relativenumber = true
|
||||||
opt.list = true
|
opt.list = true
|
||||||
opt.listchars = {tab = '| '}
|
opt.listchars = {tab = '| '}
|
||||||
|
|
||||||
|
vim.g.lsp_path = os.getenv("HOME") .. "/.local/share/nvim/mason/bin/"
|
||||||
|
|
||||||
opt.tabstop = 4
|
opt.tabstop = 4
|
||||||
opt.shiftwidth = 4
|
opt.shiftwidth = 4
|
||||||
opt.expandtab = true
|
opt.expandtab = true
|
||||||
opt.mouse = "a"
|
opt.mouse = "a"
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
vim.g.diagnostic_sings = {"", "", "", ""}
|
|
||||||
vim.g.lsp_path = os.getenv("HOME") .. "/.local/share/nvim/mason/bin/"
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
local ok,packer = pcall(require,"packer")
|
local ok, packer = pcall(require,"packer")
|
||||||
if not ok then
|
if not ok then
|
||||||
vim.notify("Failed to load packer\n\n")
|
vim.notify("Failed to load packer\n\n")
|
||||||
return
|
return
|
||||||
|
@ -22,11 +22,13 @@ packer.startup{
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Colorchemes
|
-- Colorchemes
|
||||||
use {"catppuccin/nvim", as = "catppuccin"}
|
-- use {"catppuccin/nvim", as = "catppuccin"}
|
||||||
use {"tiagovla/tokyodark.nvim"}
|
-- use {"tiagovla/tokyodark.nvim"}
|
||||||
use {"rebelot/kanagawa.nvim"}
|
use {'Everblush/everblush.nvim',as = 'everblush'}
|
||||||
use {"projekt0n/github-nvim-theme"}
|
-- use {"frenzyexists/aquarium-vim"}
|
||||||
use {"Mofiqul/vscode.nvim"}
|
-- use {"rebelot/kanagawa.nvim"}
|
||||||
|
-- use {"projekt0n/github-nvim-theme"}
|
||||||
|
-- use {"Mofiqul/vscode.nvim"}
|
||||||
|
|
||||||
use {"dstein64/vim-startuptime"}
|
use {"dstein64/vim-startuptime"}
|
||||||
|
|
||||||
|
@ -36,7 +38,16 @@ packer.startup{
|
||||||
config = function() require("plugins.nvim-tree") end
|
config = function() require("plugins.nvim-tree") end
|
||||||
}
|
}
|
||||||
|
|
||||||
use {"rcarriga/nvim-notify"}
|
use {
|
||||||
|
"rcarriga/nvim-notify",
|
||||||
|
config = function()
|
||||||
|
require("notify").setup({
|
||||||
|
on_open = function(win)
|
||||||
|
vim.api.nvim_win_set_config(win,{focusable = false})
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
|
@ -102,12 +113,6 @@ packer.startup{
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
|
||||||
'romgrk/barbar.nvim',
|
|
||||||
requires = {'kyazdani42/nvim-web-devicons'},
|
|
||||||
config = function() require("plugins.barbar") end
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Language Server Protocol
|
-- Language Server Protocol
|
||||||
use {
|
use {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
@ -117,7 +122,7 @@ packer.startup{
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
requires = {
|
requires = {
|
||||||
|
@ -185,9 +190,18 @@ packer.startup{
|
||||||
|
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"SmiteshP/nvim-gps",
|
"SmiteshP/nvim-navic",
|
||||||
requires = "nvim-treesitter/nvim-treesitter",
|
requires = {"neovim/nvim-lspconfig"},
|
||||||
config = function() require("nvim-gps").setup() end,
|
config = function()
|
||||||
|
local navic = require("nvim-navic")
|
||||||
|
navic.setup {
|
||||||
|
highlight = false,
|
||||||
|
separator = " > ",
|
||||||
|
depth_limit = 0.01,
|
||||||
|
depth_limit_indicator = "..",
|
||||||
|
safe_output = true
|
||||||
|
}
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -1,25 +1,15 @@
|
||||||
local ok, lsp = pcall(require,"lspconfig")
|
local lsp = require_mod("lspconfig")
|
||||||
if not ok then
|
|
||||||
vim.notify("Failed to load lspconfig\n\n")
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local ok, mason_lsp = pcall(require, "mason-lspconfig")
|
local mason_lsp = require_mod("mason-lspconfig")
|
||||||
if not ok then
|
|
||||||
vim.notify("Failed load mason-lspconfig")
|
local navic = require_mod("nvim-navic")
|
||||||
end
|
|
||||||
|
|
||||||
local sign = vim.fn.sign_define
|
local sign = vim.fn.sign_define
|
||||||
local sign_name = {"Error","Warn","Info","Hint"}
|
local sign_name = {"Error","Warn","Info","Hint"}
|
||||||
|
|
||||||
|
for k, icon in pairs(vim.g.diagnostic_sings) do
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
sign("DiagnosticSign" .. sign_name[k],{text=icon,texthl="DiagnosticSign" .. sign_name[k]})
|
||||||
capabilities.textDocument.foldingRange = {
|
end
|
||||||
dynamicRegistration = false,
|
|
||||||
lineFoldingOnly = true,
|
|
||||||
}
|
|
||||||
|
|
||||||
vim.g.lsp_capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
|
||||||
|
|
||||||
|
|
||||||
vim.diagnostic.config {
|
vim.diagnostic.config {
|
||||||
|
@ -37,15 +27,25 @@ vim.g.lsp_handler = {
|
||||||
["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help,{border="rounded"})
|
["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help,{border="rounded"})
|
||||||
}
|
}
|
||||||
|
|
||||||
for k, icon in pairs(vim.g.diagnostic_sings) do
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
sign("DiagnosticSign" .. sign_name[k],{text=icon,texthl="DiagnosticSign" .. sign_name[k]})
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
end
|
capabilities.textDocument.foldingRange = {
|
||||||
|
dynamicRegistration = false,
|
||||||
|
lineFoldingOnly = true,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
vim.g.lsp_capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
||||||
|
|
||||||
|
|
||||||
vim.g.lsp_on_attach = function(client,bufnr)
|
vim.g.lsp_on_attach = function(client,bufnr)
|
||||||
print("Attaching to:",client.name)
|
print("Attaching to:",client.name)
|
||||||
local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr,...) end
|
local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr,...) end
|
||||||
local opts = {noremap = true,silent=true}
|
local opts = {noremap = true,silent=true}
|
||||||
|
|
||||||
|
if client.server_capabilities.documentSymbolProvider then
|
||||||
|
navic.attach(client, bufnr)
|
||||||
|
end
|
||||||
|
|
||||||
buf_set_keymap('n','gd','<cmd>lua vim.lsp.buf.definition()<CR>',opts)
|
buf_set_keymap('n','gd','<cmd>lua vim.lsp.buf.definition()<CR>',opts)
|
||||||
buf_set_keymap('n','K', '<cmd>lua vim.lsp.buf.hover()<CR>',opts)
|
buf_set_keymap('n','K', '<cmd>lua vim.lsp.buf.hover()<CR>',opts)
|
||||||
|
@ -67,8 +67,8 @@ for _, server in ipairs(servers) do
|
||||||
vim.pretty_print(err)
|
vim.pretty_print(err)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
vim.notify("Missing server configuration for " .. server,"error")
|
|
||||||
vim.pretty_print({server = server, result = result})
|
vim.pretty_print({server = server, result = result})
|
||||||
|
vim.notify("Missing server configuration for " .. server, "error")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,8 +3,8 @@ return {
|
||||||
|
|
||||||
on_attach = vim.g.lsp_on_attach,
|
on_attach = vim.g.lsp_on_attach,
|
||||||
handlers = vim.g.lsp_handlers,
|
handlers = vim.g.lsp_handlers,
|
||||||
|
|
||||||
capabilities = vim.g.lsp_capabilities,
|
capabilities = vim.g.lsp_capabilities,
|
||||||
|
|
||||||
root_dir = require"lspconfig.util".root_pattern{
|
root_dir = require"lspconfig.util".root_pattern{
|
||||||
"CMakeList.txt",
|
"CMakeList.txt",
|
||||||
"compile_flags.txt",
|
"compile_flags.txt",
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
return {
|
||||||
|
cmd = {vim.g.lsp_path .. "vscode-html-language-server", "--stdio"},
|
||||||
|
filetypes = {"html"},
|
||||||
|
|
||||||
|
on_attach = vim.g.lsp_on_attach,
|
||||||
|
handlers = vim.g.lsp_handler,
|
||||||
|
capabilities = vim.g.lsp_capabilities,
|
||||||
|
|
||||||
|
init_options = {
|
||||||
|
configurationSection = { "html", "css", "javascript" },
|
||||||
|
embeddedLanguages = {
|
||||||
|
css = true,
|
||||||
|
javascript = true
|
||||||
|
},
|
||||||
|
provideFormatter = true
|
||||||
|
},
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
return {
|
||||||
|
cmd = {vim.g.lsp_path .. "typescript-language-server", "--stdio"},
|
||||||
|
filetypes = {"javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx"},
|
||||||
|
|
||||||
|
on_attach = vim.g.lsp_on_attach,
|
||||||
|
handlers = vim.g.lsp_handlers,
|
||||||
|
capabilities = vim.g.lsp_capabilities,
|
||||||
|
|
||||||
|
init_options = {hostInfo = "neovim"},
|
||||||
|
root_dir = require"lspconfig.util".root_pattern{
|
||||||
|
"package.json",
|
||||||
|
"tsconfig.json",
|
||||||
|
"jsconfig.json",
|
||||||
|
".git",
|
||||||
|
},
|
||||||
|
}
|
|
@ -1,66 +0,0 @@
|
||||||
vim.g.bufferline = {
|
|
||||||
-- Enable/disable animations
|
|
||||||
animation = true,
|
|
||||||
|
|
||||||
-- Enable/disable auto-hiding the tab bar when there is a single buffer
|
|
||||||
auto_hide = false,
|
|
||||||
|
|
||||||
-- Enable/disable current/total tabpages indicator (top right corner)
|
|
||||||
tabpages = true,
|
|
||||||
|
|
||||||
-- Enable/disable close button
|
|
||||||
closable = true,
|
|
||||||
|
|
||||||
-- Enables/disable clickable tabs
|
|
||||||
-- - left-click: go to buffer
|
|
||||||
-- - middle-click: delete buffer
|
|
||||||
clickable = true,
|
|
||||||
|
|
||||||
-- Excludes buffers from the tabline
|
|
||||||
exclude_ft = {'javascript'},
|
|
||||||
exclude_name = {'package.json'},
|
|
||||||
|
|
||||||
-- Enable/disable icons
|
|
||||||
-- if set to 'numbers', will show buffer index in the tabline
|
|
||||||
-- if set to 'both', will show buffer index and icons in the tabline
|
|
||||||
icons = true,
|
|
||||||
|
|
||||||
-- If set, the icon color will follow its corresponding buffer
|
|
||||||
-- highlight group. By default, the Buffer*Icon group is linked to the
|
|
||||||
-- Buffer* group (see Highlighting below). Otherwise, it will take its
|
|
||||||
-- default value as defined by devicons.
|
|
||||||
icon_custom_colors = false,
|
|
||||||
|
|
||||||
-- Configure icons on the bufferline.
|
|
||||||
icon_separator_active = '▎',
|
|
||||||
icon_separator_inactive = '▎',
|
|
||||||
icon_close_tab = '',
|
|
||||||
icon_close_tab_modified = '●',
|
|
||||||
icon_pinned = '車',
|
|
||||||
|
|
||||||
-- If true, new buffers will be inserted at the start/end of the list.
|
|
||||||
-- Default is to insert after current buffer.
|
|
||||||
insert_at_end = false,
|
|
||||||
insert_at_start = false,
|
|
||||||
|
|
||||||
-- Sets the maximum padding width with which to surround each tab
|
|
||||||
maximum_padding = 1,
|
|
||||||
|
|
||||||
-- Sets the maximum buffer name length.
|
|
||||||
maximum_length = 30,
|
|
||||||
|
|
||||||
-- If set, the letters for each buffer in buffer-pick mode will be
|
|
||||||
-- assigned based on their name. Otherwise or in case all letters are
|
|
||||||
-- already assigned, the behavior is to assign letters in order of
|
|
||||||
-- usability (see order below)
|
|
||||||
semantic_letters = true,
|
|
||||||
|
|
||||||
-- New buffer letters are assigned in this order. This order is
|
|
||||||
-- optimal for the qwerty keyboard layout but might need adjustement
|
|
||||||
-- for other layouts.
|
|
||||||
letters = 'asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP',
|
|
||||||
|
|
||||||
-- Sets the name of unnamed buffers. By default format is "[Buffer X]"
|
|
||||||
-- where X is the buffer number. But only a static string is accepted here.
|
|
||||||
no_name_title = nil,
|
|
||||||
}
|
|
|
@ -1,38 +0,0 @@
|
||||||
require('lualine').setup{
|
|
||||||
options = {
|
|
||||||
icons_enabled = true,
|
|
||||||
theme = 'catppuccin',
|
|
||||||
component_separators = { left = '', right = ''},
|
|
||||||
section_separators = { left = '', right = ''},
|
|
||||||
disabled_filetypes = {
|
|
||||||
statusline = {},
|
|
||||||
winbar = {},
|
|
||||||
},
|
|
||||||
always_divide_middle = true,
|
|
||||||
globalstatus = false,
|
|
||||||
refresh = {
|
|
||||||
statusline = 1000,
|
|
||||||
tabline = 1000,
|
|
||||||
winbar = 1000,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
sections = {
|
|
||||||
lualine_a = {'mode'},
|
|
||||||
lualine_b = {'branch', 'diagnostics'},
|
|
||||||
lualine_c = {'filename'},
|
|
||||||
lualine_x = {'filetype'},
|
|
||||||
lualine_z = {'location'}
|
|
||||||
},
|
|
||||||
inactive_sections = {
|
|
||||||
lualine_a = {},
|
|
||||||
lualine_b = {},
|
|
||||||
lualine_c = {'filename'},
|
|
||||||
lualine_x = {'location'},
|
|
||||||
lualine_y = {},
|
|
||||||
lualine_z = {}
|
|
||||||
},
|
|
||||||
tabline = {},
|
|
||||||
winbar = {},
|
|
||||||
inactive_winbar = {},
|
|
||||||
extensions = {}
|
|
||||||
}
|
|
|
@ -4,125 +4,20 @@ if not ok then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
nvim_tree.setup {
|
nvim_tree.setup({
|
||||||
auto_reload_on_write = true,
|
sort_by = "case_sensitive",
|
||||||
disable_netrw = false,
|
|
||||||
hijack_cursor = false,
|
|
||||||
hijack_netrw = true,
|
|
||||||
hijack_unnamed_buffer_when_opening = false,
|
|
||||||
ignore_buffer_on_setup = false,
|
|
||||||
open_on_setup = false,
|
|
||||||
open_on_setup_file = false,
|
|
||||||
open_on_tab = false,
|
|
||||||
sort_by = "name",
|
|
||||||
update_cwd = false,
|
|
||||||
|
|
||||||
view = {
|
view = {
|
||||||
width = 30,
|
adaptive_size = true,
|
||||||
-- height = 30,
|
|
||||||
hide_root_folder = false,
|
|
||||||
side = "left",
|
|
||||||
preserve_window_proportions = false,
|
|
||||||
number = false,
|
|
||||||
relativenumber = false,
|
|
||||||
signcolumn = "yes",
|
|
||||||
mappings = {
|
mappings = {
|
||||||
custom_only = false,
|
list = {{ key = "u", action = "dir_up" }},
|
||||||
list = {},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
renderer = {
|
renderer = {
|
||||||
indent_markers = {
|
group_empty = true,
|
||||||
enable = false,
|
|
||||||
icons = {
|
|
||||||
corner = "└ ",
|
|
||||||
edge = "│ ",
|
|
||||||
none = " ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
icons = {
|
|
||||||
webdev_colors = true,
|
|
||||||
git_placement = "before",
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
hijack_directories = {
|
|
||||||
enable = true,
|
|
||||||
auto_open = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
update_focused_file = {
|
|
||||||
enable = false,
|
|
||||||
update_cwd = false,
|
|
||||||
ignore_list = {},
|
|
||||||
},
|
|
||||||
|
|
||||||
ignore_ft_on_setup = {},
|
|
||||||
system_open = {
|
|
||||||
cmd = "",
|
|
||||||
args = {},
|
|
||||||
},
|
|
||||||
|
|
||||||
diagnostics = {
|
|
||||||
enable = false,
|
|
||||||
show_on_dirs = false,
|
|
||||||
icons = {
|
|
||||||
hint = "",
|
|
||||||
info = "",
|
|
||||||
warning = "",
|
|
||||||
error = "",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
filters = {
|
filters = {
|
||||||
dotfiles = true,
|
dotfiles = true,
|
||||||
custom = {},
|
|
||||||
exclude = {},
|
|
||||||
},
|
},
|
||||||
|
})
|
||||||
git = {
|
|
||||||
enable = true,
|
|
||||||
ignore = true,
|
|
||||||
timeout = 400,
|
|
||||||
},
|
|
||||||
|
|
||||||
actions = {
|
|
||||||
use_system_clipboard = true,
|
|
||||||
change_dir = {
|
|
||||||
enable = true,
|
|
||||||
global = false,
|
|
||||||
restrict_above_cwd = false,
|
|
||||||
},
|
|
||||||
open_file = {
|
|
||||||
quit_on_open = false,
|
|
||||||
resize_window = false,
|
|
||||||
window_picker = {
|
|
||||||
enable = true,
|
|
||||||
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
|
||||||
exclude = {
|
|
||||||
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame" },
|
|
||||||
buftype = { "nofile", "terminal", "help" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
trash = {
|
|
||||||
cmd = "trash",
|
|
||||||
require_confirm = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
log = {
|
|
||||||
enable = false,
|
|
||||||
truncate = false,
|
|
||||||
types = {
|
|
||||||
all = false,
|
|
||||||
config = false,
|
|
||||||
copy_paste = false,
|
|
||||||
diagnostics = false,
|
|
||||||
git = false,
|
|
||||||
profile = false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
|
@ -13,14 +13,52 @@ nvim_treesitter_configs.setup {
|
||||||
enable = false,
|
enable = false,
|
||||||
disable = {},
|
disable = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
textobjects = {
|
||||||
|
select = {
|
||||||
|
enable = true,
|
||||||
|
-- Automatically jump forward to textobj, similar to targets.vim
|
||||||
|
lookahead = true,
|
||||||
|
keymaps = {
|
||||||
|
-- You can use the capture groups defined in textobjects.scm
|
||||||
|
["af"] = "@function.outer",
|
||||||
|
["if"] = "@function.inner",
|
||||||
|
["ac"] = "@class.outer",
|
||||||
|
["ic"] = "@class.inner"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
move = {
|
||||||
|
enable = true,
|
||||||
|
set_jumps = true,
|
||||||
|
goto_next_start = {
|
||||||
|
[']m'] = '@function.outer',
|
||||||
|
[']]'] = '@class.outer'
|
||||||
|
},
|
||||||
|
goto_next_end = {
|
||||||
|
[']M'] = '@function.outer',
|
||||||
|
[']['] = '@class.outer'
|
||||||
|
},
|
||||||
|
goto_previous_start = {
|
||||||
|
['[m'] = '@function.outer',
|
||||||
|
['[['] = '@class.outer'
|
||||||
|
},
|
||||||
|
goto_previous_end = {
|
||||||
|
['[M'] = '@function.outer',
|
||||||
|
['[]'] = '@class.outer'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"c",
|
|
||||||
"cpp",
|
|
||||||
"vim",
|
|
||||||
"lua",
|
"lua",
|
||||||
"bash",
|
"fish",
|
||||||
"python",
|
"python",
|
||||||
"go"
|
"go",
|
||||||
|
"javascript",
|
||||||
|
"css",
|
||||||
|
"html",
|
||||||
|
"c",
|
||||||
|
"cpp"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,389 @@
|
||||||
|
-- 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 = "/home/q/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/q/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/q/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/q/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
|
||||||
|
local install_cpath_pattern = "/home/q/.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 = {
|
||||||
|
["Comment.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/Comment.nvim",
|
||||||
|
url = "https://github.com/numToStr/Comment.nvim"
|
||||||
|
},
|
||||||
|
["DAPInstall.nvim"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/DAPInstall.nvim",
|
||||||
|
url = "https://github.com/arywz11/DAPInstall.nvim"
|
||||||
|
},
|
||||||
|
LuaSnip = {
|
||||||
|
config = { "\27LJ\2\nM\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14lazy_load luasnip/loaders/from_vscode\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/LuaSnip",
|
||||||
|
url = "https://github.com/L3MON4D3/LuaSnip"
|
||||||
|
},
|
||||||
|
["cmp-buffer"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp-buffer",
|
||||||
|
url = "https://github.com/hrsh7th/cmp-buffer"
|
||||||
|
},
|
||||||
|
["cmp-calc"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp-calc",
|
||||||
|
url = "https://github.com/hrsh7th/cmp-calc"
|
||||||
|
},
|
||||||
|
["cmp-cmdline"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp-cmdline",
|
||||||
|
url = "https://github.com/hrsh7th/cmp-cmdline"
|
||||||
|
},
|
||||||
|
["cmp-emoji"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp-emoji",
|
||||||
|
url = "https://github.com/hrsh7th/cmp-emoji"
|
||||||
|
},
|
||||||
|
["cmp-nvim-lsp"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
|
||||||
|
url = "https://github.com/hrsh7th/cmp-nvim-lsp"
|
||||||
|
},
|
||||||
|
["cmp-path"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp-path",
|
||||||
|
url = "https://github.com/hrsh7th/cmp-path"
|
||||||
|
},
|
||||||
|
cmp_luasnip = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
|
||||||
|
url = "https://github.com/saadparwaiz1/cmp_luasnip"
|
||||||
|
},
|
||||||
|
everblush = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/everblush",
|
||||||
|
url = "https://github.com/Everblush/everblush.nvim"
|
||||||
|
},
|
||||||
|
["fidget.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n4\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\vfidget\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/fidget.nvim",
|
||||||
|
url = "https://github.com/j-hui/fidget.nvim"
|
||||||
|
},
|
||||||
|
["friendly-snippets"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/friendly-snippets",
|
||||||
|
url = "https://github.com/rafamadriz/friendly-snippets"
|
||||||
|
},
|
||||||
|
["gitsigns.nvim"] = {
|
||||||
|
config = { "\27LJ\2\nM\0\0\4\0\5\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0004\3\0\0=\3\4\2B\0\2\1K\0\1\0\fkeymaps\1\0\0\nsetup\rgitsigns\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
|
||||||
|
url = "https://github.com/lewis6991/gitsigns.nvim"
|
||||||
|
},
|
||||||
|
["impatient.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n)\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\14impatient\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/impatient.nvim",
|
||||||
|
url = "https://github.com/lewis6991/impatient.nvim"
|
||||||
|
},
|
||||||
|
["indent-blankline.nvim"] = {
|
||||||
|
config = { "\27LJ\2\nn\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\2\21show_end_of_line\2\25space_char_blankline\6 \nsetup\21indent_blankline\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim",
|
||||||
|
url = "https://github.com/lukas-reineke/indent-blankline.nvim"
|
||||||
|
},
|
||||||
|
["lsp_signature.nvim"] = {
|
||||||
|
config = { "\27LJ\2\nX\0\0\4\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0B\1\2\1K\0\1\0\1\0\2\16hint_enable\1\fverbose\2\nsetup\18lsp_signature\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/lsp_signature.nvim",
|
||||||
|
url = "https://github.com/ray-x/lsp_signature.nvim"
|
||||||
|
},
|
||||||
|
["lspkind-nvim"] = {
|
||||||
|
config = { "\27LJ\2\n—\3\0\0\5\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0005\4\4\0=\4\5\3B\1\2\1K\0\1\0\15symbol_map\1\0\25\tUnit\b塞\fSnippet\bï‘<EFBFBD>\fKeyword\bï Š\vFolder\bï<EFBFBD>Š\tEnum\bï…<EFBFBD>\15EnumMember\bï…<EFBFBD>\nValue\b\rOperator\bïš”\rFunction\bïž”\rProperty\bï° \rConstant\b\vModule\bï’‡\18TypeParameter\5\14Interface\b\nClass\bï´¯\rVariable\b\nField\bï° \nEvent\b\16Constructor\bï<EFBFBD>£\vStruct\bï„\vMethod\b\tText\bï<EFBFBD>¾\14Reference\b\tFile\b\nColor\b\1\0\2\vpreset\rcodicons\tmode\16symbol_text\tinit\flspkind\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/lspkind-nvim",
|
||||||
|
url = "https://github.com/onsails/lspkind-nvim"
|
||||||
|
},
|
||||||
|
["mason-lspconfig.nvim"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
|
||||||
|
url = "https://github.com/williamboman/mason-lspconfig.nvim"
|
||||||
|
},
|
||||||
|
["mason.nvim"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/mason.nvim",
|
||||||
|
url = "https://github.com/williamboman/mason.nvim"
|
||||||
|
},
|
||||||
|
["null-ls.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20plugins.null-ls\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
|
||||||
|
url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
|
||||||
|
},
|
||||||
|
["nvim-autopairs"] = {
|
||||||
|
config = { "\27LJ\2\n<\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
|
||||||
|
url = "https://github.com/windwp/nvim-autopairs"
|
||||||
|
},
|
||||||
|
["nvim-cmp"] = {
|
||||||
|
config = { "\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16plugins.cmp\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-cmp",
|
||||||
|
url = "https://github.com/hrsh7th/nvim-cmp"
|
||||||
|
},
|
||||||
|
["nvim-dap"] = {
|
||||||
|
config = { "\27LJ\2\n+\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\16plugins.dap\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-dap",
|
||||||
|
url = "https://github.com/mfussenegger/nvim-dap"
|
||||||
|
},
|
||||||
|
["nvim-dap-ui"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-dap-ui",
|
||||||
|
url = "https://github.com/rcarriga/nvim-dap-ui"
|
||||||
|
},
|
||||||
|
["nvim-lspconfig"] = {
|
||||||
|
config = { "\27LJ\2\nC\0\0\3\0\4\0\t6\0\0\0'\2\1\0B\0\2\0016\0\0\0'\2\2\0B\0\2\0029\0\3\0B\0\1\1K\0\1\0\nsetup\nmason\blsp\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
|
||||||
|
url = "https://github.com/neovim/nvim-lspconfig"
|
||||||
|
},
|
||||||
|
["nvim-navic"] = {
|
||||||
|
config = { "\27LJ\2\n•\1\0\0\4\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0B\1\2\1K\0\1\0\1\0\5\14highlight\1\16safe_output\2\26depth_limit_indicator\a..\16depth_limit\4û¨¸½\4áõ‘ü\3\14separator\b > \nsetup\15nvim-navic\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-navic",
|
||||||
|
url = "https://github.com/SmiteshP/nvim-navic"
|
||||||
|
},
|
||||||
|
["nvim-notify"] = {
|
||||||
|
config = { "\27LJ\2\nM\0\1\5\0\4\0\a6\1\0\0009\1\1\0019\1\2\1\18\3\0\0005\4\3\0B\1\3\1K\0\1\0\1\0\1\14focusable\1\24nvim_win_set_config\bapi\bvimL\1\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0003\3\3\0=\3\5\2B\0\2\1K\0\1\0\fon_open\1\0\0\0\nsetup\vnotify\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-notify",
|
||||||
|
url = "https://github.com/rcarriga/nvim-notify"
|
||||||
|
},
|
||||||
|
["nvim-tree.lua"] = {
|
||||||
|
config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22plugins.nvim-tree\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
|
||||||
|
url = "https://github.com/kyazdani42/nvim-tree.lua"
|
||||||
|
},
|
||||||
|
["nvim-treesitter"] = {
|
||||||
|
config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23plugins.treesitter\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
|
||||||
|
url = "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||||
|
},
|
||||||
|
["nvim-treesitter-textobjects"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects",
|
||||||
|
url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
|
||||||
|
},
|
||||||
|
["nvim-web-devicons"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
||||||
|
url = "https://github.com/kyazdani42/nvim-web-devicons"
|
||||||
|
},
|
||||||
|
["packer.nvim"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
||||||
|
url = "https://github.com/wbthomason/packer.nvim"
|
||||||
|
},
|
||||||
|
playground = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/playground",
|
||||||
|
url = "https://github.com/nvim-treesitter/playground"
|
||||||
|
},
|
||||||
|
["plenary.nvim"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
||||||
|
url = "https://github.com/nvim-lua/plenary.nvim"
|
||||||
|
},
|
||||||
|
["telescope.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n¡\1\0\0\b\0\r\0\0186\0\0\0'\2\1\0B\0\2\0026\1\0\0'\3\2\0B\1\2\0029\1\3\0015\3\v\0005\4\t\0005\5\a\0005\6\5\0009\a\4\0=\a\6\6=\6\b\5=\5\n\4=\4\f\3B\1\2\1K\0\1\0\rdefaults\1\0\0\rmappings\1\0\0\6n\1\0\0\6q\1\0\0\nclose\nsetup\14telescope\22telescope.actions\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/telescope.nvim",
|
||||||
|
url = "https://github.com/nvim-telescope/telescope.nvim"
|
||||||
|
},
|
||||||
|
["todo-comments.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18todo-comments\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/todo-comments.nvim",
|
||||||
|
url = "https://github.com/folke/todo-comments.nvim"
|
||||||
|
},
|
||||||
|
["toggleterm.nvim"] = {
|
||||||
|
config = { "\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15toggleterm\frequire\0" },
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/toggleterm.nvim",
|
||||||
|
url = "https://github.com/akinsho/toggleterm.nvim"
|
||||||
|
},
|
||||||
|
["vim-startuptime"] = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/q/.local/share/nvim/site/pack/packer/start/vim-startuptime",
|
||||||
|
url = "https://github.com/dstein64/vim-startuptime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
time([[Defining packer_plugins]], false)
|
||||||
|
-- Config for: impatient.nvim
|
||||||
|
time([[Config for impatient.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\14impatient\frequire\0", "config", "impatient.nvim")
|
||||||
|
time([[Config for impatient.nvim]], false)
|
||||||
|
-- Config for: nvim-dap
|
||||||
|
time([[Config for nvim-dap]], 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.dap\frequire\0", "config", "nvim-dap")
|
||||||
|
time([[Config for nvim-dap]], false)
|
||||||
|
-- Config for: indent-blankline.nvim
|
||||||
|
time([[Config for indent-blankline.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\nn\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\2\21show_end_of_line\2\25space_char_blankline\6 \nsetup\21indent_blankline\frequire\0", "config", "indent-blankline.nvim")
|
||||||
|
time([[Config for indent-blankline.nvim]], false)
|
||||||
|
-- Config for: telescope.nvim
|
||||||
|
time([[Config for telescope.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n¡\1\0\0\b\0\r\0\0186\0\0\0'\2\1\0B\0\2\0026\1\0\0'\3\2\0B\1\2\0029\1\3\0015\3\v\0005\4\t\0005\5\a\0005\6\5\0009\a\4\0=\a\6\6=\6\b\5=\5\n\4=\4\f\3B\1\2\1K\0\1\0\rdefaults\1\0\0\rmappings\1\0\0\6n\1\0\0\6q\1\0\0\nclose\nsetup\14telescope\22telescope.actions\frequire\0", "config", "telescope.nvim")
|
||||||
|
time([[Config for telescope.nvim]], false)
|
||||||
|
-- Config for: nvim-lspconfig
|
||||||
|
time([[Config for nvim-lspconfig]], true)
|
||||||
|
try_loadstring("\27LJ\2\nC\0\0\3\0\4\0\t6\0\0\0'\2\1\0B\0\2\0016\0\0\0'\2\2\0B\0\2\0029\0\3\0B\0\1\1K\0\1\0\nsetup\nmason\blsp\frequire\0", "config", "nvim-lspconfig")
|
||||||
|
time([[Config for nvim-lspconfig]], false)
|
||||||
|
-- Config for: toggleterm.nvim
|
||||||
|
time([[Config for toggleterm.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15toggleterm\frequire\0", "config", "toggleterm.nvim")
|
||||||
|
time([[Config for toggleterm.nvim]], false)
|
||||||
|
-- Config for: todo-comments.nvim
|
||||||
|
time([[Config for todo-comments.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim")
|
||||||
|
time([[Config for todo-comments.nvim]], false)
|
||||||
|
-- Config for: lspkind-nvim
|
||||||
|
time([[Config for lspkind-nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n—\3\0\0\5\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0005\4\4\0=\4\5\3B\1\2\1K\0\1\0\15symbol_map\1\0\25\tUnit\b塞\fSnippet\bï‘<EFBFBD>\fKeyword\bï Š\vFolder\bï<EFBFBD>Š\tEnum\bï…<EFBFBD>\15EnumMember\bï…<EFBFBD>\nValue\b\rOperator\bïš”\rFunction\bïž”\rProperty\bï° \rConstant\b\vModule\bï’‡\18TypeParameter\5\14Interface\b\nClass\bï´¯\rVariable\b\nField\bï° \nEvent\b\16Constructor\bï<EFBFBD>£\vStruct\bï„\vMethod\b\tText\bï<EFBFBD>¾\14Reference\b\tFile\b\nColor\b\1\0\2\vpreset\rcodicons\tmode\16symbol_text\tinit\flspkind\frequire\0", "config", "lspkind-nvim")
|
||||||
|
time([[Config for lspkind-nvim]], false)
|
||||||
|
-- Config for: Comment.nvim
|
||||||
|
time([[Config for Comment.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")
|
||||||
|
time([[Config for Comment.nvim]], false)
|
||||||
|
-- Config for: nvim-notify
|
||||||
|
time([[Config for nvim-notify]], true)
|
||||||
|
try_loadstring("\27LJ\2\nM\0\1\5\0\4\0\a6\1\0\0009\1\1\0019\1\2\1\18\3\0\0005\4\3\0B\1\3\1K\0\1\0\1\0\1\14focusable\1\24nvim_win_set_config\bapi\bvimL\1\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0003\3\3\0=\3\5\2B\0\2\1K\0\1\0\fon_open\1\0\0\0\nsetup\vnotify\frequire\0", "config", "nvim-notify")
|
||||||
|
time([[Config for nvim-notify]], false)
|
||||||
|
-- Config for: nvim-tree.lua
|
||||||
|
time([[Config for nvim-tree.lua]], true)
|
||||||
|
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.nvim-tree\frequire\0", "config", "nvim-tree.lua")
|
||||||
|
time([[Config for nvim-tree.lua]], false)
|
||||||
|
-- Config for: fidget.nvim
|
||||||
|
time([[Config for fidget.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\n4\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\vfidget\frequire\0", "config", "fidget.nvim")
|
||||||
|
time([[Config for fidget.nvim]], false)
|
||||||
|
-- Config for: nvim-treesitter
|
||||||
|
time([[Config for nvim-treesitter]], true)
|
||||||
|
try_loadstring("\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23plugins.treesitter\frequire\0", "config", "nvim-treesitter")
|
||||||
|
time([[Config for nvim-treesitter]], false)
|
||||||
|
-- Config for: lsp_signature.nvim
|
||||||
|
time([[Config for lsp_signature.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\nX\0\0\4\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0B\1\2\1K\0\1\0\1\0\2\16hint_enable\1\fverbose\2\nsetup\18lsp_signature\frequire\0", "config", "lsp_signature.nvim")
|
||||||
|
time([[Config for lsp_signature.nvim]], false)
|
||||||
|
-- Config for: nvim-autopairs
|
||||||
|
time([[Config for nvim-autopairs]], true)
|
||||||
|
try_loadstring("\27LJ\2\n<\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs")
|
||||||
|
time([[Config for nvim-autopairs]], false)
|
||||||
|
-- Config for: LuaSnip
|
||||||
|
time([[Config for LuaSnip]], true)
|
||||||
|
try_loadstring("\27LJ\2\nM\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14lazy_load luasnip/loaders/from_vscode\frequire\0", "config", "LuaSnip")
|
||||||
|
time([[Config for LuaSnip]], false)
|
||||||
|
-- Config for: nvim-navic
|
||||||
|
time([[Config for nvim-navic]], true)
|
||||||
|
try_loadstring("\27LJ\2\n•\1\0\0\4\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0B\1\2\1K\0\1\0\1\0\5\14highlight\1\16safe_output\2\26depth_limit_indicator\a..\16depth_limit\4û¨¸½\4áõ‘ü\3\14separator\b > \nsetup\15nvim-navic\frequire\0", "config", "nvim-navic")
|
||||||
|
time([[Config for nvim-navic]], false)
|
||||||
|
-- Config for: null-ls.nvim
|
||||||
|
time([[Config for null-ls.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\20plugins.null-ls\frequire\0", "config", "null-ls.nvim")
|
||||||
|
time([[Config for null-ls.nvim]], false)
|
||||||
|
-- Config for: gitsigns.nvim
|
||||||
|
time([[Config for gitsigns.nvim]], true)
|
||||||
|
try_loadstring("\27LJ\2\nM\0\0\4\0\5\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0004\3\0\0=\3\4\2B\0\2\1K\0\1\0\fkeymaps\1\0\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim")
|
||||||
|
time([[Config for gitsigns.nvim]], false)
|
||||||
|
-- Config for: nvim-cmp
|
||||||
|
time([[Config for nvim-cmp]], 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.cmp\frequire\0", "config", "nvim-cmp")
|
||||||
|
time([[Config for nvim-cmp]], false)
|
||||||
|
|
||||||
|
_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
|
Loading…
Reference in New Issue