From 91c55684e1e952121a89f230e10fd0bf2f1e8d01 Mon Sep 17 00:00:00 2001 From: hok7z Date: Tue, 3 Jan 2023 21:13:09 +0200 Subject: [PATCH] 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 --- .config/nvim/init.lua | 6 +- .config/nvim/lua/core/globals.lua | 11 + .config/nvim/lua/core/keybinds.lua | 24 -- .config/nvim/lua/core/options.lua | 20 +- .config/nvim/lua/core/plugins.lua | 48 ++- .config/nvim/lua/core/statusline.lua | 1 + .config/nvim/lua/lsp/init.lua | 42 +-- .config/nvim/lua/lsp/servers/clangd.lua | 2 +- .config/nvim/lua/lsp/servers/html.lua | 17 + .config/nvim/lua/lsp/servers/tsserver.lua | 16 + .config/nvim/lua/plugins/barbar.lua | 66 ---- .config/nvim/lua/plugins/lualine.lua | 38 --- .config/nvim/lua/plugins/nvim-tree.lua | 117 +------ .config/nvim/lua/plugins/treesitter.lua | 48 ++- .config/nvim/plugin/packer_compiled.lua | 389 ++++++++++++++++++++++ 15 files changed, 554 insertions(+), 291 deletions(-) create mode 100644 .config/nvim/lua/core/globals.lua create mode 100644 .config/nvim/lua/lsp/servers/html.lua create mode 100644 .config/nvim/lua/lsp/servers/tsserver.lua delete mode 100644 .config/nvim/lua/plugins/barbar.lua delete mode 100644 .config/nvim/lua/plugins/lualine.lua create mode 100644 .config/nvim/plugin/packer_compiled.lua diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index bfc518d..f138a77 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1,8 +1,8 @@ -local core = {"options", "keybinds", "autocmds", "plugins"} +local core = {"options", "globals", "keybinds", "autocmds", "plugins"} for _,source in ipairs(core) do - local status_ok,fault = pcall(require,'core.' .. source) - if not status_ok then + local ok, fault = pcall(require,'core.' .. source) + if not ok then vim.notify("Failed to load " .. source .."\n\n" .. fault ) end end diff --git a/.config/nvim/lua/core/globals.lua b/.config/nvim/lua/core/globals.lua new file mode 100644 index 0000000..ba0201e --- /dev/null +++ b/.config/nvim/lua/core/globals.lua @@ -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 diff --git a/.config/nvim/lua/core/keybinds.lua b/.config/nvim/lua/core/keybinds.lua index 36db620..35132c9 100644 --- a/.config/nvim/lua/core/keybinds.lua +++ b/.config/nvim/lua/core/keybinds.lua @@ -8,36 +8,12 @@ vim.api.nvim_set_keymap('', '', '',{noremap = true}) keymap("n",",",":nohlsearch") --- tabs -keymap("n","tn",":tabnew ") -keymap("n","tc",":tabclose") - -- Telescope -- keymap("n","ff"," Telescope find_files ") keymap("n","fg"," Telescope live_grep ") keymap("n","fb"," Telescope buffers ") -keymap("n","fh"," Telescope help_tags ") -- NvimTree -- keymap("n","",":NvimTreeToggle") keymap("n","n",":NvimTreeFindFile") keymap("n","","gh defx#do_action('cd',getcwd())") - - --- barbar.nvim -keymap('n', '', ':BufferNext') -keymap('n', '', ':BufferPrevious') - - -keymap('n', '', ':BufferGoto 1') -keymap('n', '', ':BufferGoto 2') -keymap('n', '', ':BufferGoto 3') -keymap('n', '', ':BufferGoto 4') -keymap('n', '', ':BufferGoto 5') -keymap('n', '', ':BufferGoto 6') -keymap('n', '', ':BufferGoto 7') -keymap('n', '', ':BufferGoto 8') -keymap('n', '', ':BufferGoto 9') -keymap('n', '', ':BufferLast') - -keymap('n', '', ':BufferClose') diff --git a/.config/nvim/lua/core/options.lua b/.config/nvim/lua/core/options.lua index 2fa2fac..471c04c 100644 --- a/.config/nvim/lua/core/options.lua +++ b/.config/nvim/lua/core/options.lua @@ -5,10 +5,21 @@ if ok then vim.notify = notify 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.clipboard = "unnamedplus" opt.swapfile = false opt.number = true @@ -17,12 +28,11 @@ opt.relativenumber = true opt.list = true opt.listchars = {tab = '| '} +vim.g.lsp_path = os.getenv("HOME") .. "/.local/share/nvim/mason/bin/" + opt.tabstop = 4 opt.shiftwidth = 4 opt.expandtab = true opt.mouse = "a" vim.g.mapleader = " " - -vim.g.diagnostic_sings = {"", "", "", ""} -vim.g.lsp_path = os.getenv("HOME") .. "/.local/share/nvim/mason/bin/" diff --git a/.config/nvim/lua/core/plugins.lua b/.config/nvim/lua/core/plugins.lua index bf5b99b..220e7e8 100644 --- a/.config/nvim/lua/core/plugins.lua +++ b/.config/nvim/lua/core/plugins.lua @@ -1,4 +1,4 @@ -local ok,packer = pcall(require,"packer") +local ok, packer = pcall(require,"packer") if not ok then vim.notify("Failed to load packer\n\n") return @@ -22,11 +22,13 @@ packer.startup{ } -- Colorchemes - use {"catppuccin/nvim", as = "catppuccin"} - use {"tiagovla/tokyodark.nvim"} - use {"rebelot/kanagawa.nvim"} - use {"projekt0n/github-nvim-theme"} - use {"Mofiqul/vscode.nvim"} + -- use {"catppuccin/nvim", as = "catppuccin"} + -- use {"tiagovla/tokyodark.nvim"} + use {'Everblush/everblush.nvim',as = 'everblush'} + -- use {"frenzyexists/aquarium-vim"} + -- use {"rebelot/kanagawa.nvim"} + -- use {"projekt0n/github-nvim-theme"} + -- use {"Mofiqul/vscode.nvim"} use {"dstein64/vim-startuptime"} @@ -36,7 +38,16 @@ packer.startup{ 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 { "lewis6991/gitsigns.nvim", @@ -102,12 +113,6 @@ packer.startup{ end } - use { - 'romgrk/barbar.nvim', - requires = {'kyazdani42/nvim-web-devicons'}, - config = function() require("plugins.barbar") end - } - -- Language Server Protocol use { "neovim/nvim-lspconfig", @@ -117,7 +122,7 @@ packer.startup{ require("mason").setup() end } - + use { "hrsh7th/nvim-cmp", requires = { @@ -185,9 +190,18 @@ packer.startup{ use { - "SmiteshP/nvim-gps", - requires = "nvim-treesitter/nvim-treesitter", - config = function() require("nvim-gps").setup() end, + "SmiteshP/nvim-navic", + requires = {"neovim/nvim-lspconfig"}, + config = function() + local navic = require("nvim-navic") + navic.setup { + highlight = false, + separator = " > ", + depth_limit = 0.01, + depth_limit_indicator = "..", + safe_output = true + } + end, } use { diff --git a/.config/nvim/lua/core/statusline.lua b/.config/nvim/lua/core/statusline.lua index e69de29..8b13789 100644 --- a/.config/nvim/lua/core/statusline.lua +++ b/.config/nvim/lua/core/statusline.lua @@ -0,0 +1 @@ + diff --git a/.config/nvim/lua/lsp/init.lua b/.config/nvim/lua/lsp/init.lua index e050431..202bb94 100644 --- a/.config/nvim/lua/lsp/init.lua +++ b/.config/nvim/lua/lsp/init.lua @@ -1,25 +1,15 @@ -local ok, lsp = pcall(require,"lspconfig") -if not ok then - vim.notify("Failed to load lspconfig\n\n") - return -end +local lsp = require_mod("lspconfig") -local ok, mason_lsp = pcall(require, "mason-lspconfig") -if not ok then - vim.notify("Failed load mason-lspconfig") -end +local mason_lsp = require_mod("mason-lspconfig") + +local navic = require_mod("nvim-navic") local sign = vim.fn.sign_define local sign_name = {"Error","Warn","Info","Hint"} - -local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities.textDocument.foldingRange = { - dynamicRegistration = false, - lineFoldingOnly = true, -} - -vim.g.lsp_capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) +for k, icon in pairs(vim.g.diagnostic_sings) do + sign("DiagnosticSign" .. sign_name[k],{text=icon,texthl="DiagnosticSign" .. sign_name[k]}) +end vim.diagnostic.config { @@ -37,15 +27,25 @@ vim.g.lsp_handler = { ["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help,{border="rounded"}) } -for k, icon in pairs(vim.g.diagnostic_sings) do - sign("DiagnosticSign" .. sign_name[k],{text=icon,texthl="DiagnosticSign" .. sign_name[k]}) -end +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities.textDocument.completion.completionItem.snippetSupport = true +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) print("Attaching to:",client.name) local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr,...) end local opts = {noremap = true,silent=true} + + if client.server_capabilities.documentSymbolProvider then + navic.attach(client, bufnr) + end buf_set_keymap('n','gd','lua vim.lsp.buf.definition()',opts) buf_set_keymap('n','K', 'lua vim.lsp.buf.hover()',opts) @@ -67,8 +67,8 @@ for _, server in ipairs(servers) do vim.pretty_print(err) end else - vim.notify("Missing server configuration for " .. server,"error") vim.pretty_print({server = server, result = result}) + vim.notify("Missing server configuration for " .. server, "error") end end end diff --git a/.config/nvim/lua/lsp/servers/clangd.lua b/.config/nvim/lua/lsp/servers/clangd.lua index b97e2ac..21e163a 100644 --- a/.config/nvim/lua/lsp/servers/clangd.lua +++ b/.config/nvim/lua/lsp/servers/clangd.lua @@ -3,8 +3,8 @@ return { on_attach = vim.g.lsp_on_attach, handlers = vim.g.lsp_handlers, - capabilities = vim.g.lsp_capabilities, + root_dir = require"lspconfig.util".root_pattern{ "CMakeList.txt", "compile_flags.txt", diff --git a/.config/nvim/lua/lsp/servers/html.lua b/.config/nvim/lua/lsp/servers/html.lua new file mode 100644 index 0000000..6ae86b4 --- /dev/null +++ b/.config/nvim/lua/lsp/servers/html.lua @@ -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 + }, +} diff --git a/.config/nvim/lua/lsp/servers/tsserver.lua b/.config/nvim/lua/lsp/servers/tsserver.lua new file mode 100644 index 0000000..4f0c942 --- /dev/null +++ b/.config/nvim/lua/lsp/servers/tsserver.lua @@ -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", + }, +} diff --git a/.config/nvim/lua/plugins/barbar.lua b/.config/nvim/lua/plugins/barbar.lua deleted file mode 100644 index ef7d97d..0000000 --- a/.config/nvim/lua/plugins/barbar.lua +++ /dev/null @@ -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, -} diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua deleted file mode 100644 index d05a078..0000000 --- a/.config/nvim/lua/plugins/lualine.lua +++ /dev/null @@ -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 = {} -} diff --git a/.config/nvim/lua/plugins/nvim-tree.lua b/.config/nvim/lua/plugins/nvim-tree.lua index 38ec579..ae4092d 100644 --- a/.config/nvim/lua/plugins/nvim-tree.lua +++ b/.config/nvim/lua/plugins/nvim-tree.lua @@ -4,125 +4,20 @@ if not ok then return end -nvim_tree.setup { - auto_reload_on_write = true, - 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, - +nvim_tree.setup({ + sort_by = "case_sensitive", view = { - width = 30, - -- height = 30, - hide_root_folder = false, - side = "left", - preserve_window_proportions = false, - number = false, - relativenumber = false, - signcolumn = "yes", + adaptive_size = true, mappings = { - custom_only = false, - list = {}, + list = {{ key = "u", action = "dir_up" }}, }, }, renderer = { - indent_markers = { - 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 = "", - }, + group_empty = true, }, filters = { 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, - }, - }, -} +}) diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index 8637897..2674533 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -13,14 +13,52 @@ nvim_treesitter_configs.setup { enable = false, 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 = { - "c", - "cpp", - "vim", "lua", - "bash", + "fish", "python", - "go" + "go", + "javascript", + "css", + "html", + "c", + "cpp" }, } diff --git a/.config/nvim/plugin/packer_compiled.lua b/.config/nvim/plugin/packer_compiled.lua new file mode 100644 index 0000000..6d6e75f --- /dev/null +++ b/.config/nvim/plugin/packer_compiled.lua @@ -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\fKeyword\b\vFolder\b\tEnum\b\15EnumMember\b\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\vStruct\bפּ\vMethod\b\tText\b\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\fKeyword\b\vFolder\b\tEnum\b\15EnumMember\b\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\vStruct\bפּ\vMethod\b\tText\b\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