Browse Source

Using Packer

master
Julio Biason 3 years ago
parent
commit
a8e01ce273
  1. 18
      .gitmodules
  2. 135
      nvim/init.lua
  3. 118
      nvim/lua/plugins.lua
  4. 1
      nvim/pack/packer/start/packer.nvim
  5. 1
      nvim/pack/plugins/start/lualine.nvim
  6. 1
      nvim/pack/plugins/start/nvim-lspconfig
  7. 1
      nvim/pack/plugins/start/nvim-treesitter
  8. 1
      nvim/pack/plugins/start/plenary.nvim
  9. 1
      nvim/pack/plugins/start/telescope.nvim
  10. 137
      nvim/plugin/packer_compiled.lua

18
.gitmodules vendored

@ -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

135
nvim/init.lua

@ -21,123 +21,22 @@ vim.cmd [[
-- Keybind: use '-' to open the file explorer
vim.api.nvim_set_keymap('n', '-', ':Ex<CR>', { 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'
-- Don't show signs on diagnostics
vim.diagnostic.config({signs = false})
buf_set_keymap('n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>', opts)
buf_set_keymap('n', 'gd', '<cmd>lua vim.lsp.buf.definition()<CR>', opts)
buf_set_keymap('n', 'gF', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
buf_set_keymap('n', 'gR', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
buf_set_keymap('n', 'g?', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)
buf_set_keymap('n', 'gp', '<cmd>lua vim.lsp.buf.completion()<CR>', opts)
buf_set_keymap('n', 'ge', '<cmd>lua vim.diagnostic.open_float()<CR>', opts)
if client.resolved_capabilities.document_formatting then
vim.api.nvim_command [[augroup Format]]
vim.api.nvim_command [[autocmd! * <buffer>]]
vim.api.nvim_command [[autocmd BufWritePre <buffer> 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 = {
['<Tab>'] = 'expand_or_advance',
['<S-Tab>'] = 'previous',
},
nx = {
['<leader>x'] = 'cut_text',
},
},
})
-- Telescope
require('telescope').setup{}
vim.api.nvim_set_keymap('n', '<leader><space>', '<cmd>Telescope find_files<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>g', '<cmd>Telescope live_grep<CR>', { noremap = true, silent = true })
-- Auto-pairs
require('nvim-autopairs').setup{}
-- My plugins and their configuration
require('plugins')
-- -- nvim-snippy
-- require('snippy').setup({
-- mappings = {
-- is = {
-- ['<Tab>'] = 'expand_or_advance',
-- ['<S-Tab>'] = 'previous',
-- },
-- nx = {
-- ['<leader>x'] = 'cut_text',
-- },
-- },
-- })

118
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', '<cmd>lua vim.lsp.buf.declaration()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', '<cmd>lua vim.lsp.buf.definition()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>wa', '<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>wr', '<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>wl', '<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>D', '<cmd>lua vim.lsp.buf.type_definition()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts)
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
if client.resolved_capabilities.document_formatting then
vim.api.nvim_command [[augroup Format]]
vim.api.nvim_command [[autocmd! * <buffer>]]
vim.api.nvim_command [[autocmd BufWritePre <buffer> 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', '<leader><space>', '<cmd>Telescope find_files<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>g', '<cmd>Telescope live_grep<CR>', { noremap = true, silent = true })
end,
}
use 'windwp/nvim-autopairs'
end)

1
nvim/pack/packer/start/packer.nvim

@ -0,0 +1 @@
Subproject commit 4dedd3b08f8c6e3f84afbce0c23b66320cd2a8f2

1
nvim/pack/plugins/start/lualine.nvim

@ -1 +0,0 @@
Subproject commit 88a44ade818f9ee7ba730aa4096250e22b243808

1
nvim/pack/plugins/start/nvim-lspconfig

@ -1 +0,0 @@
Subproject commit 710deb04d9f8b73517e1d995a57a1505cbbaac51

1
nvim/pack/plugins/start/nvim-treesitter

@ -1 +0,0 @@
Subproject commit 4fa30b5249728b0c5e630525f2e7957a25796202

1
nvim/pack/plugins/start/plenary.nvim

@ -1 +0,0 @@
Subproject commit 14dfb4071022b22e08384ee125a5607464b6d397

1
nvim/pack/plugins/start/telescope.nvim

@ -1 +0,0 @@
Subproject commit a36a813d5d031e6f5d52b74986915e68130febd9

137
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<EFBFBD>\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\20€6\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 <buffer> lua vim.lsp.buf.formatting_seq_sync()\24autocmd! * <buffer>\19augroup Format\17nvim_command\24document_formatting\26resolved_capabilities*<cmd>lua vim.lsp.buf.formatting()<CR>\r<space>f*<cmd>lua vim.lsp.buf.references()<CR>\agr+<cmd>lua vim.lsp.buf.code_action()<CR>\14<space>ca&<cmd>lua vim.lsp.buf.rename()<CR>\14<space>rn/<cmd>lua vim.lsp.buf.type_definition()<CR>\r<space>DJ<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>\14<space>wl7<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>\14<space>wr4<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>\14<space>wa.<cmd>lua vim.lsp.buf.signature_help()<CR>\n<C-k>.<cmd>lua vim.lsp.buf.implementation()<CR>\agi%<cmd>lua vim.lsp.buf.hover()<CR>\6K*<cmd>lua vim.lsp.buf.definition()<CR>\agd+<cmd>lua vim.lsp.buf.declaration()<CR>\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\b€6\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\5öK\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!<cmd>Telescope live_grep<CR>\14<leader>g\1\0\2\fnoremap\2\vsilent\2\"<cmd>Telescope find_files<CR>\20<leader><space>\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!<cmd>Telescope live_grep<CR>\14<leader>g\1\0\2\fnoremap\2\vsilent\2\"<cmd>Telescope find_files<CR>\20<leader><space>\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<EFBFBD>\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\20€6\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 <buffer> lua vim.lsp.buf.formatting_seq_sync()\24autocmd! * <buffer>\19augroup Format\17nvim_command\24document_formatting\26resolved_capabilities*<cmd>lua vim.lsp.buf.formatting()<CR>\r<space>f*<cmd>lua vim.lsp.buf.references()<CR>\agr+<cmd>lua vim.lsp.buf.code_action()<CR>\14<space>ca&<cmd>lua vim.lsp.buf.rename()<CR>\14<space>rn/<cmd>lua vim.lsp.buf.type_definition()<CR>\r<space>DJ<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>\14<space>wl7<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>\14<space>wr4<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>\14<space>wa.<cmd>lua vim.lsp.buf.signature_help()<CR>\n<C-k>.<cmd>lua vim.lsp.buf.implementation()<CR>\agi%<cmd>lua vim.lsp.buf.hover()<CR>\6K*<cmd>lua vim.lsp.buf.definition()<CR>\agd+<cmd>lua vim.lsp.buf.declaration()<CR>\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\b€6\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\5öK\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
Loading…
Cancel
Save