Update nvim and add kitty config
This commit is contained in:
@@ -17,6 +17,10 @@ augroup end
|
||||
au BufNewFile,BufRead,BufReadPost *.html.tera set syntax=HTML
|
||||
]], false)
|
||||
|
||||
vim.api.nvim_exec([[
|
||||
autocmd BufNewFile,BufRead *.sol set ft=solidity
|
||||
]], false)
|
||||
|
||||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.timeoutlen = 700
|
||||
@@ -25,6 +29,9 @@ vim.o.guifont='Hasklug Nerd Font Mono,Hack Nerd Font,NotoEmoji Nerd Font:h11'
|
||||
vim.o.undodir=vim.fn.stdpath('cache')..'/undodir'
|
||||
vim.o.undofile = true
|
||||
|
||||
vim.o.autoread = true
|
||||
vim.o.foldmethod = 'indent'
|
||||
|
||||
vim.o.showmode = false
|
||||
vim.o.showtabline = 2
|
||||
vim.o.autoindent = true
|
||||
@@ -43,6 +50,9 @@ vim.o.termguicolors = true
|
||||
-- No clue why window scoped
|
||||
vim.wo.signcolumn='yes'
|
||||
|
||||
|
||||
vim.o.wrap = false
|
||||
|
||||
-- vim.o.modifiable = true
|
||||
-- vim.bo.modifiable = true
|
||||
vim.g.dashboard_default_executive = 'fzf'
|
||||
@@ -67,6 +77,8 @@ vim.o.completeopt = 'menuone,noselect'
|
||||
vim.g.coq_settings = {
|
||||
auto_start = 'shut-up'
|
||||
}
|
||||
vim.g.rooter_manual_only = 1
|
||||
|
||||
|
||||
require('plugins')
|
||||
require('keymaps')
|
||||
@@ -79,3 +91,12 @@ require'nvim-treesitter.configs'.setup {
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
-- require "nvim-treesitter.parsers".get_parser_configs().Solidity = {
|
||||
-- install_info = {
|
||||
-- url = "https://github.com/JoranHonig/tree-sitter-solidity",
|
||||
-- files = {"src/parser.c"},
|
||||
-- requires_generate_from_grammar = true,
|
||||
-- },
|
||||
-- filetype = 'solidity'
|
||||
-- }
|
||||
|
||||
@@ -32,15 +32,17 @@ local normal_mode_maps = {
|
||||
{ key = 'K', map = [[<cmd>lua vim.lsp.buf.hover()<cr>]] },
|
||||
{ key = '<C-k>', map = [[<cmd>lua vim.lsp.buf.definition()<cr>]] },
|
||||
{ key = 'gi', map = [[<cmd>lua vim.lsp.buf.implementation()<cr>]] },
|
||||
{ key = '<leader>o', map = [[<cmd>LspTroubleToggle<cr>]] },
|
||||
{ key = '<leader>o', map = [[<cmd>TroubleToggle<cr>]] },
|
||||
-- { key = '<leader>a', map = [[<cmd>lua vim.lsp.buf.document_highlight()<cr>]] },
|
||||
-- { key = '<leader>c', map = [[<cmd>lua vim.lsp.buf.clear_references()<cr>]] },
|
||||
{ key = '<leader>"', map = [["+]] },
|
||||
{ key = 'F', map = [[<cmd>lua vim.lsp.buf.formatting()<cr>]] },
|
||||
{ key = 'T', map = [[<cmd>lua require'lsp_extensions'.inlay_hints()<cr>]] },
|
||||
|
||||
|
||||
-- Other
|
||||
{ key = '<leader>m', map = [[<cmd>silent !mpcfzf<cr>]] },
|
||||
{ key = '<leader>l', map = [[<cmd>Glow<cr>]] },
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
require("lsp.rust-analyzer")
|
||||
require("lsp.lua-language-server")
|
||||
require("lsp.deno")
|
||||
require("lsp.tsserver")
|
||||
-- require("lsp.solang")
|
||||
require("lsp.pyright")
|
||||
|
||||
-- Set completeopt to have a better completion experience
|
||||
-- vim.o.completeopt= "menuone,noinsert,noselect"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
local lspconfig = require'lspconfig'
|
||||
local lspstatus = require('lsp-status')
|
||||
local coq = require'coq'
|
||||
-- local coq = require'coq'
|
||||
|
||||
lspconfig.sumneko_lua.setup{
|
||||
cmd = { "lua-language-server" },
|
||||
on_attach=function(client) lspstatus.on_attach(client) return end,
|
||||
capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
-- capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
filetypes = { "lua" },
|
||||
log_level = 2,
|
||||
settings = {
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
local lspconfig = require'lspconfig'
|
||||
local lspstatus = require('lsp-status')
|
||||
local coq = require'coq'
|
||||
|
||||
lspconfig.pyls.setup{
|
||||
coq.lsp_ensure_capabilities{
|
||||
cmd = { "pyls" },
|
||||
filetypes = { "python" },
|
||||
}
|
||||
cmd = { "pyls" },
|
||||
on_attach=function(client) lspstatus.on_attach(client) return end,
|
||||
capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
filetypes = { "python" },
|
||||
}
|
||||
|
||||
1
config/nvim/lua/lsp/pyright.lua
Normal file
1
config/nvim/lua/lsp/pyright.lua
Normal file
@@ -0,0 +1 @@
|
||||
require'lspconfig'.pyright.setup{}
|
||||
@@ -1,10 +1,10 @@
|
||||
local lspconfig = require'lspconfig'
|
||||
local lspstatus = require'lsp-status'
|
||||
local coq = require'coq'
|
||||
-- local coq = require'coq'
|
||||
|
||||
lspconfig.rust_analyzer.setup{
|
||||
on_attach=function(client) lspstatus.on_attach(client) return end,
|
||||
capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
on_attach=function(client) lspstatus.on_attach(client) end,
|
||||
-- capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
cmd = { "rust-analyzer" },
|
||||
filetypes = { "rust" },
|
||||
root_dir = lspconfig.util.root_pattern("Cargo.toml"),
|
||||
@@ -20,7 +20,7 @@ lspconfig.rust_analyzer.setup{
|
||||
},
|
||||
checkOnSave = {
|
||||
command = "clippy",
|
||||
allTargets = true,
|
||||
allTargets = false,
|
||||
},
|
||||
cargo = {
|
||||
loadOutDirsFromCheck = true,
|
||||
|
||||
8
config/nvim/lua/lsp/solang.lua
Normal file
8
config/nvim/lua/lsp/solang.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local lspconfig = require'lspconfig'
|
||||
local lspstatus = require'lsp-status'
|
||||
-- local coq = require'coq'
|
||||
|
||||
lspconfig.solang.setup{
|
||||
on_attach=function(client) lspstatus.on_attach(client) end,
|
||||
-- capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
}
|
||||
8
config/nvim/lua/lsp/tsserver.lua
Normal file
8
config/nvim/lua/lsp/tsserver.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local lspconfig = require'lspconfig'
|
||||
local lspstatus = require'lsp-status'
|
||||
-- local coq = require'coq'
|
||||
|
||||
lspconfig.tsserver.setup{
|
||||
on_attach=function(client) lspstatus.on_attach(client) return end,
|
||||
-- capabilities = coq.lsp_ensure_capabilities(lspstatus.capabilities),
|
||||
}
|
||||
@@ -14,9 +14,10 @@ return require('packer').startup(function()
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
use 'christianrondeau/vim-base64'
|
||||
|
||||
use {
|
||||
'glepnir/galaxyline.nvim', branch = 'main',
|
||||
'NTBBloodbath/galaxyline.nvim', branch = 'main',
|
||||
config = function() require('statusline') end,
|
||||
requires = { 'kyazdani42/nvim-web-devicons' }
|
||||
}
|
||||
@@ -31,7 +32,9 @@ return require('packer').startup(function()
|
||||
config = function() require("which-key").setup() end,
|
||||
}
|
||||
|
||||
use { 'yuttie/comfortable-motion.vim' }
|
||||
use 'yuttie/comfortable-motion.vim'
|
||||
|
||||
use 'ruanyl/vim-gh-line'
|
||||
|
||||
use {
|
||||
'junegunn/fzf',
|
||||
@@ -50,47 +53,100 @@ return require('packer').startup(function()
|
||||
use { 'norcalli/nvim-colorizer.lua', config = function() require'colorizer'.setup() end, }
|
||||
|
||||
-- lsp
|
||||
use { 'onsails/lspkind-nvim', config = function() require'lspkind'.init() end, }
|
||||
-- use { 'onsails/lspkind-nvim', config = function() require'lspkind'.init() end, }
|
||||
use { 'folke/lsp-trouble.nvim', config = function() require("trouble").setup() end, }
|
||||
|
||||
use { 'neovim/nvim-lspconfig', config = function() require("lsp") end, }
|
||||
use { 'williamboman/nvim-lsp-installer' }
|
||||
use { 'nvim-lua/lsp-status.nvim' }
|
||||
|
||||
use { 'ms-jpq/coq_nvim', requires = { 'ms-jpq/coq.artifacts' } }
|
||||
|
||||
use { 'folke/lsp-colors.nvim' }
|
||||
use { 'nvim-lua/lsp_extensions.nvim' }
|
||||
|
||||
|
||||
use { 'ray-x/cmp-treesitter' }
|
||||
use { 'andersevenrud/cmp-tmux' }
|
||||
use { 'hrsh7th/cmp-vsnip' }
|
||||
use { 'hrsh7th/vim-vsnip' }
|
||||
use { 'hrsh7th/cmp-nvim-lsp' }
|
||||
use { 'hrsh7th/cmp-buffer' }
|
||||
use { 'hrsh7th/cmp-path' }
|
||||
use { 'hrsh7th/cmp-cmdline' }
|
||||
use { 'hrsh7th/nvim-cmp',
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
-- REQUIRED - you must specify a snippet engine
|
||||
expand = function(args)
|
||||
vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users.
|
||||
-- require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
|
||||
-- require('snippy').expand_snippet(args.body) -- For `snippy` users.
|
||||
-- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users.
|
||||
end,
|
||||
},
|
||||
mapping = {
|
||||
['<C-b>'] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }),
|
||||
['<C-f>'] = cmp.mapping(cmp.mapping.scroll_docs(4), { 'i', 'c' }),
|
||||
['<C-Space>'] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }),
|
||||
['<C-y>'] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `<C-y>` mapping.
|
||||
['<C-e>'] = cmp.mapping({
|
||||
i = cmp.mapping.abort(),
|
||||
c = cmp.mapping.close(),
|
||||
}),
|
||||
['<CR>'] = 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 = 'vsnip' }, -- For vsnip users.
|
||||
}, {
|
||||
{ name = 'buffer' },
|
||||
{ name = 'tmux' },
|
||||
{ name = 'treesitter' },
|
||||
-- { name = 'snippy' }, -- For snippy users.
|
||||
})
|
||||
}) end,
|
||||
}
|
||||
|
||||
|
||||
|
||||
-- use { 'ms-jpq/coq_nvim', requires = { 'ms-jpq/coq.artifacts' } }
|
||||
|
||||
-- use { 'folke/lsp-colors.nvim',
|
||||
-- config = function() require("lsp-colors").setup({
|
||||
-- Error = "#db4b4b",
|
||||
-- Warning = "#e0af68",
|
||||
-- Information = "#0db9d7",
|
||||
-- Hint = "#10B981"
|
||||
-- }) end,
|
||||
-- }
|
||||
-- use 'nvim-lua/lsp_extensions.nvim'
|
||||
-- config = function() vim.cmd([[autocmd BufEnter,BufWinEnter,TabEnter *.rs :lua require'lsp_extensions'.inlay_hints()]]) end,
|
||||
--
|
||||
-- Qol
|
||||
use { 'sindrets/diffview.nvim' }
|
||||
use { 'sindrets/diffview.nvim', requires = 'nvim-lua/plenary.nvim' }
|
||||
-- use { 'justinmk/vim-sneak' }
|
||||
use {
|
||||
use {
|
||||
'akinsho/nvim-toggleterm.lua',
|
||||
config = function() require'setup.toggleterm' end,
|
||||
}
|
||||
|
||||
-- use { 'airblade/vim-rooter' }
|
||||
use { 'glepnir/dashboard-nvim' }
|
||||
-- use 'airblade/vim-rooter'
|
||||
use 'glepnir/dashboard-nvim'
|
||||
|
||||
-- Treesitter {{{
|
||||
use {
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = ':TSUpdate'
|
||||
}
|
||||
|
||||
-- }}}
|
||||
|
||||
--: rust {{{
|
||||
use {
|
||||
'rust-lang/rust.vim',
|
||||
-- 'rust-lang/rust.vim',
|
||||
'mhinz/vim-crates',
|
||||
'cespare/vim-toml',
|
||||
-- 'cespare/vim-toml',
|
||||
}
|
||||
-- }}}
|
||||
use { 'vim-python/python-syntax' }
|
||||
|
||||
use { 'ms-jpq/chadtree' }
|
||||
-- use 'ms-jpq/chadtree'
|
||||
use 'tomlion/vim-solidity'
|
||||
use 'ellisonleao/glow.nvim'
|
||||
|
||||
end);
|
||||
|
||||
end)
|
||||
|
||||
@@ -2,16 +2,16 @@ local vim = vim
|
||||
local gl = require('galaxyline')
|
||||
|
||||
local condition = require('galaxyline.condition')
|
||||
-- local diagnostic = require('galaxyline.provider_diagnostic')
|
||||
local diagnostic = require('lsp-status.diagnostics')
|
||||
local vcs = require('galaxyline.provider_vcs')
|
||||
local fileinfo = require('galaxyline.provider_fileinfo')
|
||||
-- local extension = require('galaxyline.provider_extensions')
|
||||
-- local diagnostic = require('galaxyline.providers.diagnostic')
|
||||
-- local diagnostic = require('lsp-status.diagnostics')
|
||||
local vcs = require('galaxyline.providers.vcs')
|
||||
-- local fileinfo = require('galaxyline.providers.fileinfo')
|
||||
-- local extension = require('galaxyline.providers.extensions')
|
||||
-- local colors = require('galaxyline.colors')
|
||||
-- local buffer = require('galaxyline.provider_buffer')
|
||||
-- local whitespace = require('galaxyline.provider_whitespace')
|
||||
-- local lspclient = require('galaxyline.provider_lsp')
|
||||
local lsp_status = require('lsp-status')
|
||||
-- local buffer = require('galaxyline.providers.buffer')
|
||||
-- local whitespace = require('galaxyline.providers.whitespace')
|
||||
-- local lspclient = require('galaxyline.providers.lsp')
|
||||
-- local lsp_status = require('lsp-status')
|
||||
|
||||
|
||||
-- local gls = gl.section
|
||||
@@ -113,7 +113,12 @@ gls.left[1] = {
|
||||
gls.left[2] = {
|
||||
GitBranch = {
|
||||
provider = function() return vcs.get_git_branch()..' ' end,
|
||||
condition = condition.check_git_workspace,
|
||||
condition = function()
|
||||
local function is_empty()
|
||||
return vcs.get_git_branch() ~= nil
|
||||
end
|
||||
return condition.check_git_workspace() and condition.hide_in_width() and is_empty()
|
||||
end,
|
||||
highlight = { colors.purple , colors.bg1 },
|
||||
icon = ' ',
|
||||
separator = '',
|
||||
|
||||
@@ -1,253 +0,0 @@
|
||||
-- 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/savy/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/home/savy/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/home/savy/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/home/savy/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua"
|
||||
local install_cpath_pattern = "/home/savy/.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))
|
||||
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 = {
|
||||
chadtree = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/chadtree"
|
||||
},
|
||||
["comfortable-motion.vim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/comfortable-motion.vim"
|
||||
},
|
||||
["coq.artifacts"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/coq.artifacts"
|
||||
},
|
||||
coq_nvim = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/coq_nvim"
|
||||
},
|
||||
["dashboard-nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/dashboard-nvim"
|
||||
},
|
||||
["diffview.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/diffview.nvim"
|
||||
},
|
||||
fzf = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/fzf"
|
||||
},
|
||||
["fzf.vim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/fzf.vim"
|
||||
},
|
||||
["galaxyline.nvim"] = {
|
||||
config = { "\27LJ\1\2*\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\15statusline\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/galaxyline.nvim"
|
||||
},
|
||||
["lsp-colors.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/lsp-colors.nvim"
|
||||
},
|
||||
["lsp-status.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/lsp-status.nvim"
|
||||
},
|
||||
["lsp-trouble.nvim"] = {
|
||||
config = { "\27LJ\1\0025\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\ftrouble\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/lsp-trouble.nvim"
|
||||
},
|
||||
["lsp_extensions.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/lsp_extensions.nvim"
|
||||
},
|
||||
["lspkind-nvim"] = {
|
||||
config = { "\27LJ\1\0024\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\tinit\flspkind\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/lspkind-nvim"
|
||||
},
|
||||
["nvim-colorizer.lua"] = {
|
||||
config = { "\27LJ\1\0027\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\14colorizer\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
|
||||
},
|
||||
["nvim-lsp-installer"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer"
|
||||
},
|
||||
["nvim-lspconfig"] = {
|
||||
config = { "\27LJ\1\2#\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\blsp\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
|
||||
},
|
||||
["nvim-toggleterm.lua"] = {
|
||||
config = { "\27LJ\1\0020\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\21setup.toggleterm\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/nvim-toggleterm.lua"
|
||||
},
|
||||
["nvim-treesitter"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/nvim-treesitter"
|
||||
},
|
||||
["nvim-web-devicons"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/nvim-web-devicons"
|
||||
},
|
||||
["packer.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/packer.nvim"
|
||||
},
|
||||
["python-syntax"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/python-syntax"
|
||||
},
|
||||
["rust.vim"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/rust.vim"
|
||||
},
|
||||
sonokai = {
|
||||
config = { "\27LJ\1\2+\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\16colorscheme\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/sonokai"
|
||||
},
|
||||
["vim-commentary"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-commentary"
|
||||
},
|
||||
["vim-crates"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-crates"
|
||||
},
|
||||
["vim-fugitive"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-fugitive"
|
||||
},
|
||||
["vim-repeat"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-repeat"
|
||||
},
|
||||
["vim-speeddating"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-speeddating"
|
||||
},
|
||||
["vim-surround"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-surround"
|
||||
},
|
||||
["vim-toml"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-toml"
|
||||
},
|
||||
["vim-vinegar"] = {
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/vim-vinegar"
|
||||
},
|
||||
["which-key.nvim"] = {
|
||||
config = { "\27LJ\1\0027\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\14which-key\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/savy/.local/share/nvim/site/pack/packer/start/which-key.nvim"
|
||||
}
|
||||
}
|
||||
|
||||
time([[Defining packer_plugins]], false)
|
||||
-- Config for: lspkind-nvim
|
||||
time([[Config for lspkind-nvim]], true)
|
||||
try_loadstring("\27LJ\1\0024\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\tinit\flspkind\frequire\0", "config", "lspkind-nvim")
|
||||
time([[Config for lspkind-nvim]], false)
|
||||
-- Config for: nvim-lspconfig
|
||||
time([[Config for nvim-lspconfig]], true)
|
||||
try_loadstring("\27LJ\1\2#\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\blsp\frequire\0", "config", "nvim-lspconfig")
|
||||
time([[Config for nvim-lspconfig]], false)
|
||||
-- Config for: nvim-colorizer.lua
|
||||
time([[Config for nvim-colorizer.lua]], true)
|
||||
try_loadstring("\27LJ\1\0027\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\14colorizer\frequire\0", "config", "nvim-colorizer.lua")
|
||||
time([[Config for nvim-colorizer.lua]], false)
|
||||
-- Config for: which-key.nvim
|
||||
time([[Config for which-key.nvim]], true)
|
||||
try_loadstring("\27LJ\1\0027\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\14which-key\frequire\0", "config", "which-key.nvim")
|
||||
time([[Config for which-key.nvim]], false)
|
||||
-- Config for: galaxyline.nvim
|
||||
time([[Config for galaxyline.nvim]], true)
|
||||
try_loadstring("\27LJ\1\2*\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\15statusline\frequire\0", "config", "galaxyline.nvim")
|
||||
time([[Config for galaxyline.nvim]], false)
|
||||
-- Config for: nvim-toggleterm.lua
|
||||
time([[Config for nvim-toggleterm.lua]], true)
|
||||
try_loadstring("\27LJ\1\0020\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\21setup.toggleterm\frequire\0", "config", "nvim-toggleterm.lua")
|
||||
time([[Config for nvim-toggleterm.lua]], false)
|
||||
-- Config for: lsp-trouble.nvim
|
||||
time([[Config for lsp-trouble.nvim]], true)
|
||||
try_loadstring("\27LJ\1\0025\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\ftrouble\frequire\0", "config", "lsp-trouble.nvim")
|
||||
time([[Config for lsp-trouble.nvim]], false)
|
||||
-- Config for: sonokai
|
||||
time([[Config for sonokai]], true)
|
||||
try_loadstring("\27LJ\1\2+\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\16colorscheme\frequire\0", "config", "sonokai")
|
||||
time([[Config for sonokai]], false)
|
||||
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
|
||||
Reference in New Issue
Block a user