diff --git a/.gitignore b/.gitignore index 5d9095b..5e76e4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ vim/.vim/.netrwhist +nvim/.local/share/nvim/site/pack diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua new file mode 100644 index 0000000..da9effe --- /dev/null +++ b/nvim/.config/nvim/init.lua @@ -0,0 +1,105 @@ +require('plugins') + + +vim.cmd([[ + augroup packer_user_config + autocmd! + autocmd BufWritePost plugins.lua source | PackerCompile + augroup end +]]) + +------------- +-- Options -- +-- ---------- + +vim.opt.completeopt = {'menuone', 'noinsert', 'noselect'} -- Completion options (for deoplete) +vim.opt.ignorecase = true +vim.opt.number = true +vim.opt.smartcase = true +vim.opt.mouse = 'a' +vim.opt.background = 'dark' +vim.opt.tabstop= 2 +vim.opt.softtabstop = 2 +vim.opt.shiftwidth= 2 +vim.opt.expandtab = true +vim.opt.autoindent = true +vim.opt.copyindent= true +vim.opt.termguicolors = true +vim.cmd([[colorscheme gruvbox]]) + + +--------------------- +--Global Varialbles-- +--------------------- + +vim.g.airline_powerline_font = true +vim.g.easyescape_chars = { + j = 1, + k = 1 +} +vim.g.easyescape_timeout = 100 +vim.g.python3_host_prog='/usr/bin/python3' +vim.g.python_host_prog='/usr/bin/python' + +------------ +--Mappings-- +------------ + +vim.g.mapleader= ' ' + +-- Copy and paste with system clipboard + +vim.api.nvim_set_keymap('v', '', '"+y', {noremap = true}) +vim.api.nvim_set_keymap('i', '', '+', {noremap = true}) + +vim.api.nvim_set_keymap('i', 'jk','', {noremap = true}) +vim.api.nvim_set_keymap('i', 'kj','', {noremap = true}) + +vim.api.nvim_set_keymap('n', '',':NvimTreeToggle', {noremap = true}) +vim.api.nvim_set_keymap('n', 'r',':NvimTreeRefresh', {noremap = true}) +vim.api.nvim_set_keymap('n', 'n',':NvimTreeFindFile', {noremap = true}) +vim.api.nvim_set_keymap('n', ' ',':BufferPicleaderk', {noremap = true}) +vim.api.nvim_set_keymap('c', 'w!!','w !sudo tee > /dev/null %', {noremap = true}) + + local cmp = require'cmp' + cmp.setup({ + snippet = { + -- REQUIRED - you must specify a snippet engine + expand = function(args) + vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users. + end, + }, + mapping = { + [''] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }), + [''] = cmp.mapping(cmp.mapping.scroll_docs(4), { 'i', 'c' }), + [''] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }), + [''] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `` mapping. + [''] = cmp.mapping({ + i = cmp.mapping.abort(), + c = cmp.mapping.close(), + }), + [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + }, + sources = cmp.config.sources({ + { name = 'nvim_lsp' }, + { name = 'ultisnips' }, -- For ultisnips users. + }, { + { name = 'buffer' }, + }) + }) + + -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore). + cmp.setup.cmdline('/', { + sources = { + { name = 'buffer' } + } + }) + + -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). + cmp.setup.cmdline(':', { + sources = cmp.config.sources({ + { name = 'path' } + }, { + { name = 'cmdline' } + }) + }) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim.old similarity index 100% rename from nvim/.config/nvim/init.vim rename to nvim/.config/nvim/init.vim.old diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua new file mode 100644 index 0000000..38a41bd --- /dev/null +++ b/nvim/.config/nvim/lua/plugins.lua @@ -0,0 +1,148 @@ + +------------- +-- Plugins -- +------------- + +-- Auto install plugin manager + +local fn = vim.fn +local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' +if fn.empty(fn.glob(install_path)) > 0 then + packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) +end + +return require('packer').startup { + function(use) + + + use 'wbthomason/packer.nvim' + + use { + 'lewis6991/gitsigns.nvim', + requires = { + 'nvim-lua/plenary.nvim' + }, + config = function() + require('gitsigns').setup({ + }) + end + } + + use 'ellisonleao/gruvbox.nvim' + + + use 'zhou13/vim-easyescape' + + + use { + 'iamcco/markdown-preview.nvim', + run = function() + vim.fn['mkdp#util#install'](0) + end, + ft = { + 'markdown' + }, + config = function() + vim.api.nvim_set_keymap('n', 'mp', ':MarkdownPreviewToggle', {noremap = true, silent = true}) + end + } + + -- Fuzzy search + use { + 'junegunn/fzf.vim', + requires = { + 'junegunn/fzf' + }, + config = function() + vim.g.fzf_buffers_jump = 1 + vim.api.nvim_set_keymap('n', '', ':Buffers!', {noremap = true}) + vim.api.nvim_set_keymap('n', 'ff', ':Files!\'', {noremap = true}) + vim.api.nvim_set_keymap('n', 'f.', ':Files! '..vim.fn.expand('%:p:h'), {noremap = true}) + vim.api.nvim_set_keymap('n', 'f/', ':Rg!', {noremap = true}) + vim.api.nvim_set_keymap('n', 'fg', ':GFiles!', {noremap = true}) + end + } + + -- Show indent line + use { + "lukas-reineke/indent-blankline.nvim", + config = function() + require("indent_blankline").setup { + char = "▏", + show_first_indent_level = false, + show_trailing_blankline_indent = false, + } + end + } + -- Autocomplete + use { + 'hrsh7th/nvim-cmp', + requires = { + -- sources + 'neovim/nvim-lspconfig', + 'hrsh7th/cmp-nvim-lsp', + 'hrsh7th/cmp-buffer', + 'hrsh7th/cmp-cmdline', + 'hrsh7th/cmp-nvim-lsp', + 'hrsh7th/cmp-path', + + -- snippets + 'SirVer/ultisnips', + -- pictograms + 'onsails/lspkind-nvim' + } + } + + -- File manager + use({ + "kyazdani42/nvim-tree.lua", + requires = "kyazdani42/nvim-web-devicons", + config = function() + vim.api.nvim_set_keymap("n", "t", "NvimTreeToggle", {}) + require("nvim-tree").setup({ + auto_close = true, + update_focused_file = { + enable = true, + }, + view = { + width = 40, + }, + }) + end, + }) + + use({ + "folke/which-key.nvim", + config = function() + vim.api.nvim_set_option("timeoutlen", 300) + require("which-key").setup({}) + end, + }) + + use 'AckslD/nvim-whichkey-setup.lua' + use 'romgrk/barbar.nvim' + use 'famiu/feline.nvim' + use 'yamatsum/nvim-cursorline' + use 'freitass/todo.txt-vim' + + use 'tpope/vim-fugitive' + + use ({ + 'windwp/nvim-autopairs', + config = function() + require('nvim-autopairs').setup{} + end + }) + + use({ + 'nvim-treesitter/nvim-treesitter', + run = ':TSUpdate', + }) + + if packer_bootstrap then + require('packer').sync() + end + end +} + + diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua new file mode 100644 index 0000000..e7aa548 --- /dev/null +++ b/nvim/.config/nvim/plugin/packer_compiled.lua @@ -0,0 +1,261 @@ +-- 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 = "/home/vincent/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/home/vincent/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/home/vincent/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/home/vincent/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/vincent/.cache/nvim/packer_hererocks/2.0.5/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 = { + ["barbar.nvim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/barbar.nvim", + url = "https://github.com/romgrk/barbar.nvim" + }, + ["cmp-buffer"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/cmp-buffer", + url = "https://github.com/hrsh7th/cmp-buffer" + }, + ["cmp-cmdline"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/cmp-cmdline", + url = "https://github.com/hrsh7th/cmp-cmdline" + }, + ["cmp-nvim-lsp"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + url = "https://github.com/hrsh7th/cmp-nvim-lsp" + }, + ["cmp-path"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/cmp-path", + url = "https://github.com/hrsh7th/cmp-path" + }, + ["feline.nvim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/feline.nvim", + url = "https://github.com/famiu/feline.nvim" + }, + fzf = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/fzf", + url = "https://github.com/junegunn/fzf" + }, + ["fzf.vim"] = { + config = { "\27LJ\1\2\3\0\0\6\0\24\00034\0\0\0007\0\1\0'\1\1\0:\1\2\0004\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\6\0%\3\a\0003\4\b\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\t\0%\3\n\0003\4\v\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\f\0%\3\r\0004\4\0\0007\4\14\0047\4\15\4%\5\16\0>\4\2\2$\3\4\0033\4\17\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\18\0%\3\19\0003\4\20\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\21\0%\3\22\0003\4\23\0>\0\5\1G\0\1\0\1\0\1\fnoremap\2\17:GFiles!\15fg\1\0\1\fnoremap\2\r:Rg!\15f/\1\0\1\fnoremap\2\n%:p:h\vexpand\afn\r:Files! \15f.\1\0\1\fnoremap\2\17:Files!'\15ff\1\0\1\fnoremap\2\18:Buffers!\18\6n\20nvim_set_keymap\bapi\21fzf_buffers_jump\6g\bvim\0" }, + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/fzf.vim", + url = "https://github.com/junegunn/fzf.vim" + }, + ["gitsigns.nvim"] = { + config = { "\27LJ\1\2:\0\0\2\0\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0002\1\0\0>\0\2\1G\0\1\0\nsetup\rgitsigns\frequire\0" }, + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", + url = "https://github.com/lewis6991/gitsigns.nvim" + }, + ["gruvbox.nvim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/gruvbox.nvim", + url = "https://github.com/ellisonleao/gruvbox.nvim" + }, + ["indent-blankline.nvim"] = { + config = { "\27LJ\1\2\1\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\3#show_trailing_blankline_indent\1\28show_first_indent_level\1\tchar\b▏\nsetup\21indent_blankline\frequire\0" }, + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim", + url = "https://github.com/lukas-reineke/indent-blankline.nvim" + }, + ["lspkind-nvim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/lspkind-nvim", + url = "https://github.com/onsails/lspkind-nvim" + }, + ["markdown-preview.nvim"] = { + config = { "\27LJ\1\2\0\0\5\0\a\0\t4\0\0\0007\0\1\0007\0\2\0%\1\3\0%\2\4\0%\3\5\0003\4\6\0>\0\5\1G\0\1\0\1\0\2\vsilent\2\fnoremap\2\31:MarkdownPreviewToggle\15mp\6n\20nvim_set_keymap\bapi\bvim\0" }, + loaded = false, + needs_bufread = false, + only_cond = false, + path = "/home/vincent/.local/share/nvim/site/pack/packer/opt/markdown-preview.nvim", + url = "https://github.com/iamcco/markdown-preview.nvim" + }, + ["nvim-autopairs"] = { + config = { "\27LJ\1\2@\0\0\2\0\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0002\1\0\0>\0\2\1G\0\1\0\nsetup\19nvim-autopairs\frequire\0" }, + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-autopairs", + url = "https://github.com/windwp/nvim-autopairs" + }, + ["nvim-cmp"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-cmp", + url = "https://github.com/hrsh7th/nvim-cmp" + }, + ["nvim-cursorline"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-cursorline", + url = "https://github.com/yamatsum/nvim-cursorline" + }, + ["nvim-lsp-installer"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", + url = "https://github.com/williamboman/nvim-lsp-installer" + }, + ["nvim-lspconfig"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" + }, + ["nvim-tree.lua"] = { + config = { "\27LJ\1\2\1\0\0\5\0\14\0\0194\0\0\0007\0\1\0007\0\2\0%\1\3\0%\2\4\0%\3\5\0002\4\0\0>\0\5\0014\0\6\0%\1\a\0>\0\2\0027\0\b\0003\1\t\0003\2\n\0:\2\v\0013\2\f\0:\2\r\1>\0\2\1G\0\1\0\tview\1\0\1\nwidth\3(\24update_focused_file\1\0\1\venable\2\1\0\1\15auto_close\2\nsetup\14nvim-tree\frequire\28NvimTreeToggle\14t\6n\20nvim_set_keymap\bapi\bvim\0" }, + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-tree.lua", + url = "https://github.com/kyazdani42/nvim-tree.lua" + }, + ["nvim-web-devicons"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + url = "https://github.com/kyazdani42/nvim-web-devicons" + }, + ["nvim-whichkey-setup.lua"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/nvim-whichkey-setup.lua", + url = "https://github.com/AckslD/nvim-whichkey-setup.lua" + }, + ["packer.nvim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/packer.nvim", + url = "https://github.com/wbthomason/packer.nvim" + }, + ["plenary.nvim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/plenary.nvim", + url = "https://github.com/nvim-lua/plenary.nvim" + }, + ["todo.txt-vim"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/todo.txt-vim", + url = "https://github.com/freitass/todo.txt-vim" + }, + ultisnips = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/ultisnips", + url = "https://github.com/SirVer/ultisnips" + }, + ["vim-easyescape"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/vim-easyescape", + url = "https://github.com/zhou13/vim-easyescape" + }, + ["vim-fugitive"] = { + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/vim-fugitive", + url = "https://github.com/tpope/vim-fugitive" + }, + ["which-key.nvim"] = { + config = { "\27LJ\1\2v\0\0\3\0\a\0\r4\0\0\0007\0\1\0007\0\2\0%\1\3\0'\2,\1>\0\3\0014\0\4\0%\1\5\0>\0\2\0027\0\6\0002\1\0\0>\0\2\1G\0\1\0\nsetup\14which-key\frequire\15timeoutlen\20nvim_set_option\bapi\bvim\0" }, + loaded = true, + path = "/home/vincent/.local/share/nvim/site/pack/packer/start/which-key.nvim", + url = "https://github.com/folke/which-key.nvim" + } +} + +time([[Defining packer_plugins]], false) +-- Config for: gitsigns.nvim +time([[Config for gitsigns.nvim]], true) +try_loadstring("\27LJ\1\2:\0\0\2\0\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0002\1\0\0>\0\2\1G\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") +time([[Config for gitsigns.nvim]], false) +-- Config for: which-key.nvim +time([[Config for which-key.nvim]], true) +try_loadstring("\27LJ\1\2v\0\0\3\0\a\0\r4\0\0\0007\0\1\0007\0\2\0%\1\3\0'\2,\1>\0\3\0014\0\4\0%\1\5\0>\0\2\0027\0\6\0002\1\0\0>\0\2\1G\0\1\0\nsetup\14which-key\frequire\15timeoutlen\20nvim_set_option\bapi\bvim\0", "config", "which-key.nvim") +time([[Config for which-key.nvim]], false) +-- Config for: nvim-tree.lua +time([[Config for nvim-tree.lua]], true) +try_loadstring("\27LJ\1\2\1\0\0\5\0\14\0\0194\0\0\0007\0\1\0007\0\2\0%\1\3\0%\2\4\0%\3\5\0002\4\0\0>\0\5\0014\0\6\0%\1\a\0>\0\2\0027\0\b\0003\1\t\0003\2\n\0:\2\v\0013\2\f\0:\2\r\1>\0\2\1G\0\1\0\tview\1\0\1\nwidth\3(\24update_focused_file\1\0\1\venable\2\1\0\1\15auto_close\2\nsetup\14nvim-tree\frequire\28NvimTreeToggle\14t\6n\20nvim_set_keymap\bapi\bvim\0", "config", "nvim-tree.lua") +time([[Config for nvim-tree.lua]], false) +-- Config for: indent-blankline.nvim +time([[Config for indent-blankline.nvim]], true) +try_loadstring("\27LJ\1\2\1\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\3#show_trailing_blankline_indent\1\28show_first_indent_level\1\tchar\b▏\nsetup\21indent_blankline\frequire\0", "config", "indent-blankline.nvim") +time([[Config for indent-blankline.nvim]], false) +-- Config for: nvim-autopairs +time([[Config for nvim-autopairs]], true) +try_loadstring("\27LJ\1\2@\0\0\2\0\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0002\1\0\0>\0\2\1G\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") +time([[Config for nvim-autopairs]], false) +-- Config for: fzf.vim +time([[Config for fzf.vim]], true) +try_loadstring("\27LJ\1\2\3\0\0\6\0\24\00034\0\0\0007\0\1\0'\1\1\0:\1\2\0004\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\6\0%\3\a\0003\4\b\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\t\0%\3\n\0003\4\v\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\f\0%\3\r\0004\4\0\0007\4\14\0047\4\15\4%\5\16\0>\4\2\2$\3\4\0033\4\17\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\18\0%\3\19\0003\4\20\0>\0\5\0014\0\0\0007\0\3\0007\0\4\0%\1\5\0%\2\21\0%\3\22\0003\4\23\0>\0\5\1G\0\1\0\1\0\1\fnoremap\2\17:GFiles!\15fg\1\0\1\fnoremap\2\r:Rg!\15f/\1\0\1\fnoremap\2\n%:p:h\vexpand\afn\r:Files! \15f.\1\0\1\fnoremap\2\17:Files!'\15ff\1\0\1\fnoremap\2\18:Buffers!\18\6n\20nvim_set_keymap\bapi\21fzf_buffers_jump\6g\bvim\0", "config", "fzf.vim") +time([[Config for fzf.vim]], false) +vim.cmd [[augroup packer_load_aucmds]] +vim.cmd [[au!]] + -- Filetype lazy-loads +time([[Defining lazy-load filetype autocommands]], true) +vim.cmd [[au FileType markdown ++once lua require("packer.load")({'markdown-preview.nvim'}, { ft = "markdown" }, _G.packer_plugins)]] +time([[Defining lazy-load filetype autocommands]], false) +vim.cmd("augroup END") +if should_profile then save_profiles() end + +end) + +if not no_errors then + vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') +end