diff --git a/.gitmodules b/.gitmodules index 5bb8b14..118d826 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,30 +1,18 @@ [submodule "nvim/pack/colors/start/molokai"] path = nvim/pack/colors/start/molokai url = https://github.com/tomasr/molokai.git -[submodule "nvim/pack/plugins/start/nvim-treesitter"] - path = nvim/pack/plugins/start/nvim-treesitter - url = https://github.com/nvim-treesitter/nvim-treesitter.git -[submodule "nvim/pack/plugins/start/lualine.nvim"] - path = nvim/pack/plugins/start/lualine.nvim - url = https://github.com/nvim-lualine/lualine.nvim.git [submodule "nvim/pack/plugins/start/vim-commentary"] path = nvim/pack/plugins/start/vim-commentary url = https://github.com/tpope/vim-commentary.git -[submodule "nvim/pack/plugins/start/nvim-lspconfig"] - path = nvim/pack/plugins/start/nvim-lspconfig - url = https://github.com/neovim/nvim-lspconfig.git [submodule "nvim/pack/syntaxes/start/vim-python-pep8-indent"] path = nvim/pack/syntaxes/start/vim-python-pep8-indent url = https://github.com/Vimjas/vim-python-pep8-indent [submodule "nvim/pack/plugins/start/nvim-snippy"] path = nvim/pack/plugins/start/nvim-snippy url = https://github.com/dcampos/nvim-snippy.git -[submodule "nvim/pack/plugins/start/telescope.nvim"] - path = nvim/pack/plugins/start/telescope.nvim - url = https://github.com/nvim-telescope/telescope.nvim.git -[submodule "nvim/pack/plugins/start/plenary.nvim"] - path = nvim/pack/plugins/start/plenary.nvim - url = https://github.com/nvim-lua/plenary.nvim.git [submodule "nvim/pack/plugins/start/nvim-autopairs"] path = nvim/pack/plugins/start/nvim-autopairs url = https://github.com/windwp/nvim-autopairs.git +[submodule "nvim/pack/packer/start/packer.nvim"] + path = nvim/pack/packer/start/packer.nvim + url = https://github.com/wbthomason/packer.nvim.git diff --git a/nvim/init.lua b/nvim/init.lua index 512cfdb..6b1dbbc 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -21,123 +21,22 @@ vim.cmd [[ -- Keybind: use '-' to open the file explorer vim.api.nvim_set_keymap('n', '-', ':Ex', { noremap=true, silent=true }) --- lsp configuration -local nvim_lsp = require('lspconfig') -local function buf_set_keymap(...) - vim.api.nvim_buf_set_keymap(bufnr, ...) -end -local opts = { noremap=true, silent=true } - -local on_attach = function(client, bufnr) - -- let's use the lsp filetype attach to set buffer (and window) options - vim.bo.expandtab = true - vim.bo.tabstop = 4 - vim.bo.shiftwidth = 4 - vim.bo.softtabstop = 4 - vim.bo.textwidth = 79 - - vim.wo.number = true - vim.wo.colorcolumn = '80' - - vim.diagnostic.config({signs = false}) - - buf_set_keymap('n', 'gD', 'lua vim.lsp.buf.declaration()', opts) - buf_set_keymap('n', 'gd', 'lua vim.lsp.buf.definition()', opts) - buf_set_keymap('n', 'gF', 'lua vim.lsp.buf.formatting()', opts) - buf_set_keymap('n', 'gR', 'lua vim.lsp.buf.rename()', opts) - buf_set_keymap('n', 'g?', 'lua vim.lsp.buf.code_action()', opts) - buf_set_keymap('n', 'gp', 'lua vim.lsp.buf.completion()', opts) - buf_set_keymap('n', 'ge', 'lua vim.diagnostic.open_float()', opts) - - if client.resolved_capabilities.document_formatting then - vim.api.nvim_command [[augroup Format]] - vim.api.nvim_command [[autocmd! * ]] - vim.api.nvim_command [[autocmd BufWritePre lua vim.lsp.buf.formatting_seq_sync()]] - vim.api.nvim_command [[augroup END]] - end -end - --- attach the keymaps --- lsp servers/languages configuration -nvim_lsp.rust_analyzer.setup { - on_attach = on_attach -} - -nvim_lsp.pyright.setup { - on_attach = on_attach -} - --- treesitter -require 'nvim-treesitter.configs'.setup { - ensure_installed = 'maintained', - sync_install = false, - highlight = { - enable = true, - }, -} - --- lualine (better statusline) -require 'lualine'.setup { - options = { - icons_enabled = true, - -- theme = 'ayu_dark', - theme = 'ayu_mirage', - component_separators = { left = '', right = '' }, - section_separators = { left = '', right = '' }, - disabled_filetypes = {}, - always_divide_middle = true, - }, - sections = { - lualine_a = {'mode'}, - lualine_b = {'filename', 'branch'}, - lualine_c = { - { - 'diagnostics', - symbols = {error = 'Errors:', warn = 'Warns:', info = 'Info:', hint = 'Hints:'}, - sources = { 'nvim_diagnostic' } - } - }, - lualine_w = {'encoding'}, - lualine_x = {'filetype'}, - lualine_y = {'progress'}, - lualine_z = {'location'} - }, - inactive_sections = { - lualine_a = {}, - lualine_b = {}, - lualine_c = {'filename'}, - lualine_x = {'location'}, - lualine_y = {}, - lualine_z = {} - }, - tabline = { - lualine_a = {'tabs'}, - lualine_b = {}, - lualine_c = {}, - lualine_x = {}, - lualine_y = {}, - lualine_z = {} - }, - extensions = {} -} - --- nvim-snippy -require('snippy').setup({ - mappings = { - is = { - [''] = 'expand_or_advance', - [''] = 'previous', - }, - nx = { - ['x'] = 'cut_text', - }, - }, -}) - --- Telescope -require('telescope').setup{} -vim.api.nvim_set_keymap('n', '', 'Telescope find_files', { noremap = true, silent = true }) -vim.api.nvim_set_keymap('n', 'g', 'Telescope live_grep', { noremap = true, silent = true }) - --- Auto-pairs -require('nvim-autopairs').setup{} +-- Don't show signs on diagnostics +vim.diagnostic.config({signs = false}) + +-- My plugins and their configuration +require('plugins') + + +-- -- nvim-snippy +-- require('snippy').setup({ +-- mappings = { +-- is = { +-- [''] = 'expand_or_advance', +-- [''] = 'previous', +-- }, +-- nx = { +-- ['x'] = 'cut_text', +-- }, +-- }, +-- }) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua new file mode 100644 index 0000000..3acb404 --- /dev/null +++ b/nvim/lua/plugins.lua @@ -0,0 +1,118 @@ +vim.cmd [[packadd packer.nvim]] + +return require('packer').startup(function() + -- packer + use 'wbthomason/packer.vim' + + -- lspconfig + use { + 'neovim/nvim-lspconfig', + config = function() + local attachment = function(client, bufnr) + local opts = { noremap=true, silent=true } + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gD', 'lua vim.lsp.buf.declaration()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', 'lua vim.lsp.buf.definition()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'K', 'lua vim.lsp.buf.hover()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gi', 'lua vim.lsp.buf.implementation()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', '', 'lua vim.lsp.buf.signature_help()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'wa', 'lua vim.lsp.buf.add_workspace_folder()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'wr', 'lua vim.lsp.buf.remove_workspace_folder()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'wl', 'lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'D', 'lua vim.lsp.buf.type_definition()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'rn', 'lua vim.lsp.buf.rename()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'ca', 'lua vim.lsp.buf.code_action()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gr', 'lua vim.lsp.buf.references()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'f', 'lua vim.lsp.buf.formatting()', opts) + + if client.resolved_capabilities.document_formatting then + vim.api.nvim_command [[augroup Format]] + vim.api.nvim_command [[autocmd! * ]] + vim.api.nvim_command [[autocmd BufWritePre lua vim.lsp.buf.formatting_seq_sync()]] + vim.api.nvim_command [[augroup END]] + end + end + + local servers = { 'pyright', 'rust_analyzer', 'clangd' } + for _, lsp in pairs(servers) do + require('lspconfig')[lsp].setup { + on_attach = attachment + } + end + end, + } + + -- treesitter + use { + 'nvim-treesitter/nvim-treesitter', + config = function() + require('nvim-treesitter.configs').setup { + ensure_installed = 'maintained', + sync_install = false, + highlight = { + enable = true, + }, + } + end, + } + + -- status line + use { + 'nvim-lualine/lualine.nvim', + config = function() + require('lualine').setup { + options = { + icons_enabled = true, + -- theme = 'ayu_dark', + theme = 'ayu_mirage', + component_separators = { left = '', right = '' }, + section_separators = { left = '', right = '' }, + disabled_filetypes = {}, + always_divide_middle = true, + }, + sections = { + lualine_a = {'mode'}, + lualine_b = {'filename', 'branch'}, + lualine_c = { + { + 'diagnostics', + symbols = {error = 'Errors:', warn = 'Warns:', info = 'Info:', hint = 'Hints:'}, + sources = { 'nvim_diagnostic' } + } + }, + lualine_w = {'encoding'}, + lualine_x = {'filetype'}, + lualine_y = {'progress'}, + lualine_z = {'location'} + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = {'filename'}, + lualine_x = {'location'}, + lualine_y = {}, + lualine_z = {} + }, + tabline = { + lualine_a = {'tabs'}, + lualine_b = {}, + lualine_c = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = {} + }, + extensions = {} + } + end + } + + use { + 'nvim-telescope/telescope.nvim', + requires = { {'nvim-lua/plenary.nvim'} }, + config = function() + vim.api.nvim_set_keymap('n', '', 'Telescope find_files', { noremap = true, silent = true }) + vim.api.nvim_set_keymap('n', 'g', 'Telescope live_grep', { noremap = true, silent = true }) + end, + } + + use 'windwp/nvim-autopairs' +end) diff --git a/nvim/pack/packer/start/packer.nvim b/nvim/pack/packer/start/packer.nvim new file mode 160000 index 0000000..4dedd3b --- /dev/null +++ b/nvim/pack/packer/start/packer.nvim @@ -0,0 +1 @@ +Subproject commit 4dedd3b08f8c6e3f84afbce0c23b66320cd2a8f2 diff --git a/nvim/pack/plugins/start/lualine.nvim b/nvim/pack/plugins/start/lualine.nvim deleted file mode 160000 index 88a44ad..0000000 --- a/nvim/pack/plugins/start/lualine.nvim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 88a44ade818f9ee7ba730aa4096250e22b243808 diff --git a/nvim/pack/plugins/start/nvim-lspconfig b/nvim/pack/plugins/start/nvim-lspconfig deleted file mode 160000 index 710deb0..0000000 --- a/nvim/pack/plugins/start/nvim-lspconfig +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 710deb04d9f8b73517e1d995a57a1505cbbaac51 diff --git a/nvim/pack/plugins/start/nvim-treesitter b/nvim/pack/plugins/start/nvim-treesitter deleted file mode 160000 index 4fa30b5..0000000 --- a/nvim/pack/plugins/start/nvim-treesitter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4fa30b5249728b0c5e630525f2e7957a25796202 diff --git a/nvim/pack/plugins/start/plenary.nvim b/nvim/pack/plugins/start/plenary.nvim deleted file mode 160000 index 14dfb40..0000000 --- a/nvim/pack/plugins/start/plenary.nvim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 14dfb4071022b22e08384ee125a5607464b6d397 diff --git a/nvim/pack/plugins/start/telescope.nvim b/nvim/pack/plugins/start/telescope.nvim deleted file mode 160000 index a36a813..0000000 --- a/nvim/pack/plugins/start/telescope.nvim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a36a813d5d031e6f5d52b74986915e68130febd9 diff --git a/nvim/plugin/packer_compiled.lua b/nvim/plugin/packer_compiled.lua new file mode 100644 index 0000000..1f6fa5b --- /dev/null +++ b/nvim/plugin/packer_compiled.lua @@ -0,0 +1,137 @@ +-- 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() + + 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 + + _G._packer = _G._packer or {} + _G._packer.profile_output = results +end + +time([[Luarocks path setup]], true) +local package_path_str = "/var/home/diax/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/var/home/diax/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/var/home/diax/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/var/home/diax/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/var/home/diax/.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 = { + ["lualine.nvim"] = { + config = { "\27LJ\2\n\6\0\0\a\0'\0C6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\t\0005\3\3\0005\4\4\0=\4\5\0035\4\6\0=\4\a\0034\4\0\0=\4\b\3=\3\n\0025\3\f\0005\4\v\0=\4\r\0035\4\14\0=\4\15\0034\4\3\0005\5\16\0005\6\17\0=\6\18\0055\6\19\0=\6\20\5>\5\1\4=\4\21\0035\4\22\0=\4\23\0035\4\24\0=\4\25\0035\4\26\0=\4\27\0035\4\28\0=\4\29\3=\3\30\0025\3\31\0004\4\0\0=\4\r\0034\4\0\0=\4\15\0035\4 \0=\4\21\0035\4!\0=\4\25\0034\4\0\0=\4\27\0034\4\0\0=\4\29\3=\3\"\0025\3$\0005\4#\0=\4\r\0034\4\0\0=\4\15\0034\4\0\0=\4\21\0034\4\0\0=\4\25\0034\4\0\0=\4\27\0034\4\0\0=\4\29\3=\3%\0024\3\0\0=\3&\2B\0\2\1K\0\1\0\15extensions\ftabline\1\0\0\1\2\0\0\ttabs\22inactive_sections\1\2\0\0\rlocation\1\2\0\0\rfilename\1\0\0\rsections\14lualine_z\1\2\0\0\rlocation\14lualine_y\1\2\0\0\rprogress\14lualine_x\1\2\0\0\rfiletype\14lualine_w\1\2\0\0\rencoding\14lualine_c\fsources\1\2\0\0\20nvim_diagnostic\fsymbols\1\0\4\twarn\vWarns:\nerror\fErrors:\tinfo\nInfo:\thint\vHints:\1\2\0\0\16diagnostics\14lualine_b\1\3\0\0\rfilename\vbranch\14lualine_a\1\0\0\1\2\0\0\tmode\foptions\1\0\0\23disabled_filetypes\23section_separators\1\0\2\nright\5\tleft\5\25component_separators\1\0\2\nright\5\tleft\5\1\0\3\25always_divide_middle\2\ntheme\15ayu_mirage\18icons_enabled\2\nsetup\flualine\frequire\0" }, + loaded = true, + path = "/var/home/diax/.local/share/nvim/site/pack/packer/start/lualine.nvim", + url = "https://github.com/nvim-lualine/lualine.nvim" + }, + ["nvim-autopairs"] = { + loaded = true, + path = "/var/home/diax/.local/share/nvim/site/pack/packer/start/nvim-autopairs", + url = "https://github.com/windwp/nvim-autopairs" + }, + ["nvim-lspconfig"] = { + config = { "\27LJ\2\n\v\0\2\n\0&\0\0015\2\0\0006\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\5\0'\b\6\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\a\0'\b\b\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\t\0'\b\n\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\v\0'\b\f\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\r\0'\b\14\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\15\0'\b\16\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\17\0'\b\18\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\19\0'\b\20\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\21\0'\b\22\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\23\0'\b\24\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\25\0'\b\26\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\27\0'\b\28\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\29\0'\b\30\0\18\t\2\0B\3\6\0019\3\31\0009\3 \3\15\0\3\0X\4\206\3\1\0009\3\2\0039\3!\3'\5\"\0B\3\2\0016\3\1\0009\3\2\0039\3!\3'\5#\0B\3\2\0016\3\1\0009\3\2\0039\3!\3'\5$\0B\3\2\0016\3\1\0009\3\2\0039\3!\3'\5%\0B\3\2\1K\0\1\0\16augroup ENDGautocmd BufWritePre lua vim.lsp.buf.formatting_seq_sync()\24autocmd! * \19augroup Format\17nvim_command\24document_formatting\26resolved_capabilities*lua vim.lsp.buf.formatting()\rf*lua vim.lsp.buf.references()\agr+lua vim.lsp.buf.code_action()\14ca&lua vim.lsp.buf.rename()\14rn/lua vim.lsp.buf.type_definition()\rDJlua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))\14wl7lua vim.lsp.buf.remove_workspace_folder()\14wr4lua vim.lsp.buf.add_workspace_folder()\14wa.lua vim.lsp.buf.signature_help()\n.lua vim.lsp.buf.implementation()\agi%lua vim.lsp.buf.hover()\6K*lua vim.lsp.buf.definition()\agd+lua vim.lsp.buf.declaration()\agD\6n\24nvim_buf_set_keymap\bapi\bvim\1\0\2\fnoremap\2\vsilent\2\1\1\0\n\0\b\0\0173\0\0\0005\1\1\0006\2\2\0\18\4\1\0B\2\2\4H\5\b6\a\3\0'\t\4\0B\a\2\0028\a\6\a9\a\5\a5\t\6\0=\0\a\tB\a\2\1F\5\3\3R\5K\0\1\0\14on_attach\1\0\0\nsetup\14lspconfig\frequire\npairs\1\4\0\0\fpyright\18rust_analyzer\vclangd\0\0" }, + loaded = true, + path = "/var/home/diax/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" + }, + ["nvim-treesitter"] = { + config = { "\27LJ\2\n\1\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\1K\0\1\0\14highlight\1\0\1\venable\2\1\0\2\21ensure_installed\15maintained\17sync_install\1\nsetup\28nvim-treesitter.configs\frequire\0" }, + loaded = true, + path = "/var/home/diax/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + url = "https://github.com/nvim-treesitter/nvim-treesitter" + }, + ["packer.vim"] = { + loaded = true, + path = "/var/home/diax/.local/share/nvim/site/pack/packer/start/packer.vim", + url = "https://github.com/wbthomason/packer.vim" + }, + ["plenary.nvim"] = { + loaded = true, + path = "/var/home/diax/.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\6\0\n\0\0176\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\a\0'\4\b\0005\5\t\0B\0\5\1K\0\1\0\1\0\2\fnoremap\2\vsilent\2!Telescope live_grep\14g\1\0\2\fnoremap\2\vsilent\2\"Telescope find_files\20\6n\20nvim_set_keymap\bapi\bvim\0" }, + loaded = true, + path = "/var/home/diax/.local/share/nvim/site/pack/packer/start/telescope.nvim", + url = "https://github.com/nvim-telescope/telescope.nvim" + } +} + +time([[Defining packer_plugins]], false) +-- Config for: telescope.nvim +time([[Config for telescope.nvim]], true) +try_loadstring("\27LJ\2\n\1\0\0\6\0\n\0\0176\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\a\0'\4\b\0005\5\t\0B\0\5\1K\0\1\0\1\0\2\fnoremap\2\vsilent\2!Telescope live_grep\14g\1\0\2\fnoremap\2\vsilent\2\"Telescope find_files\20\6n\20nvim_set_keymap\bapi\bvim\0", "config", "telescope.nvim") +time([[Config for telescope.nvim]], false) +-- Config for: nvim-lspconfig +time([[Config for nvim-lspconfig]], true) +try_loadstring("\27LJ\2\n\v\0\2\n\0&\0\0015\2\0\0006\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\5\0'\b\6\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\a\0'\b\b\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\t\0'\b\n\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\v\0'\b\f\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\r\0'\b\14\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\15\0'\b\16\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\17\0'\b\18\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\19\0'\b\20\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\21\0'\b\22\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\23\0'\b\24\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\25\0'\b\26\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\27\0'\b\28\0\18\t\2\0B\3\6\0016\3\1\0009\3\2\0039\3\3\3\18\5\1\0'\6\4\0'\a\29\0'\b\30\0\18\t\2\0B\3\6\0019\3\31\0009\3 \3\15\0\3\0X\4\206\3\1\0009\3\2\0039\3!\3'\5\"\0B\3\2\0016\3\1\0009\3\2\0039\3!\3'\5#\0B\3\2\0016\3\1\0009\3\2\0039\3!\3'\5$\0B\3\2\0016\3\1\0009\3\2\0039\3!\3'\5%\0B\3\2\1K\0\1\0\16augroup ENDGautocmd BufWritePre lua vim.lsp.buf.formatting_seq_sync()\24autocmd! * \19augroup Format\17nvim_command\24document_formatting\26resolved_capabilities*lua vim.lsp.buf.formatting()\rf*lua vim.lsp.buf.references()\agr+lua vim.lsp.buf.code_action()\14ca&lua vim.lsp.buf.rename()\14rn/lua vim.lsp.buf.type_definition()\rDJlua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))\14wl7lua vim.lsp.buf.remove_workspace_folder()\14wr4lua vim.lsp.buf.add_workspace_folder()\14wa.lua vim.lsp.buf.signature_help()\n.lua vim.lsp.buf.implementation()\agi%lua vim.lsp.buf.hover()\6K*lua vim.lsp.buf.definition()\agd+lua vim.lsp.buf.declaration()\agD\6n\24nvim_buf_set_keymap\bapi\bvim\1\0\2\fnoremap\2\vsilent\2\1\1\0\n\0\b\0\0173\0\0\0005\1\1\0006\2\2\0\18\4\1\0B\2\2\4H\5\b6\a\3\0'\t\4\0B\a\2\0028\a\6\a9\a\5\a5\t\6\0=\0\a\tB\a\2\1F\5\3\3R\5K\0\1\0\14on_attach\1\0\0\nsetup\14lspconfig\frequire\npairs\1\4\0\0\fpyright\18rust_analyzer\vclangd\0\0", "config", "nvim-lspconfig") +time([[Config for nvim-lspconfig]], false) +-- Config for: lualine.nvim +time([[Config for lualine.nvim]], true) +try_loadstring("\27LJ\2\n\6\0\0\a\0'\0C6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\t\0005\3\3\0005\4\4\0=\4\5\0035\4\6\0=\4\a\0034\4\0\0=\4\b\3=\3\n\0025\3\f\0005\4\v\0=\4\r\0035\4\14\0=\4\15\0034\4\3\0005\5\16\0005\6\17\0=\6\18\0055\6\19\0=\6\20\5>\5\1\4=\4\21\0035\4\22\0=\4\23\0035\4\24\0=\4\25\0035\4\26\0=\4\27\0035\4\28\0=\4\29\3=\3\30\0025\3\31\0004\4\0\0=\4\r\0034\4\0\0=\4\15\0035\4 \0=\4\21\0035\4!\0=\4\25\0034\4\0\0=\4\27\0034\4\0\0=\4\29\3=\3\"\0025\3$\0005\4#\0=\4\r\0034\4\0\0=\4\15\0034\4\0\0=\4\21\0034\4\0\0=\4\25\0034\4\0\0=\4\27\0034\4\0\0=\4\29\3=\3%\0024\3\0\0=\3&\2B\0\2\1K\0\1\0\15extensions\ftabline\1\0\0\1\2\0\0\ttabs\22inactive_sections\1\2\0\0\rlocation\1\2\0\0\rfilename\1\0\0\rsections\14lualine_z\1\2\0\0\rlocation\14lualine_y\1\2\0\0\rprogress\14lualine_x\1\2\0\0\rfiletype\14lualine_w\1\2\0\0\rencoding\14lualine_c\fsources\1\2\0\0\20nvim_diagnostic\fsymbols\1\0\4\twarn\vWarns:\nerror\fErrors:\tinfo\nInfo:\thint\vHints:\1\2\0\0\16diagnostics\14lualine_b\1\3\0\0\rfilename\vbranch\14lualine_a\1\0\0\1\2\0\0\tmode\foptions\1\0\0\23disabled_filetypes\23section_separators\1\0\2\nright\5\tleft\5\25component_separators\1\0\2\nright\5\tleft\5\1\0\3\25always_divide_middle\2\ntheme\15ayu_mirage\18icons_enabled\2\nsetup\flualine\frequire\0", "config", "lualine.nvim") +time([[Config for lualine.nvim]], false) +-- Config for: nvim-treesitter +time([[Config for nvim-treesitter]], true) +try_loadstring("\27LJ\2\n\1\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\1K\0\1\0\14highlight\1\0\1\venable\2\1\0\2\21ensure_installed\15maintained\17sync_install\1\nsetup\28nvim-treesitter.configs\frequire\0", "config", "nvim-treesitter") +time([[Config for nvim-treesitter]], 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