diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-10-29 13:45:08 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-10-29 13:45:08 +0200 |
| commit | 1c3506724b93b5914af223b0464b84f1c219399b (patch) | |
| tree | 701f5ca76f1ec12644b2bb66d9aa983634e98892 | |
| parent | 7f30d31c9142bbeb10a21b4de9f58bc6d3a0a3f1 (diff) | |
| download | dotfiles-1c3506724b93b5914af223b0464b84f1c219399b.tar.gz dotfiles-1c3506724b93b5914af223b0464b84f1c219399b.zip | |
Removed duplicate files
33 files changed, 2397 insertions, 3799 deletions
@@ -32,16 +32,14 @@ -- See startup time --nvim --startuptime startup.log -c exit && tail -100 startup.log +-- Load impatient local impatient_ok, impatient = pcall(require, "impatient") if impatient_ok then impatient.enable_profile() end ---local stdpath = vim.fn.stdpath +-- Check if we have the latest stable version of nvim local utils = require("user.utils") -vim.g.snippets = "luasnip" - --- check if we have the latest stable version of nvim local expected_ver = "0.8.0" local nvim_ver = utils.get_nvim_version() @@ -58,10 +56,8 @@ vim.schedule(function() vim.cmd("silent! rsh") end) --- IMPORTS ---require("impatient") --- Load/reload modules here +-- Load/reload modules local modules = { "user.pack", -- Packer plugin manager "user.opts", -- Options @@ -90,7 +86,6 @@ local modules = { --"plugins.dap", --"plugins.toggleterm", --"plugins.floatterm", - vim.notify("Nvim configuration reloaded!") -- print this when reloaded } -- Refresh module cache @@ -99,6 +94,9 @@ for k, v in pairs(modules) do require(v) end +-- Snippets +vim.g.snippets = "luasnip" + -- Improve speed by disabling some default plugins/modules local builtins = { "gzip", diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index dc0145d..4186378 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -17,11 +17,11 @@ vim.api.nvim_command("highlight TabLine guibg=#333842 gui=bold") --vim.api.nvim_command("highlight StatusLine guibg=none gui=bold") --vim.api.nvim_command("highlight TabLineNC guibg=none gui=bold") --vim.api.nvim_command("highlight TabLineSel guibg=#bd93f9 gui=bold") -vim.api.nvim_command("highlight TabLineSel guibg=#333842 gui=bold") +--vim.api.nvim_command("highlight TabLineSel guibg=#333842 gui=bold") vim.api.nvim_command("highlight TabLineFill guibg=none gui=bold") vim.api.nvim_command("highlight WinBar guibg=none gui=bold") vim.api.nvim_command("highlight NormalFloat guibg=none") -vim.api.nvim_command("highlight MsgSeparator guibg=none") +--vim.api.nvim_command("highlight MsgSeparator guibg=none") --vim.api.nvim_command("highlight PmenuSel guibg=none") --vim.api.nvim_command("highlight winblend guibg=none") --vim.api.nvim_command("highlight StatusLine guibg=none gui=bold") diff --git a/lua/user/autopairs.lua b/lua/user/autopairs.lua deleted file mode 100644 index fc39d2e..0000000 --- a/lua/user/autopairs.lua +++ /dev/null @@ -1,43 +0,0 @@ --- Setup nvim-cmp. -local status_ok, npairs = pcall(require, "nvim-autopairs") -if not status_ok then - return -end - -npairs.setup { - check_ts = true, - ts_config = { - lua = { "string", "source" }, - javascript = { "string", "template_string" }, - java = false, - }, - map = "<M-e>", - pairs_map = { -['<'] = '>', -}, - disable_filetype = { "TelescopePrompt", "spectre_panel" }, - disable_in_macro = true, - disable_in_visualblock = true, - enalbe_moveright = true, - enable_afterquote = true, -- add bracket pairs after quote - enable_check_bracket_line = true, --- check bracket in same line - enable_bracket_in_quote = true, -- - break_undo = true, -- switch for basic rule break undo sequence - fast_wrap = { - chars = { "{", "[", "(", '"', "'" }, - pattern = string.gsub([[ [%'%"%)%>%]%)%}%,] ]], "%s+", ""), - offset = 0, -- Offset from pattern match - end_key = "$", - keys = "qwertyuiopzxcvbnmasdfghjkl", - check_comma = true, - highlight = "PmenuSel", - highlight_grey = "LineNr", - }, -} - -local cmp_autopairs = require "nvim-autopairs.completion.cmp" -local cmp_status_ok, cmp = pcall(require, "cmp") -if not cmp_status_ok then - return -end -cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done { map_char = { tex = "" } }) diff --git a/lua/user/cmp-gh-source.lua b/lua/user/cmp-gh-source.lua deleted file mode 100644 index 05bba55..0000000 --- a/lua/user/cmp-gh-source.lua +++ /dev/null @@ -1,72 +0,0 @@ -local ok, Job = pcall(require, "plenary.job") -if not ok then - return -end - -local source = {} - -source.new = function() - local self = setmetatable({ cache = {} }, { __index = source }) - - return self -end - -source.complete = function(self, _, callback) - local bufnr = vim.api.nvim_get_current_buf() - - -- This just makes sure that we only hit the GH API once per session. - -- - -- You could remove this if you wanted, but this just makes it so we're - -- good programming citizens. - if not self.cache[bufnr] then - Job - :new({ - -- Uses `gh` executable to request the issues from the remote repository. - "gh", - "issue", - "list", - "--limit", - "1000", - "--json", - "title,number,body", - - on_exit = function(job) - local result = job:result() - local ok, parsed = pcall(vim.json.decode, table.concat(result, "")) - if not ok then - vim.notify "Failed to parse gh result" - return - end - - local items = {} - for _, gh_item in ipairs(parsed) do - gh_item.body = string.gsub(gh_item.body or "", "\r", "") - - table.insert(items, { - label = string.format("#%s", gh_item.number), - documentation = { - kind = "markdown", - value = string.format("# %s\n\n%s", gh_item.title, gh_item.body), - }, - }) - end - - callback { items = items, isIncomplete = false } - self.cache[bufnr] = items - end, - }) - :start() - else - callback { items = self.cache[bufnr], isIncomplete = false } - end -end - -source.get_trigger_characters = function() - return { "#" } -end - -source.is_available = function() - return vim.bo.filetype == "gitcommit" -end - -require("cmp").register_source("gh_issues", source.new()) diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua deleted file mode 100644 index 4dc7c45..0000000 --- a/lua/user/cmp.lua +++ /dev/null @@ -1,273 +0,0 @@ - --- Setup nvim-cmp. -vim.opt.completeopt = "menu,menuone,noselect" ---vim.g.completeopt = "menu,menuone,noselect,noinsert" -local cmp_status_ok, cmp = pcall(require, "cmp") -if not cmp_status_ok then - return -end ---local WIDE_HEIGHT = 40 - -local opts = { - -- whether to highlight the currently hovered symbol - -- disable if your cpu usage is higher than you want it - -- or you just hate the highlight - -- default: true - highlight_hovered_item = true, - show_guides = true, -} -require("symbols-outline").setup(opts) - - ---local snippets_paths = function() --- local plugins = { "friendly-snippets" } --- local paths = {} --- local path --- local root_path = vim.env.HOME .. "/.vim/plugged/" --- for _, plug in ipairs(plugins) do --- path = root_path .. plug --- if vim.fn.isdirectory(path) ~= 0 then --- table.insert(paths, path) --- end --- end --- return paths ---end --- ---require("luasnip.loaders.from_vscode").lazy_load({ --- paths = snippets_paths(), --- include = nil, -- Load all languages --- exclude = {}, ---}) - ---require("luasnip.loaders.from_vscode").lazy_load() -local lspkind = require("lspkind") -local kind_icons = { - Text = "", - Method = "m", --"", - Function = "", - Constructor = "", --"⚙️", - Field = "", - Variable = "", - Class = "", - Interface = "", - Module = "", - Property = "", - Unit = "", - Value = "", - Enum = "", - Keyword = "", - Snippet = "", - Color = "", - File = "", - Reference = "", - Folder = "", - EnumMember = "", - Constant = "", - Struct = "", - Event = "", - Operator = "", - TypeParameter = "", -} -cmp.setup({ - snippet = { - --expand = function(args) - -- require("luasnip").lsp_expand(args.body) - --end, - expand = function(args) - local luasnip = require("luasnip") - if not luasnip then - return - end - luasnip.lsp_expand(args.body) - end, - }, - mapping = cmp.mapping.preset.insert({ --- ["<CR>"] = cmp.mapping.confirm({ --- behavior = cmp.ConfirmBehavior.Replace, --- select = true, --- }), - --["<C-k>"] = cmp.mapping(cmp.mapping.select_prev_item(), { 'i', 'c' }), - --["<C-j>"] = cmp.mapping(cmp.mapping.select_next_item(), { 'i', 'c' }), - ['<C-y>'] = cmp.mapping.confirm({ select = true }), - --["<C-e>"] = cmp.mapping.close(), - ['<C-e>'] = cmp.mapping({ - i = cmp.mapping.abort(), - c = cmp.mapping.close(), - }), - --['<CR>'] = cmp.config.disable, - ["<C-u>"] = cmp.mapping.scroll_docs(-4), - ["<C-d>"] = cmp.mapping.scroll_docs(4), - ["<C-Space>"] = cmp.mapping.complete(), - ['<C-o>'] = function(fallback) - if cmp.visible() then - cmp.mapping.confirm({ select = true })(fallback) - else - cmp.mapping.complete()(fallback) - end - end - }), - - sources = cmp.config.sources({ - { name = "path" }, - --{ name = "nvim_lua" }, - { name = "gh_issues" }, - { name = "nvim_lsp", keyword_length = 3 }, - { name = 'luasnip', option = { use_show_condition = false } }, - --{ name = "luasnip" }, - --{ name = "luasnip", keyword_length = 4 }, - --{ name = "buffer", keyword_length = 3 }, - { name = "buffer", option = { get_bufnrs = function() - return vim.api.nvim_list_bufs() - end - }}, - { name = "cmdline", keyword_pattern = [=[[^[:blank:]\!]*]=], keyword_length = 3 }, - { name = "cmp_git"}, - --{ name = 'treesitter' }, - --{ name = "cmdline", keyword_pattern = [=[[^[:blank:]\!]*]=] }, --exclamation mark hangs a bit without this - --{name = 'luasnip', keyword_length = 2}, - }), - formatting = { - --formatting = { - --local icons = kind_icons - --format = function(entry, vim_item) - ----vim_item.kind = string.format("%s", kind_icons[vim_item.kind]) - ----vim_item.kind = lspkind.presets.default[vim_item.kind] - --vim_item.kind = string.format('%s %s', kind_icons[vim_item.kind], vim_item.kind) -- This concatonates the icons with the name of the item kind - ----vim_item.kind = string.format("%s %s", icons[vim_item.kind], vim_item.kind) - --vim_item.menu = ({ - ----nvim_lsp = "LSP", - ----luasnip = "snip", - ----buffer = "buf", - ----path = "path", - ----cmdline = "cmd", - --buffer = "[buf]", - --nvim_lsp = "[LSP]", - --nvim_lua = "[api]", - --path = "[path]", - --luasnip = "[snip]", - --cmdline = "[cmd]", - --gh_issues = "[issues]", - --})[entry.source.name] - --return vim_item - --end, - format = lspkind.cmp_format { - with_text = true, - menu = { - nvim_lsp = "[LSP]", - luasnip = "[snip]", - buffer = "[buf]", - nvim_lua = "[api]", - path = "[path]", - gh_issues = "[issues]", - }, - }, - --}, - - -- - -- - --fields = { "abbr", "kind", "menu" }, - -- format = lspkind.cmp_format({ - -- mode = 'symbol_text', -- show only symbol annotations - -- maxwidth = 50, -- prevent the popup from showing more than provided characters (e.g 50 will not show more than 50 characters) - -- }) - --format = require('lspkind').cmp_format { - -- with_text = true, - -- menu = { - -- luasnip = "Snip", - -- buffer = "Buf", - -- nvim_lsp = "LSP", - -- path = "Path", - -- cmdline = "Cmd", - -- cmp_git = "Git", - -- }, - --}, - }, - --format = function(entry, vim_item) - -- -- Kind icons - -- --vim_item.kind = string.format("%s", kind_icons[vim_item.kind]) - -- vim_item.kind = lspkind.presets.default[vim_item.kind] - -- -- vim_item.kind = string.format('%s %s', kind_icons[vim_item.kind], vim_item.kind) -- This concatonates the icons with the name of the item kind - -- vim_item.menu = ({ - -- nvim_lsp = "LSP", - -- luasnip = "Snip", - -- buffer = "Buf", - -- path = "Path", - -- cmdline = "Cmd", - -- })[entry.source.name] - -- return vim_item - --end, - confirm_opts = { - behavior = cmp.ConfirmBehavior.Replace, - select = false, - }, - - - event = {}, - - experimental = { - ghost_text = true, - hl_group = 'Nontext', - --native_menu = false, - }, - - view = { - entries = { name = 'custom', selection_order = 'top_down' }, - }, - - window = { - --completion = cmp.config.window.bordered(), - completion = { - border = { '', '', '', ' ', '', '', '', ' ' }, - --border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, - --border = { '', '', '', '', '', '', '', '' }, - --border = "CmpBorder", - winhighlight = 'Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None', - --winhighlight = "Normal:CmpPmenu,CursorLine:PmenuSel,Search:None", - }, - --documentation = cmp.config.window.bordered(), - documentation = { - --max_height = math.floor(WIDE_HEIGHT * (WIDE_HEIGHT / vim.o.lines)), - --max_width = math.floor((WIDE_HEIGHT * 2) * (vim.o.columns / (WIDE_HEIGHT * 2 * 16 / 9))), - border = { '', '', '', ' ', '', '', '', ' ' }, - --border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, - winhighlight = 'FloatBorder:NormalFloat', - }, - }, -}) - - -cmp.setup.cmdline({ '/', '?' }, { - mapping = cmp.mapping.preset.cmdline(), - sources = { - { name = "buffer" }, - }, -}) - -cmp.setup.cmdline(":", { - mapping = { - ["<C-p>"] = cmp.mapping(cmp.mapping.select_prev_item(), { 'i', 'c' }), - ["<C-n>"] = cmp.mapping(cmp.mapping.select_next_item(), { 'i', 'c' }), - ["<C-y>"] = cmp.mapping(cmp.mapping.confirm({ select = true }), { 'i', 'c' }), - ["<C-e>"] = cmp.mapping(cmp.mapping.close(), { 'i', 'c' }), - ["<C-u>"] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }), - ["<C-d>"] = cmp.mapping(cmp.mapping.scroll_docs(4), { 'i', 'c' }), - ["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }), - --["<C-k>"] = cmp.mapping.select_prev_item(), - --["<C-j>"] = cmp.mapping.select_next_item(), - --['<C-y>'] = cmp.mapping.confirm({ select = true }), - --["<C-e>"] = cmp.mapping.close(), - ----['<CR>'] = cmp.config.disable, - --["<C-u>"] = cmp.mapping.scroll_docs(-4), - --["<C-d>"] = cmp.mapping.scroll_docs(4), - --["<C-Space>"] = cmp.mapping.complete(), - }, - - sources = cmp.config.sources({ - { name = "path" }, - }, { - --{ name = "cmdline" }, - { name = "cmdline", keyword_pattern = [=[[^[:blank:]\!]*]=], keyword_length = 3 }, - }) -}) - - diff --git a/lua/user/colorizer.lua b/lua/user/colorizer.lua deleted file mode 100644 index 14d25e2..0000000 --- a/lua/user/colorizer.lua +++ /dev/null @@ -1,6 +0,0 @@ -local status, colorizer = pcall(require, "colorizer") -if (not status) then return end - -colorizer.setup({ - '*'; -}) diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua deleted file mode 100644 index e74d48c..0000000 --- a/lua/user/colorscheme.lua +++ /dev/null @@ -1,36 +0,0 @@ --- Colorscheme --- ayu gruvbox molokai onedark srcery everblush vscode edge nightfly doom-one -local colorscheme = "onedark" -local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) -if not status_ok then - vim.notify("colorscheme " .. colorscheme .. " not found!") - return -end - -vim.api.nvim_command("syntax on") -vim.api.nvim_command("highlight Normal guibg=none") -vim.api.nvim_command("highlight SignColumn guibg=none") - -vim.api.nvim_command("highlight TabLine guibg=#333842 gui=bold") -vim.api.nvim_command("highlight TabLineSel guibg=#333842 gui=bold") - ---vim.api.nvim_command("highlight TabLine guibg=none gui=bold") ---vim.api.nvim_command("highlight StatusLine guibg=#333842 gui=bold") ---vim.api.nvim_command("highlight StatusLine guibg=#333842 guifg=#d6d3ea gui=bold") ---vim.api.nvim_command("highlight StatusLine guibg=none gui=bold") ---vim.api.nvim_command("highlight TabLineNC guibg=none gui=bold") ---vim.api.nvim_command("highlight TabLineSel guibg=#bd93f9 gui=bold") -vim.api.nvim_command("highlight Title guibg=none gui=bold") -vim.api.nvim_command("highlight TabLineFill guibg=none gui=bold") -vim.api.nvim_command("highlight WinBar guibg=none gui=bold") -vim.api.nvim_command("highlight NormalFloat guibg=none") -vim.api.nvim_command("highlight MsgSeparator guibg=none") ---vim.api.nvim_command("highlight PmenuSel guibg=none") ---vim.api.nvim_command("highlight winblend guibg=none") ---vim.api.nvim_command("highlight StatusLine guibg=none gui=bold") ---vim.api.nvim_command("highlight StatusLineNC guibg=none gui=bold") ---vim.api.nvim_command("highlight StatusLineNC guibg=none ctermfg=Cyan guifg=#80a0ff gui=bold") - -require("notify").setup({ - background_colour = "#000000", -}) diff --git a/lua/user/git.lua b/lua/user/git.lua deleted file mode 100644 index 963f7f9..0000000 --- a/lua/user/git.lua +++ /dev/null @@ -1,11 +0,0 @@ -local status, git = pcall(require, "git") -if (not status) then return end - -git.setup({ - keymaps = { - -- Open blame window - blame = "<Leader>gb", - -- Open file/folder in git repository - browse = "<Leader>go", - } -}) diff --git a/lua/user/gitsigns.lua b/lua/user/gitsigns.lua deleted file mode 100644 index 53d1a1e..0000000 --- a/lua/user/gitsigns.lua +++ /dev/null @@ -1 +0,0 @@ -require('gitsigns').setup {} diff --git a/lua/user/heirline.lua b/lua/user/heirline.lua deleted file mode 100644 index f17f523..0000000 --- a/lua/user/heirline.lua +++ /dev/null @@ -1,1203 +0,0 @@ -local conditions = require("heirline.conditions") -local utils = require("heirline.utils") - -local colors = { - --bg = "#23232e", - bg = nil, - nobg = nil, - white = "#f8f8f2", - black = "#000000", - darkgray = "#23232e", - gray = "#2d2b3a", - lightgray = "#d6d3ea", - pink = "#f92672", - green = "#50fa7b", - blue = "#39BAE6", - yellow = "#f1fa8c", - orange = "#ffb86c", - purple = "#BF40BF", - violet = "#7F00FF", - red = "#ff5555", - cyan = "#66d9eC", - diag = { - warn = utils.get_highlight("DiagnosticSignWarn").fg, - error = utils.get_highlight("DiagnosticSignError").fg, - hint = utils.get_highlight("DiagnosticSignHint").fg, - info = utils.get_highlight("DiagnosticSignInfo").fg, - }, - git = { - del = "#e95678", - add = "#a6e22e", - change = "#ae81ff", - }, -} - -require("heirline").load_colors(colors) - -local Align = { provider = "%=", hl = { bg = colors.bg } } -local Space = { provider = " ", hl = { bg = colors.bg } } -local Tab = { provider = " " } -local LeftSpace = { provider = "" } -local RightSpace = { provider = "" } -local RightSpace2 = { provider = "" } -local RightSpace3 = { provider = "" } -local Fill = { provider = "%=", hl = { bg = colors.nobg } } -local LeftSep = { provider = "" } -local RightSep = { provider = "" } - -local ViMode = { - init = function(self) - self.mode = vim.fn.mode(1) - if not self.once then - vim.cmd("au ModeChanged *:*o redrawstatus") - end - self.once = true - end, - static = { - mode_names = { - n = "NORMAL ", - no = "N·OPERATOR PENDING ", - nov = "N?", - noV = "N?", - ["no\22"] = "N? ", - niI = "Ni", - niR = "Nr", - niV = "Nv", - nt = "Nt", - v = "VISUAL ", - vs = "Vs", - V = "V·LINE ", - ["\22"] = "V·BLOCK ", - ["\22s"] = "V·BLOCK ", - s = "SELECT ", - S = "S·LINE ", - ["\19"] = "S·BLOCK ", - i = "INSERT ", - ix = "insert x ", - ic = "insert c ", - R = "REPLACE ", - Rc = "Rc", - Rx = "Rx", - Rv = "V·REPLACE ", - Rvc = "Rv", - Rvx = "Rv", - c = "COMMAND ", - cv = "VIM EX ", - ce = "EX ", - r = "PROMPT ", - rm = "MORE ", - ["r?"] = "CONFIRM ", - ["!"] = "SHELL ", - t = "TERMINAL ", - }, - }, - provider = function(self) - return " %2(" .. self.mode_names[self.mode] .. "%) " - end, - hl = function(self) - local color = self:mode_color() - return { fg = color, bold = true } - end, - update = { - "ModeChanged", - }, -} - --- LSP -local LSPActive = { - condition = conditions.lsp_attached, - update = { "LspAttach", "LspDetach" }, - - provider = function() - local buf_clients = vim.lsp.buf_get_clients() - local buf_client_names = {} - - -- add client - for _, client in pairs(buf_clients) do - if client.name ~= "null-ls" then - table.insert(buf_client_names, client.name) - end - end - return "⚙️ " .. table.concat(buf_client_names, "") - end, - hl = { fg = colors.lightgray, bold = false }, -} - --- Navic -local Navic = { - condition = require("nvim-navic").is_available, - static = { - -- create a type highlight map - type_hl = { - File = "Directory", - Module = "Include", - Namespace = "TSNamespace", - Package = "Include", - Class = "Struct", - Method = "Method", - Property = "TSProperty", - Field = "TSField", - Constructor = "TSConstructor ", - Enum = "TSField", - Interface = "Type", - Function = "Function", - Variable = "TSVariable", - Constant = "Constant", - String = "String", - Number = "Number", - Boolean = "Boolean", - Array = "TSField", - Object = "Type", - Key = "TSKeyword", - Null = "Comment", - EnumMember = "TSField", - Struct = "Struct", - Event = "Keyword", - Operator = "Operator", - TypeParameter = "Type", - }, - }, - init = function(self) - local data = require("nvim-navic").get_data() or {} - local children = {} - -- create a child for each level - for i, d in ipairs(data) do - local child = { - { - provider = d.icon, - hl = self.type_hl[d.type], - }, - { - provider = d.name, - -- highlight icon only or location name as well - -- hl = self.type_hl[d.type], - }, - } - -- add a separator only if needed - if #data > 1 and i < #data then - table.insert(child, { - provider = " > ", - hl = { fg = colors.white }, - }) - end - table.insert(children, child) - end - -- instantiate the new child, overwriting the previous one - self[1] = self:new(children, 1) - end, - hl = { fg = colors.white }, -} - --- Diagnostics -local Diagnostics = { - - condition = conditions.has_diagnostics, - - static = { - error_icon = vim.fn.sign_getdefined("DiagnosticSignError")[1].text, - warn_icon = vim.fn.sign_getdefined("DiagnosticSignWarn")[1].text, - info_icon = vim.fn.sign_getdefined("DiagnosticSignInfo")[1].text, - hint_icon = vim.fn.sign_getdefined("DiagnosticSignHint")[1].text, - }, - - init = function(self) - self.errors = #vim.diagnostic.get(0, { severity = vim.diagnostic.severity.ERROR }) - self.warnings = #vim.diagnostic.get(0, { severity = vim.diagnostic.severity.WARN }) - self.hints = #vim.diagnostic.get(0, { severity = vim.diagnostic.severity.HINT }) - self.info = #vim.diagnostic.get(0, { severity = vim.diagnostic.severity.INFO }) - end, - - update = { "DiagnosticChanged", "BufEnter" }, - - { - provider = function(self) - -- 0 is just another output, we can decide to print it or not! - return self.errors > 0 and (self.error_icon .. self.errors .. " ") - end, - hl = { fg = colors.diag.error, bg = colors.bg }, - }, - { - provider = function(self) - return self.warnings > 0 and (self.warn_icon .. self.warnings .. " ") - end, - hl = { fg = colors.diag.warn, bg = colors.bg }, - }, - { - provider = function(self) - return self.info > 0 and (self.info_icon .. self.info .. " ") - end, - hl = { fg = colors.diag.info, bg = colors.bg }, - }, - { - provider = function(self) - return self.hints > 0 and (self.hint_icon .. self.hints) - end, - hl = { fg = colors.diag.hint, bg = colors.bg }, - }, - on_click = { - callback = function() - require("trouble").toggle({ mode = "document_diagnostics" }) - -- or - -- vim.diagnostic.setqflist() - end, - name = "heirline_diagnostics", - }, -} - --- Git --- For the ones who're not (too) afraid of changes! Uses gitsigns. -local Git = { - condition = conditions.is_git_repo, - - init = function(self) - self.status_dict = vim.b.gitsigns_status_dict - self.has_changes = self.status_dict.added ~= 0 or self.status_dict.removed ~= 0 or self.status_dict.changed ~= 0 - end, - --hl = { fg = "orange" }, - hl = { fg = colors.orange, bg = colors.bg }, - { -- git branch name - provider = function(self) - return " " .. self.status_dict.head - end, - --hl = { bold = true }, - hl = { bold = true, bg = colors.bg }, - }, - -- You could handle delimiters, icons and counts similar to Diagnostics - { - condition = function(self) - return self.has_changes - end, - --provider = "(" - provider = " ", - }, - { - provider = function(self) - local count = self.status_dict.added or 0 - --return count > 0 and ("+" .. count) - return count > 0 and (" " .. count) - end, - --hl = { fg = "git_add" }, - hl = { fg = colors.git.add, bg = colors.bg }, - }, - { - provider = function(self) - local count = self.status_dict.removed or 0 - --return count > 0 and ("-" .. count) - return count > 0 and (" " .. count) - end, - --hl = { fg = "git_del" }, - hl = { fg = colors.git.del, bg = colors.bg }, - }, - { - provider = function(self) - local count = self.status_dict.changed or 0 - --return count > 0 and ("~" .. count) - return count > 0 and (" 柳" .. count) - end, - --hl = { fg = "git_change" }, - hl = { fg = colors.git.change, bg = colors.bg }, - }, - --{ - -- condition = function(self) - -- return self.has_changes - -- end, - -- provider = ")", - --}, - on_click = { - callback = function() - -- If you want to use Fugitive: - -- vim.cmd("G") - - -- If you prefer Lazygit - -- use vim.defer_fn() if the callback requires - -- opening of a floating window - -- (this also applies to telescope) - vim.defer_fn(function() - vim.cmd("Lazygit") - end, 100) - end, - name = "heirline_git", - }, -} - --- Debugger --- Display informations from nvim-dap! -local DAPMessages = { - -- display the dap messages only on the debugged file - condition = function() - local session = require("dap").session() - if session then - local filename = vim.api.nvim_buf_get_name(0) - if session.config then - local progname = session.config.program - return filename == progname - end - end - return false - end, - provider = function() - return " " .. require("dap").status() - end, - hl = { fg = utils.get_highlight("Debug").fg }, - -- Debugger on_click: step-over, step-into, next, previous, stop buttons - -- coming soon! -} - --- Tests --- This requires the great ultest. ---local UltTest = { --- condition = function() --- return vim .api.nvim_call_function("ultest#is_test_file", {}) ~= 0 --- end, --- static = { --- passed_icon = vim.fn.sign_getdefined("test_pass")[1].text, --- failed_icon = vim.fn.sign_getdefined("test_fail")[1].text, --- passed_hl = { fg = utils.get_highlight("UltestPass").fg }, --- failed_hl = { fg = utils.get_highlight("UltestFail").fg }, --- }, --- init = function(self) --- self.status = vim.api.nvim_call_function("ultest#status", {}) --- end, --- --- -- again, if you'd like icons and numbers to be colored differently, --- -- just split the component in two --- { --- provider = function(self) --- return self.passed_icon .. self.status.passed .. " " --- end, --- hl = function(self) --- return self.passed_hl --- end, --- }, --- { --- provider = function(self) --- return self.failed_icon .. self.status.failed .. " " --- end, --- hl = function(self) --- return self.failed_hl --- end, --- }, --- { --- provider = function(self) --- return "of " .. self.status.tests - 1 --- end, --- }, ---} - --- FileNameBlock: FileIcon, FileName and friends -local FileNameBlock = { - -- let's first set up some attributes needed by this component and it's children - init = function(self) - self.filename = vim.api.nvim_buf_get_name(0) - end, - --hl = { fg = utils.get_highlight("Statusline").fg, bold = true, bg = colors.bg }, - hl = { bg = colors.bg }, -} - --- FileIcon, FileName, FileFlags and FileNameModifier -local FileIcon = { - init = function(self) - local filename = self.filename - local extension = vim.fn.fnamemodify(filename, ":e") - self.icon, self.icon_color = - require("nvim-web-devicons").get_icon_color(filename, extension, { default = true }) - end, - provider = function(self) - return self.icon and (self.icon .. " ") - end, - hl = function(self) - return { fg = self.icon_color, bg = colors.bg } - end, -} - -local FileName = { - provider = function(self) - -- first, trim the pattern relative to the current directory. For other - -- options, see :h filename-modifers - local filename = vim.fn.fnamemodify(self.filename, ":.") - if filename == "" then - return "No Name" - end - -- now, if the filename would occupy more than 1/4th of the available - -- space, we trim the file path to its initials - -- See Flexible Components section below for dynamic truncation - if not conditions.width_percent_below(#filename, 0.25) then - filename = vim.fn.pathshorten(filename) - end - return filename - end, - --hl = { fg = utils.get_highlight("Statusline").fg, bold = false, bg = colors.bg }, - hl = { fg = colors.white, bold = false, bg = colors.bg }, -} - -local FileFlags = { - { - provider = function() - if vim.bo.modified then - return " [+]" -- ±[+] - end - end, - hl = { fg = colors.green, bg = colors.bg }, - }, - { - provider = function() - if not vim.bo.modifiable or vim.bo.readonly then - return " " - end - end, - --hl = { fg = colors.orange }, - hl = { fg = colors.orange, bold = true, bg = colors.bg }, - }, -} - -local FileNameModifier = { - hl = function() - if vim.bo.modified then - return { fg = colors.green, bold = false, force = true } - end - end, -} - --- FileType, FileEncoding and FileFormat -local FileType = { - provider = function() - return vim.bo.filetype - end, - hl = { fg = colors.white, bold = false, bg = colors.bg }, -} - -local FileEncoding = { - Space, - provider = function() - local enc = (vim.bo.fenc ~= "" and vim.bo.fenc) or vim.o.enc -- :h 'enc' - return enc:lower() - end, - --hl = { fg = utils.get_highlight("Statusline").fg, bold = true, bg = colors.bg }, - hl = { bg = colors.bg, bold = false }, -} - -local FileFormat = { - provider = function() - local fmt = vim.bo.fileformat - --return fmt ~= "unix" and fmt:upper() - return fmt ~= "unix" and fmt:lower() - end, - hl = { fg = utils.get_highlight("Statusline").fg, bold = true, bg = colors.bg }, -} - --- FileSize and FileLastModified -local FileSize = { - provider = function() - -- stackoverflow, compute human readable file size - local suffix = { "b", "k", "M", "G", "T", "P", "E" } - local fsize = vim.fn.getfsize(vim.api.nvim_buf_get_name(0)) - fsize = (fsize < 0 and 0) or fsize - if fsize < 1024 then - return fsize .. suffix[1] - end - local i = math.floor((math.log(fsize) / math.log(1024))) - return string.format("%.2g%s", fsize / math.pow(1024, i), suffix[i + 1]) - end, - hl = { fg = utils.get_highlight("Statusline").fg, bold = true, bg = colors.bg }, -} - -local FileLastModified = { - -- did you know? Vim is full of functions! - provider = function() - local ftime = vim.fn.getftime(vim.api.nvim_buf_get_name(0)) - return (ftime > 0) and os.date("%c", ftime) - end, - hl = { fg = utils.get_highlight("Statusline").fg, bold = true, bg = colors.bg }, -} - --- Spell --- Add indicator when spell is set! -local Spell = { - condition = function() - return vim.wo.spell - end, - provider = " 暈", - hl = { bold = true, fg = colors.yellow }, -} - -local help_file_name = { - condition = function() - return vim.bo.filetype == "help" - end, - provider = function() - local filename = vim.api.nvim_buf_get_name(0) - return vim.fn.fnamemodify(filename, ":t") - end, - hl = { fg = colors.blue }, -} - --- Cursor position: Ruler ---local Ruler = { - -- %l = current line number - -- %L = number of lines in the buffer - -- %c = column number - -- %P = percentage through file of displayed window - --provider = "%P %(%l/%L%):%c ", - --provider = "%3(%2l%):%c %P ", - --provider = "%7(%l/%3L%):%2c%P ", - --provider = "%3(%P%)", - --provider = "%7(%l/%3L%):%2c %P", - --provider = "%7 %p%% Ln %l, Col %c", - --provider = "%9( %P %2l/%L :%2c %)", - --provider = "%9(%2l%2( : %c%)/%L %P %)", - --provider = "%7(%l:%c/%L%) ", - --provider = "%6(%l:%1.5c/%L%) %P ", - --provider = "%6(%l:%1.5c/%L%) ", - --provider = "%3(%l:%1.5c/%L%) ", - --provider = "%7(%l/%3L%):%2c ", --- provider = "%7(%l:%c%) ", - --provider = "%l:%c ", - --hl = { fg = utils.get_highlight("Statusline").fg, bold = true }, --- hl = { fg = colors.darkgray, bold = true }, ---} -local leftruler = { Space, Align } -local rightruler = { Align, Space } -local cursor_location = { - --{ provider = "", hl = { fg = utils.get_highlight("StatusLine").bg, bold = true } }, --- { provider = "%<%-05.10(%l:%c%)", hl = { fg = colors.darkgray, bold = true } }, --- { provider = " ", hl = { fg = colors.darkgray, bold = true } }, - --{ provider = "%P %=%<%(%l,%c)" }, - --{ provider = " %w%-8.(%l,%c%)%>" }, - { provider = " %1(%4l:%-3(%c%) %)%*", hl = { fg = colors.black, bold = true } }, -} -local Ruler = { cursor_location } - - --utils.make_flexible_component( - -- 3, - -- { Ruler, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - -- { provider = "%<" } - --), ---local cursor_location = { --- { provider = "%7(%l:%c%) ", hl = { bold = true } }, --- { --- provider = " ", --- hl = function(self) --- local color = self:mode_color() --- return { fg = color, bold = true } --- end, --- }, ---} - -local WordCount = { - condition = function() - return conditions.buffer_matches({ - filetype = { - "markdown", - "txt", - "vimwiki", - }, - }) - end, - Space, - { - provider = function() - return "W:" .. vim.fn.wordcount().words - end, - }, -} - --- Working Directory -local WorkDir = { - provider = function(self) - self.icon = (vim.fn.haslocaldir(0) == 1 and "l" or "g") .. " " .. " " - local cwd = vim.fn.getcwd(0) - self.cwd = vim.fn.fnamemodify(cwd, ":~") - end, - hl = { fg = colors.blue, bold = true, bg = colors.bg }, - - utils.make_flexible_component(1, { - -- evaluates to the full-lenth path - provider = function(self) - local trail = self.cwd:sub(-1) == "/" and "" or "/" - return self.icon .. self.cwd .. trail .. " " - end, - }, { - -- evaluates to the shortened path - provider = function(self) - local cwd = vim.fn.pathshorten(self.cwd) - local trail = self.cwd:sub(-1) == "/" and "" or "/" - return self.icon .. cwd .. trail .. " " - end, - }, { - -- evaluates to "", hiding the component - provider = "", - }), -} - --- Snippets Indicator --- This requires ultisnips ---local Snippets = { --- -- check that we are in insert or select mode --- condition = function() --- return vim.tbl_contains({'s', 'i'}, vim.fn.mode()) --- end, --- provider = function() --- local forward = (vim.fn["UltiSnips#CanJumpForwards"]() == 1) and "" or "" --- local backward = (vim.fn["UltiSnips#CanJumpBackwards"]() == 1) and " " or "" --- return backward .. forward --- end, --- hl = { fg = "red", bold = true }, ---} - --- let's add the children to our FileNameBlock component -FileNameBlock = utils.insert( - FileNameBlock, - FileIcon, - utils.insert(FileNameModifier, FileName), -- a new table where FileName is a child of FileNameModifier - unpack(FileFlags), -- A small optimisation, since their parent does nothing - { provider = "%<" } -- this means that the statusline is cut here when there's not enough space -) - -local FileInfoBlock = { - -- let's first set up some attributes needed by this component and it's children - init = function(self) - self.filename = vim.api.nvim_buf_get_name(0) - end, -} - -FileInfoBlock = utils.insert( - FileInfoBlock, - Space, - FileIcon, - FileType, - { provider = "%<" } -- this means that the statusline is cut here when there's not enough space -) - ---ViMode = utils.surround({ "", "" }, function(self) --- return self:mode_color() ---end, { ViMode, hl = { fg = utils.get_highlight("statusline").bg, force = true } }) ---local mysurroundedcomponent = { ---{provider='', hl = {...}}, ---{<your component>}, ---{provider = '>>>', hl = {...}} ---} -LeftSpace = utils.surround({ "", " " }, function(self) - return self:mode_color() -end, { LeftSpace, hl = { fg = utils.get_highlight("statusline").bg, force = true } }) - -RightSpace = utils.surround( - { "", "" }, - colors.gray, - { RightSpace, hl = { bg = utils.get_highlight("statusline").bg, force = true } } -) - -RightSpace2 = utils.surround( - { "█", "" }, - colors.darkgray, - { RightSpace2, hl = { fg = colors.darkgray, force = true } } -) - -RightSpace3 = utils.surround( - { "█", "" }, - utils.get_highlight("statusline").bg, - { RightSpace3, hl = { fg = colors.darkgray, force = true } } -) - -LSPActive = utils.surround({ "", "" }, function(self) - return self:mode_color() -end, { Space, LSPActive, hl = { bg = colors.darkgray, force = true } }) - -FileInfoBlock = utils.surround({ "", "" }, function(self) - return self:mode_color() -end, { FileInfoBlock, Space, hl = { bg = colors.gray, force = true } }) - -Ruler = utils.surround({ "", "" }, colors.gray, { Ruler, hl = { fg = colors.gray, force = true } }) - -local left = { - { ViMode, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - --{ LeftSep, hl = function(self) - -- return { fg = self.mode_colors[self.mode], bg = utils.get_highlight("statusline").bg, bold = true, } - -- end, - --}, - { LeftSpace, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { FileNameBlock, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Space, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Git, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, -} -local middle = { - { Align, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Navic, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { DAPMessages, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Align, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, -} -local right = { - { Diagnostics, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { - RightSpace3, - hl = { bg = colors.darkgray, force = true }, - }, - { LSPActive, hl = { bg = colors.darkgray, force = true } }, - { RightSpace2, hl = { bg = colors.gray, force = true } }, - { FileInfoBlock, hl = { bg = colors.gray, force = true } }, - { RightSpace, hl = { fg = colors.gray, force = true } }, - --{ cursor_location, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - { Ruler, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - --utils.make_flexible_component( - -- 3, - -- { Ruler, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - -- { provider = "%<" } - --), -} ---local Align = { provider = "%=", hl = { bg = colors.bg } } - -local sections = { left, middle, right } -local DefaultStatusline = { sections } ---LSPActive, Space, LSPMessages, Space, UltTest, Space, FileType, Space, Ruler, Space, ScrollBar - -local InactiveStatusline = { - condition = conditions.is_not_active, - { FileType, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Space, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { FileName, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Align, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, -} - -local SpecialStatusline = { - condition = function() - return conditions.buffer_matches({ - buftype = { "nofile", "prompt", "help", "quickfix" }, - filetype = { "^git.*", "fugitive" }, - }) - end, - - --FileType, - --Space, - --Align, - { ViMode, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - { LeftSpace, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { FileType, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Space, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Align, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { RightSpace, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - { Ruler, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, -} - -local TerminalStatusline = { - - condition = function() - return conditions.buffer_matches({ buftype = { "terminal" } }) - end, - - --hl = { bg = colors.red }, - - -- Quickly add a condition to the ViMode to only show it when buffer is active! - --{ condition = conditions.is_active, ViMode, Space }, - { ViMode, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - { LeftSpace, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { FileType, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Space, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { Align, hl = { bg = utils.get_highlight("statusline").bg, force = true } }, - { RightSpace, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - { Ruler, hl = { fg = utils.get_highlight("statusline").bg, force = true } }, - --FileType, - --Space, - --TerminalName, - --Align, -} - -local StatusLine = { - - --hl = function() - -- if conditions.is_active() then - -- return "StatusLine" - -- else - -- return "StatusLineNC" - -- end - --end, - static = { - mode_colors = { - n = colors.blue, - i = colors.green, - v = colors.purple, - V = colors.purple, - ["\22"] = colors.purple, - c = colors.orange, - s = colors.purple, - S = colors.purple, - ["\19"] = colors.purple, - R = colors.red, - r = colors.red, - ["!"] = colors.orange, - t = colors.orange, - }, - mode_color = function(self) - local mode = conditions.is_active() and vim.fn.mode() or "n" - return self.mode_colors[mode] - end, - hl = function(self) - local color = self:mode_color() -- here! - return { bg = color } - end, - }, - fallthrough = false, - - SpecialStatusline, - TerminalStatusline, - InactiveStatusline, - DefaultStatusline, -} - - --- ---- WinBar --- -local WinbarFileNameBlock = { - -- let's first set up some attributes needed by this component and it's children - init = function(self) - self.filename = vim.api.nvim_buf_get_name(0) - end, - hl = { bg = colors.bg }, -} - ---local WinbarFileName = { --- provider = function(self) --- -- self.filename will be defined later, just keep looking at the example! --- local filename = self.filename --- filename = filename == "" and "No Name" or vim.fn.fnamemodify(filename, ":t") --- return filename --- end, --- hl = function() --- return { fg = colors.gray, italic = true } --- end, ---} -local WinbarFileName = { - provider = function(self) - -- first, trim the pattern relative to the current directory. For other - -- options, see :h filename-modifers - local filename = vim.fn.fnamemodify(self.filename, ":.") - if filename == "" then - return "No Name" - end - -- now, if the filename would occupy more than 1/4th of the available - -- space, we trim the file path to its initials - -- See Flexible Components section below for dynamic truncation - if not conditions.width_percent_below(#filename, 0.25) then - filename = vim.fn.pathshorten(filename) - end - return filename - end, - --hl = { fg = utils.get_highlight("Statusline").fg, bold = false, bg = colors.bg }, - hl = { fg = colors.gray, bold = false, bg = colors.bg }, -} - -WinbarFileNameBlock = utils.insert( - WinbarFileNameBlock, - FileIcon, - utils.insert(WinbarFileName), -- a new table where FileName is a child of FileNameModifier - unpack(FileFlags), -- A small optimisation, since their parent does nothing - { provider = "%<" } -- this means that the statusline is cut here when there's not enough space -) - -vim.api.nvim_create_autocmd("User", { - pattern = "HeirlineInitWinbar", - callback = function(args) - local buf = args.buf - local buftype = vim.tbl_contains({ "prompt", "nofile", "help", "quickfix" }, vim.bo[buf].buftype) - local filetype = vim.tbl_contains({ "gitcommit", "fugitive" }, vim.bo[buf].filetype) - if buftype or filetype then - vim.opt_local.winbar = nil - end - end, -}) - -On_click = { - -- get the window id of the window in which the component was evaluated - minwid = function() - return vim.api.nvim_get_current_win() - end, - callback = function(_, minwid) - -- winid is the window id of the window the component was clicked from - local winid = minwid - -- do something with the window id, e.g.: - local buf = vim.api.nvim_win_get_buf(winid) - -- ... - end, -} - -local CloseButton = { - condition = function(self) - return not vim.bo.modified - end, - -- a small performance improvement: - -- re register the component callback only on layout/buffer changes. - update = { "WinNew", "WinClosed", "BufEnter" }, - { provider = " " }, - { - provider = "", - hl = { fg = "gray" }, - On_click = { - minwid = function() - return vim.api.nvim_get_current_win() - end, - callback = function(_, minwid) - vim.api.nvim_win_close(minwid, true) - end, - name = "heirline_winbar_close_button", - }, - }, -} - -local Center = { - fallthrough = false, - { -- Hide the winbar for special buffers - condition = function() - return conditions.buffer_matches({ - buftype = { "nofile", "prompt", "help", "quickfix" }, - filetype = { "^git.*", "fugitive" }, - }) - end, - init = function() - vim.opt_local.winbar = nil - end, - }, - { -- A special winbar for terminals - condition = function() - return conditions.buffer_matches({ buftype = { "terminal" } }) - end, - FileType, - Space, - --TerminalName, - }, - { -- An inactive winbar for regular files - condition = function() - return not conditions.is_active() - end, - --utils.surround({ "", "" }, colors.nobg, { FileIcon, { WinbarFileName, hl = { fg = colors.gray } }, FileFlags } ), - utils.surround({ "", "" }, colors.nobg, { WinbarFileNameBlock } ), - }, - -- A winbar for regular files - utils.surround({ "", "" }, colors.nobg, { FileNameBlock }), -} - ---local WinBar = { Align, Center, Align } -local WinBar = { Space, Center } - - --- TabLine -local TablineBufnr = { - provider = function(self) - return tostring(self.bufnr) .. "." - end, - hl = { fg = colors.white, bold = false }, -} - --- we redefine the filename component, as we probably only want the tail and not the relative path -local TablineFileName = { - provider = function(self) - -- self.filename will be defined later, just keep looking at the example! - local filename = self.filename - filename = filename == "" and "No Name" or vim.fn.fnamemodify(filename, ":t") - return filename - end, - hl = function(self) - return { fg = colors.white, bold = self.is_active or self.is_visible, italic = true } - end, -} - -local TablineFileFlags = { - { - provider = function(self) - if vim.bo[self.bufnr].modified then - return " [+] " - end - end, - hl = { fg = colors.green }, - }, - { - provider = function(self) - if not vim.bo[self.bufnr].modifiable or vim.bo[self.bufnr].readonly then - return " " - end - end, - hl = { fg = "orange" }, - }, -} - -local TablineFileIcon = { - init = function(self) - local filename = self.filename - local extension = vim.fn.fnamemodify(filename, ":e") - self.icon, self.icon_color = - require("nvim-web-devicons").get_icon_color(filename, extension, { default = true }) - end, - provider = function(self) - return self.icon and (" " .. self.icon .. " ") - end, - hl = function(self) - return { fg = self.icon_color } - end, -} - --- Here the filename block finally comes together -local TablineFileNameBlock = { - init = function(self) - self.filename = vim.api.nvim_buf_get_name(self.bufnr) - end, - hl = function(self) - if self.is_active then - return "TabLineSel" - -- why not? - --elseif not vim.api.nvim_buf_is_loaded(self.bufnr) then - --return { fg = "gray", bg = colors.bg } - else - return "TabLineFill" - end - end, - on_click = { - callback = function(_, minwid, _, button) - if button == "m" then -- close on mouse middle click - vim.api.nvim_buf_delete(minwid, { force = false }) - else - vim.api.nvim_win_set_buf(0, minwid) - end - end, - minwid = function(self) - return self.bufnr - end, - name = "heirline_tabline_buffer_callback", - }, - TablineBufnr, - TablineFileIcon, - TablineFileName, - TablineFileFlags, -} - --- a nice "x" button to close the buffer -local TablineCloseButton = { - condition = function(self) - return not vim.api.nvim_buf_get_option(self.bufnr, "modified") - end, - { provider = " " }, - { - provider = " ", - --hl = { fg = "red", bg = colors.bg }, - hl = { fg = colors.red }, - on_click = { - callback = function(_, minwid) - vim.api.nvim_buf_delete(minwid, { force = false }) - end, - minwid = function(self) - return self.bufnr - end, - name = "heirline_tabline_close_buffer_callback", - }, - }, -} - --- The final touch! -local TablineBufferBlock = utils.surround({ "", "" }, function(self) - --local TablineBufferBlock = utils.surround({ "█", "█" }, function(self) - if self.is_active then - return utils.get_highlight("TabLineSel").bg - else - return utils.get_highlight("TabLineFill").bg - end -end, { Tab, TablineFileNameBlock, TablineCloseButton }) - -local BufferLine = utils.make_buflist( - TablineBufferBlock, - { provider = " ", hl = { fg = colors.white } }, -- left truncation, optional (defaults to "<") - { provider = " ", hl = { fg = colors.white } } -- right trunctation, also optional (defaults to ...... yep, ">") - -- by the way, open a lot of buffers and try clicking them ;) -) --- TabList -local Tabpage = { - provider = function(self) - return "%" .. self.tabnr .. "T " .. self.tabnr .. " %T" - end, - hl = function(self) - if not self.is_active then - return "TabLineFill" - else - return "TabLineSel" - end - end, -} - -local TabpageClose = { - provider = "%999X %X", - --hl = "TabLine", - hl = { fg = colors.red, bg = colors.bg }, -} - -local TabPages = { - -- only show this component if there's 2 or more tabpages - condition = function() - return #vim.api.nvim_list_tabpages() >= 2 - end, - { - provider = "%=", - }, - utils.make_tablist(Tabpage), - TabpageClose, -} - --- TabLineOffset -local TabLineOffset = { - condition = function(self) - local win = vim.api.nvim_tabpage_list_wins(0)[1] - local bufnr = vim.api.nvim_win_get_buf(win) - self.winid = win - - if vim.api.nvim_buf_get_option(bufnr, "filetype") == "NvimTree" then - self.title = "NvimTree" - return true - end - end, - - provider = function(self) - local title = self.title - local width = vim.api.nvim_win_get_width(self.winid) - local pad = math.ceil((width - #title) / 2) - return string.rep(" ", pad) .. title .. string.rep(" ", pad) - end, - - hl = function(self) - if vim.api.nvim_get_current_win() == self.winid then - return "TablineSel" - else - return "TablineFill" - end - end, -} - -local TabLine = { - TabLineOffset, - BufferLine, - TabPages, -} - -require("heirline").setup(StatusLine, WinBar, TabLine) - --- Yep, with heirline we're driving manual! ---vim.cmd([[au FileType * if index(['wipe', 'delete', 'unload'], &bufhidden) >= 0 | set nobuflisted | endif]]) --- ---local function get_bufs() --- return vim.tbl_filter(function(bufnr) --- return vim.api.nvim_buf_is_loaded(bufnr) and vim.bo[bufnr].buflisted --- end, vim.api.nvim_list_bufs()) ---end --- ---local function goto_buf(index) --- local bufs = get_bufs() --- if index > #bufs then --- index = #bufs --- end --- vim.api.nvim_win_set_buf(0, bufs[index]) ---end --- ---local function addKey(key, index) --- vim.keymap.set("", "<A-" .. key .. ">", function() --- goto_buf(index) --- end, { noremap = true, silent = true }) ---end --- ---for i = 1, 9 do --- addKey(i, i) ---end ---addKey("0", 10) diff --git a/lua/user/linecolor.lua b/lua/user/linecolor.lua deleted file mode 100644 index 37550dd..0000000 --- a/lua/user/linecolor.lua +++ /dev/null @@ -1,112 +0,0 @@ ---local M = {} ---M.theme = function() --- -- I know I could just set bg = nil but I'm leaving this here in case I want custom colors in the future --- local colors = { --- nobg = nil, --- blue = "#87b0f9", --- mauve = "#cba6f7", --- red = "#f38ba8", --- green = "#a6e3a1", --- peach = "#fab387", --- white = "#c6d0f5", --- gray = "#a1a8c9", --- black = "#1e1e2e", --- } --- return { --- inactive = { --- a = { fg = colors.blue, bg = colors.nobg, gui = "bold" }, --- b = { fg = colors.white, bg = colors.black }, --- c = { fg = colors.gray, bg = colors.nobg }, --- }, --- visual = { --- a = { fg = colors.black, bg = colors.mauve, gui = "bold" }, --- b = { fg = colors.mauve, bg = colors.nobg }, --- c = { fg = colors.white, bg = colors.nobg }, --- }, --- replace = { --- a = { fg = colors.black, bg = colors.red, gui = "bold" }, --- b = { fg = colors.red, bg = colors.nobg }, --- c = { fg = colors.white, bg = colors.nobg }, --- }, --- normal = { --- a = { fg = colors.black, bg = colors.blue, gui = "bold" }, --- b = { fg = colors.black, bg = colors.green }, --- c = { fg = colors.white, bg = colors.black }, --- }, --- insert = { --- a = { fg = colors.black, bg = colors.green, gui = "bold" }, --- b = { fg = colors.teal, bg = colors.nobg }, --- c = { fg = colors.white, bg = colors.nobg }, --- }, --- command = { --- a = { fg = colors.black, bg = colors.peach, gui = "bold" }, --- b = { fg = colors.peach, bg = colors.nobg }, --- c = { fg = colors.white, bg = colors.nobg }, --- }, --- modified = { --- a = { fg = colors.black, bg = colors.peach, gui = "bold" }, --- b = { fg = colors.peach, bg = colors.peach }, --- c = { fg = colors.white, bg = colors.peach }, --- }, --- } ---end ---return M -local M = {} -M.theme = function() - --local colors = { - -- darkgray = "#16161d", - -- gray = "#727169", - -- innerbg = nil, - -- outerbg = "#16161D", - -- normal = "#7e9cd8", - -- insert = "#98bb6c", - -- visual = "#ffa066", - -- replace = "#e46876", - -- command = "#e6c384", - --} - local colors = { - darkgray = "#16161d", - gray = "#727169", - innerbg = nil, - outerbg = "#16161D", - normal = "#39BAE6", - insert = "#AAD94C", - visual = "#FA8D3F", - replace = "#F07171", - command = "#F2AE49", - } - return { - inactive = { - a = { fg = colors.gray, bg = colors.outerbg, gui = "bold" }, - b = { fg = colors.gray, bg = colors.outerbg }, - c = { fg = colors.gray, bg = colors.innerbg }, - }, - visual = { - a = { fg = colors.darkgray, bg = colors.visual, gui = "bold" }, - b = { fg = colors.gray, bg = colors.outerbg }, - c = { fg = colors.gray, bg = colors.innerbg }, - }, - replace = { - a = { fg = colors.darkgray, bg = colors.replace, gui = "bold" }, - b = { fg = colors.gray, bg = colors.outerbg }, - c = { fg = colors.gray, bg = colors.innerbg }, - }, - normal = { - a = { fg = colors.darkgray, bg = colors.normal, gui = "bold" }, - b = { fg = colors.gray, bg = colors.outerbg }, - c = { fg = colors.gray, bg = colors.innerbg }, - y = { fg = colors.gray, bg = colors.outerbg }, - }, - insert = { - a = { fg = colors.darkgray, bg = colors.insert, gui = "bold" }, - b = { fg = colors.gray, bg = colors.outerbg }, - c = { fg = colors.gray, bg = colors.innerbg }, - }, - command = { - a = { fg = colors.darkgray, bg = colors.command, gui = "bold" }, - b = { fg = colors.gray, bg = colors.outerbg }, - c = { fg = colors.gray, bg = colors.innerbg }, - }, - } -end -return M diff --git a/lua/user/lsp-colors.lua b/lua/user/lsp-colors.lua deleted file mode 100644 index 1398123..0000000 --- a/lua/user/lsp-colors.lua +++ /dev/null @@ -1,9 +0,0 @@ -local status, colors = pcall(require, "lsp-colors") -if (not status) then return end - -colors.setup { - Error = "#db4b4b", - Warning = "#e0af68", - Information = "#0db9d7", - Hint = "#10B981" -} diff --git a/lua/user/lsp.lua b/lua/user/lsp.lua deleted file mode 100644 index 5d422a3..0000000 --- a/lua/user/lsp.lua +++ /dev/null @@ -1,584 +0,0 @@ - -local fn = vim.fn -local keymap = vim.keymap - -local utils = require("user.utils") - -local custom_attach = function(client, bufnr) - -- Enable completion triggered by <c-x><c-o> - vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') - - -- Mappings. - local map = function(mode, l, r, opts) - opts = opts or {} - opts.silent = true - opts.noremap = true - opts.buffer = bufnr - keymap.set(mode, l, r, opts) - end ---map("n", "gd", "<Cmd>Lspsaga lsp_finder<CR>") -- Press "o" to open the reference location ---map("n", "gp", "<Cmd>Lspsaga peek_definition<CR>") --- --map("n", "gd", vim.lsp.buf.definition, { desc = "go to definition" }) - map("n", "<C-]>", vim.lsp.buf.definition) --- map("n", "K", vim.lsp.buf.hover) --- map("n", "<C-k>", vim.lsp.buf.signature_help) --- map("n", "<leader>rn", vim.lsp.buf.rename, { desc = "varialble rename" }) --- map("n", "gr", vim.lsp.buf.references, { desc = "show references" }) --- map("n", "[d", vim.diagnostic.goto_prev, { desc = "previous diagnostic" }) --- map("n", "]d", vim.diagnostic.goto_next, { desc = "next diagnostic" }) - map("n", "<leader>q", function() - vim.diagnostic.setqflist({ open = true }) - end, { desc = "put diagnostic to qf" }) --- --map.('n', '<space>q', vim.diagnostic.setloclist) --- map("n", "ga", vim.lsp.buf.code_action, { desc = "LSP code action" }) --- map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, { desc = "add workspace folder" }) --- map("n", "<leader>wr", vim.lsp.buf.remove_workspace_folder, { desc = "remove workspace folder" }) --- map("n", "<leader>wl", function() --- print(vim.inspect(vim.lsp.buf.list_workspace_folders())) --- end, { desc = "list workspace folder" }) --- map("n", "gs", "vim.lsp.buf.document_symbol()<cr>") --- map("n", "gw", "vim.lsp.buf.workspace_symbol()<cr>", { desc = "list workspace folder" }) --- --map("n", "gs", ":lua vim.lsp.buf.document_symbol()<cr>") --- map("n", "gt", ":lua vim.lsp.buf.type_definition()<cr>") --- map("n", "gD", ":lua vim.lsp.buf.declaration()<cr>") -- most lsp servers don't implement textDocument/Declaration, so gD is useless for now. --- map("n", "gi", ":lua vim.lsp.buf.implementation()<cr>") - map("n", "go", ":lua vim.diagnostic.open_float()<cr>") --- map("n", "gk", "<Cmd>Lspsaga diagnostic_jump_prev<CR>") --- map("n", "gj", "<Cmd>Lspsaga diagnostic_jump_next<CR>") ---vim.api.nvim_set_keymap('n', '<leader>dd', '<cmd>lua vim.diagnostic.setloclist()<CR>', { noremap = true, silent = true }) -vim.g.diagnostics_visible = true -function _G.toggle_diagnostics() - if vim.g.diagnostics_visible then - vim.g.diagnostics_visible = false - vim.diagnostic.disable() - else - vim.g.diagnostics_visible = true - vim.diagnostic.enable() - end -end -map('n', '<Leader>m', ':call v:lua.toggle_diagnostics()<CR>') ---vim.g.diagnostics_active = true ---function _G.toggle_diagnostics() --- if vim.g.diagnostics_active then --- vim.g.diagnostics_active = false --- vim.lsp.diagnostic.clear(0) --- vim.cmd([[exe "normal ii\<Esc>x"]]) --- vim.lsp.handlers["textDocument/publishDiagnostics"] = function() end --- else --- vim.g.diagnostics_active = true --- vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( --- vim.lsp.diagnostic.on_publish_diagnostics, { --- virtual_text = true, --- signs = true, --- underline = true, --- update_in_insert = false, --- } --- ) --- end ---end --- ---map("n", "<leader>i", ":call v:lua.toggle_diagnostics()<CR>") - - - -- Set some key bindings conditional on server capabilities - if client.server_capabilities.documentFormattingProvider then - map("n", "<space>f", vim.lsp.buf.format, { desc = "format code" }) - end - - -- add rust specific keymappings - if client.name == "rust_analyzer" then - map("n", "<leader>rr", "<cmd>RustRunnables<CR>") - map("n", "<leader>ra", "<cmd>RustHoverAction<CR>") - end - ---For diagnostics for specific cursor position ---vim.api.nvim_create_autocmd("CursorHold", { --- buffer = bufnr, --- callback = function() --- local opts = { --- focusable = false, --- close_events = { "BufLeave", "CursorMoved", "InsertEnter", "FocusLost" }, --- border = 'rounded', --- source = 'always', --- prefix = ' ', --- scope = 'cursor', --- } --- vim.diagnostic.open_float(nil, opts) --- end ---}) - -- Diagnostic position --- vim.api.nvim_create_autocmd("CursorHold", { --- buffer = bufnr, --- callback = function() --- local float_opts = { --- focusable = false, --- close_events = { "BufLeave", "CursorMoved", "InsertEnter", "FocusLost" }, --- border = "rounded", --- source = "always", -- show source in diagnostic popup window --- prefix = " ", --- } --- --- if not vim.b.diagnostics_pos then --- vim.b.diagnostics_pos = { nil, nil } --- end --- --- local cursor_pos = vim.api.nvim_win_get_cursor(0) --- if --- (cursor_pos[1] ~= vim.b.diagnostics_pos[1] or cursor_pos[2] ~= vim.b.diagnostics_pos[2]) --- and #vim.diagnostic.get() > 0 --- then --- vim.diagnostic.open_float(nil, float_opts) --- end --- --- vim.b.diagnostics_pos = cursor_pos --- end, --- }) - - -- The below command will highlight the current variable and its usages in the buffer. - if client.server_capabilities.documentHighlightProvider then - vim.cmd([[ - hi! link LspReferenceRead Visual - hi! link LspReferenceText Visual - hi! link LspReferenceWrite Visual - augroup lsp_document_highlight - autocmd! * <buffer> - autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight() - autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references() - augroup END - ]]) - end - - if vim.g.logging_level == "debug" then - local msg = string.format("Language server %s started!", client.name) - vim.notify(msg, vim.log.levels.DEBUG, { title = "Server?" }) - end -end - -local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities) -capabilities.textDocument.completion.completionItem.snippetSupport = true -capabilities.offsetEncoding = { "utf-16" } - -local lspconfig = require("lspconfig") - -if utils.executable("pylsp") then - lspconfig.pylsp.setup({ - settings = { - pylsp = { - plugins = { - pylint = { enabled = true, executable = "pylint" }, - pyflakes = { enabled = false }, - pycodestyle = { enabled = false }, - jedi_completion = { fuzzy = true }, - pyls_isort = { enabled = true }, - pylsp_mypy = { enabled = true }, - }, - }, - }, - flags = { - debounce_text_changes = 200, - }, - capabilities = capabilities, - }) -else - vim.notify("pylsp not found!", vim.log.levels.WARN, { title = "Server?" }) -end - --- if utils.executable('pyright') then --- lspconfig.pyright.setup{ --- on_attach = custom_attach, --- capabilities = capabilities --- } --- else --- vim.notify("pyright not found!", vim.log.levels.WARN, {title = 'Server?'}) --- end - -if utils.executable("clangd") then - lspconfig.clangd.setup({ - on_attach = custom_attach, - capabilities = capabilities, - filetypes = { "c", "cpp", "cc" }, - flags = { - debounce_text_changes = 500, - }, - }) -else - vim.notify("clangd not found!", vim.log.levels.WARN, { title = "Server?" }) -end - --- set up vim-language-server -if utils.executable("vim-language-server") then - lspconfig.vimls.setup({ - on_attach = custom_attach, - flags = { - debounce_text_changes = 500, - }, - capabilities = capabilities, - }) -else - vim.notify("vim-language-server not found!", vim.log.levels.WARN, { title = "Server?" }) -end - --- set up bash-language-server -if utils.executable("bash-language-server") then - lspconfig.bashls.setup({ - on_attach = custom_attach, - capabilities = capabilities, - }) -end - -if utils.executable("lua-language-server") then - lspconfig.sumneko_lua.setup({ - on_attach = custom_attach, - settings = { - Lua = { - runtime = { - -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) - version = "LuaJIT", - }, - diagnostics = { - -- Get the language server to recognize the `vim` global - globals = { "vim" }, - }, - workspace = { - -- Make the server aware of Neovim runtime files, - library = { - fn.stdpath("data") .. "/site/pack/packer/opt/emmylua-nvim", - fn.stdpath("config"), - }, - maxPreload = 2000, - preloadFileSize = 50000, - }, - }, - }, - capabilities = capabilities, - }) -end - - -if utils.executable("rust-language-server") then -require("lspconfig").rust_analyzer.setup{ - cmd = { "rustup", "run", "nightly", "rust-analyzer" }, - on_attach = custom_attach, - flags = { - debounce_text_changes = 500, - }, - --[[ - settings = { - rust = { - unstable_features = true, - build_on_save = false, - all_features = true, - }, - } - --]] -} -end - ---vim.diagnostic.config({ --- virtual_text = false, --- underline = true, ---}) -vim.diagnostic.config({ - underline = false, - signs = true, - virtual_text = false, - float = { - show_header = true, - source = 'if_many', - border = 'rounded', - focusable = false, - }, - update_in_insert = false, -- default to false - severity_sort = false, -- default to false -}) --- Show line diagnostics automatically in hover window ---vim.o.updatetime = 250 ---vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focusable = false,})]] ---vim.cmd ([[ noremap <leader>a :autocmd! CursorHold,CursorHoldI <CR>]]) - ---vim.cmd [[ noremap <leader>a :autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focusable = false,})<CR>]] ---local diagnostics_active = true ---local toggle_diagnostics = function() --- diagnostics_active = not diagnostics_active --- if diagnostics_active then --- vim.o.updatetime = 250 --- vim.cmd ([[autocmd! CursorHold,CursorHoldI <CR>]]) --- --vim.diagnostic.open_float(nil, {focus=false}) --- else --- vim.o.updatetime = 250 --- vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]] --- --vim.diagnostic.hide() --- --vim.diagnostic.disable() --- end ---end ---vim.keymap.set("n", "<leader>a", toggle_diagnostics) - ---function LspDiagnosticsFocus() --- vim.api.nvim_command('set eventignore=WinLeave') --- vim.api.nvim_command('autocmd CursorMoved <buffer> ++once set eventignore=""') --- vim.diagnostic.open_float(nil, {focusable = false, scope = 'line', close_events = {"CursorMoved", "CursorMovedI", "BufHidden", "InsertCharPre", "WinLeave"}}) ---end ---vim.api.nvim_set_keymap('', '<Leader>a', '<Cmd>lua LspDiagnosticsFocus()<CR>', {silent = true}) - --vim.o.updatetime = 250 - --- vim.o.updatetime = 250 -----vim.o.updatetime = 250 -----vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focusable = false,})]] -----local diagnostics_active = true ---local toggle_diagnostics = function() --- --diagnostics_active = not diagnostics_active --- --if diagnostics_active then --- --if vim.diagnostic.open_float() == true then --- if vim.api.nvim_exec([[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]] ---, true) then --- vim.api.nvim_exec([[autocmd! CursorHold,CursorHoldI ]] ---, true) --- else --- vim.o.updatetime = 250 --- vim.api.nvim_exec([[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]], true) --- end ---end ---vim.keymap.set("n", "<leader>a", toggle_diagnostics) --- ---vim.api.nvim_create_autocmd('CursorHold', { --- vim.diagnostic.open_float(nil, {focus=false}) --- ---}) - -vim.o.updatetime = 250 -vim.cmd[[ -augroup OpenFloat - autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focusable = false,}) - -augroup END -]] -vim.cmd([[ -function! ToggleDiagnosticsOpenFloat() - " Switch the toggle variable - let g:DiagnosticsOpenFloat = !get(g:, 'DiagnosticsOpenFloat', 1) - - " Reset group - augroup OpenFloat - autocmd! - augroup END - - " Enable if toggled on - if g:DiagnosticsOpenFloat - augroup OpenFloat - autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focusable = false,}) print ("vim.diagnostic.open_float enabled . . .") - augroup END - endif -endfunction -nnoremap <leader>a :call ToggleDiagnosticsOpenFloat()<CR>\|:echom "vim.diagnostic.open_float disabled . . ."<CR> -]]) - ---vim.lsp.handlers["textDocument/hover"] = vim.lsp.with( --- vim.lsp.handlers.hover, { --- signs = true, --- underline = false, --- virtual_text = false, --- show_diagnostic_autocmds = {'InsertLeave', 'TextChanged'}, --- diagnostic_delay = 500 --- }) ---vim.cmd [[autocmd CursorHold * lua vim.diagnostic.open_float(0, {scope="cursor", close_events = {"CursorMoved", "CursorMovedI", "BufHidden", "InsertCharPre", "WinLeave"}})]] - ---function LspDiagnosticsFocus() --- vim.api.nvim_command('set eventignore=WinLeave') --- vim.api.nvim_command('autocmd CursorMoved <buffer> ++once set eventignore=""') --- vim.diagnostic.open_float(nil, {focusable = false, scope = 'line', close_events = {"CursorMoved", "CursorMovedI", "BufHidden", "InsertCharPre", "WinLeave"}}) ---end ---vim.api.nvim_set_keymap('', '<Leader>a', '<Cmd>lua LspDiagnosticsFocus()<CR>', {silent = true}) - ---local diagnostics_active = true ---map('n', '<leader>a', function() --- diagnostics_active = not diagnostics_active --- if diagnostics_active then --- vim.diagnostic.show() --- else --- vim.diagnostic.hide() --- end ---end) - --- Global config for diagnostic ---vim.diagnostic.config({ --- underline = false, --- virtual_text = false, --- signs = true, --- severity_sort = true, --- float = { --- focusable = true, -- --- style = "minimal", -- --- --border = "rounded", --- border = "shadow", --- source = "always", --- header = "", --- prefix = "", --- }, ---}) - -vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, { - underline = true, - virtual_text = false, - signs = true, - update_in_insert = false, -}) - ---vim.lsp.buf.definition -vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" }) - ---vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" }) - -vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = "rounded" }) - ---local signs = { Error = " ", Warn = " ", Info = " ", Hint = " " } ---local signs = { Error = "✘", Warn = "▲", Info = "🛈 ", Hint = "⚑" } -local signs = { Error = "✘", Warn = "▲", Info = "", Hint = "⚑" } -for type, icon in pairs(signs) do - local hl = "DiagnosticSign" .. type - vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) -end - - ----- Location information about the last message printed. The format is ----- `(did print, buffer number, line number)`. ---local last_echo = { false, -1, -1 } --- ----- The timer used for displaying a diagnostic in the commandline. ---local echo_timer = nil --- ----- The timer after which to display a diagnostic in the commandline. ---local echo_timeout = 250 --- ----- The highlight group to use for warning messages. ---local warning_hlgroup = 'WarningMsg' --- ----- The highlight group to use for error messages. ---local error_hlgroup = 'ErrorMsg' --- ----- If the first diagnostic line has fewer than this many characters, also add ----- the second line to it. ---local short_line_limit = 20 --- ----- Shows the current line's diagnostics in a floating window. ---function show_line_diagnostics() --- vim --- .lsp --- .diagnostic --- .show_line_diagnostics({ severity_limit = 'Warning' }, vim.fn.bufnr('')) ---end --- ----- Prints the first diagnostic for the current line. ---function echo_diagnostic() --- if echo_timer then --- echo_timer:stop() --- end --- --- echo_timer = vim.defer_fn( --- function() --- local line = vim.fn.line('.') - 1 --- local bufnr = vim.api.nvim_win_get_buf(0) --- --- if last_echo[1] and last_echo[2] == bufnr and last_echo[3] == line then --- return --- end --- --- local diags = vim --- .lsp --- .diagnostic --- .get_line_diagnostics(bufnr, line, { severity_limit = 'Warning' }) --- --- if #diags == 0 then --- -- If we previously echo'd a message, clear it out by echoing an empty --- -- message. --- if last_echo[1] then --- last_echo = { false, -1, -1 } --- --- vim.api.nvim_command('echo ""') --- end --- --- return --- end --- --- last_echo = { true, bufnr, line } --- --- local diag = diags[1] --- local width = vim.api.nvim_get_option('columns') - 15 --- local lines = vim.split(diag.message, "\n") --- local message = lines[1] --- local trimmed = false --- --- if #lines > 1 and #message <= short_line_limit then --- message = message .. ' ' .. lines[2] --- end --- --- if width > 0 and #message >= width then --- message = message:sub(1, width) .. '...' --- end --- --- local kind = 'warning' --- local hlgroup = warning_hlgroup --- --- if diag.severity == vim.lsp.protocol.DiagnosticSeverity.Error then --- kind = 'error' --- hlgroup = error_hlgroup --- end --- --- local chunks = { --- { kind .. ': ', hlgroup }, --- { message } --- } --- --- vim.api.nvim_echo(chunks, false, {}) --- end, --- echo_timeout --- ) ---end ---vim.cmd([[ --- autocmd CursorMoved * :lua echo_diagnostic() ---]]) --- Highlight line number instead of having icons in sign column - --- See the properties of the signs with sign list. - ---vim.cmd [[ --- highlight! DiagnosticLineNrError guibg=#51202A guifg=#FF0000 gui=bold --- highlight! DiagnosticLineNrWarn guibg=#51412A guifg=#FFA500 gui=bold --- highlight! DiagnosticLineNrInfo guibg=#1E535D guifg=#00FFFF gui=bold --- highlight! DiagnosticLineNrHint guibg=#1E205D guifg=#0000FF gui=bold --- --- sign define DiagnosticSignError text= texthl=DiagnosticSignError linehl= numhl=DiagnosticLineNrError --- sign define DiagnosticSignWarn text= texthl=DiagnosticSignWarn linehl= numhl=DiagnosticLineNrWarn --- sign define DiagnosticSignInfo text= texthl=DiagnosticSignInfo linehl= numhl=DiagnosticLineNrInfo --- sign define DiagnosticSignHint text= texthl=DiagnosticSignHint linehl= numhl=DiagnosticLineNrHint ---]] - --- Highlight symbol under cursor - --- Add the following to your on_attach (this allows checking server capabilities to avoid calling invalid commands. - ---if client.resolved_capabilities.document_highlight then --- vim.cmd [[ --- hi! LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow --- hi! LspReferenceText cterm=bold ctermbg=red guibg=LightYellow --- hi! LspReferenceWrite cterm=bold ctermbg=red guibg=LightYellow --- ]] --- vim.api.nvim_create_augroup('lsp_document_highlight', { --- clear = false --- }) --- vim.api.nvim_clear_autocmds({ --- buffer = bufnr, --- group = 'lsp_document_highlight', --- }) --- vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, { --- group = 'lsp_document_highlight', --- buffer = bufnr, --- callback = vim.lsp.buf.document_highlight, --- }) --- vim.api.nvim_create_autocmd('CursorMoved', { --- group = 'lsp_document_highlight', --- buffer = bufnr, --- callback = vim.lsp.buf.clear_references, --- }) ---end - diff --git a/lua/user/lspkind.lua b/lua/user/lspkind.lua deleted file mode 100644 index 72ca5c2..0000000 --- a/lua/user/lspkind.lua +++ /dev/null @@ -1,47 +0,0 @@ -local status, lspkind = pcall(require, "lspkind") -if (not status) then return end - -lspkind.init({ - -- enables text annotations - -- - -- default: true - mode = 'symbol', - - -- default symbol map - -- can be either 'default' (requires nerd-fonts font) or - -- 'codicons' for codicon preset (requires vscode-codicons font) - -- - -- default: 'default' - preset = 'codicons', - - -- override preset symbols - -- - -- default: {} - symbol_map = { - Text = "", - Method = "", - Function = "", - Constructor = "", - Field = "ﰠ", - Variable = "", - Class = "ﴯ", - Interface = "", - Module = "", - Property = "ﰠ", - Unit = "塞", - Value = "", - Enum = "", - Keyword = "", - Snippet = "", - Color = "", - File = "", - Reference = "", - Folder = "", - EnumMember = "", - Constant = "", - Struct = "פּ", - Event = "", - Operator = "", - TypeParameter = "" - }, -}) diff --git a/lua/user/lspsaga.lua b/lua/user/lspsaga.lua deleted file mode 100644 index 0bf1ec7..0000000 --- a/lua/user/lspsaga.lua +++ /dev/null @@ -1,145 +0,0 @@ -require "lspsaga".init_lsp_saga { - -- "single" | "double" | "rounded" | "bold" | "plus" - border_style = "rounded", - --border_style = "single", - saga_winblend = 30, - move_in_saga = { next = '<C-n>', prev = '<C-p>' }, - --move_in_saga = { prev = "k", next = "j" }, - scroll_in_preview = { - scroll_down = "<C-d>", - scroll_up = "<C-u>", - }, - diagnostic_header = { " ", " ", " ", " " }, - -- add bracket or something with diagnostic source, just have 2 elements - -- use emoji lightbulb in default - code_action_icon = "", - --code_action_icon = "ﯦ ", - -- if true can press number to execute the codeaction in codeaction window - code_action_num_shortcut = true, - -- same as nvim-lightbulb but async - code_action_lightbulb = { - enable = false, - sign = false, - sign_priority = 20, -- - virtual_text = false, - }, - finder_icons = { - def = " ", - ref = " ", - link = " ", - }, - -- preview lines of lsp_finder and definition preview - max_preview_lines = 5, - definition_action_keys = { - edit = '<CR>', - vsplit = '<C-y>', - split = '<C-x>', - tabe = '<C-t>', - quit = '<ESC>', - }, - -- definition_preview_quit = '<ESC>', - -- finder_preview_hl_ns = 8, - finder_action_keys = { - open = { 'o', '<CR>' }, - vsplit = "v", - split = "s", - tabe = "t", - quit = "<ESC>", - scroll_down = "<C-j>", - scroll_up = "<C-k>", -- quit can be a table - }, - code_action_keys = { - quit = "<ESC>", - exec = "<CR>", - }, - rename_action_quit = "<ESC>", - rename_in_select = true, - symbol_in_winbar = { - enable = true, - --in_custom = false, - in_custom = true, - separator = ' ', - --show_file = false, - show_file = true, - click_support = false, - --click_support = false, - }, - --show_outline = { - -- win_position = 'right', - -- --set special filetype win that outline window split.like NvimTree neotree - -- -- defx, db_ui - -- min_with = '', - -- win_width = 40, - -- auto_enter = false, - -- auto_preview = true, - -- virt_text = 'x', - -- jump_key = 'l', - -- -- auto refresh when change buffer - -- auto_refresh = true, - --}, - custom_kind = { - File = { " " }, - Module = { " " }, - Namespace = { "ﱕ " }, - Package = { " " }, - Class = { "ﴯ " }, - Method = { "" }, - Property = { "ﰠ " }, - Field = { "ﰠ " }, - Constructor = { " " }, - Enum = { " " }, - Interface = { " " }, - Function = { " " }, - Variable = { " " }, - Constant = { " " }, - String = { " " }, - Number = { " " }, - Boolean = { " " }, - Array = { " " }, - Object = { " " }, - Key = { "- " }, - Null = { " " }, - EnumMember = { " " }, - Struct = { " " }, - Event = { " " }, - Operator = { " " }, - TypeParameter = { " " }, - TypeAlias = { " " }, - Parameter = { " " }, - StaticMethod = { " " }, - Macro = { "廓" }, - }, -} - - -- Mappings. -local map = vim.api.nvim_set_keymap -local opts = { noremap = true, silent = true } - -map("n", "gd", "<CMD>Lspsaga peek_definition<CR>", opts) ---map("n", "gp", "<Cmd>Lspsaga peek_definition<CR>", opts) -map("n", "gi", "<CMD>Lspsaga lsp_finder<CR>", opts) -map("n", "gh", "<CMD>Lspsaga hover_doc<CR>", opts) -map("n", "gs", "<CMD>Lspsaga signature_help<CR>", opts) -map("n", "ga", "<CMD>Lspsaga code_action<CR>", opts) -map("v", "ga", "<CMD><C-u>Lspsaga range_code_action<CR>", opts) -map("n", "gl", "<CMD>Lspsaga show_line_diagnostics<CR>", opts) ---map("n", "go", "<CMD>Lspsaga open_floaterm zsh<CR>", opts) -map("n", ";D", "<CMD>Lspsaga show_cursor_diagnostics<CR>", opts) -map("n", "<gr>", "<CMD>Lspsaga rename<CR>", opts) -map("n", "gk", "<CMD>Lspsaga diagnostic_jump_prev<CR>", opts) -map("n", "gj", "<CMD>Lspsaga diagnostic_jump_next<CR>", opts) -map("n", "[d", "<Cmd>lua vim.lsp.diagnostic.goto_prev()<CR>", opts) -map("n", "]d", "<Cmd>lua vim.lsp.diagnostic.goto_next()<CR>", opts) -map("t", "<ESC>", "<CMD>Lspsaga close_floaterm<CR>", opts) - ---vim.api.nvim_command("highlight LspFloatWinNormal guibg=none ") ---hi LspFloatWinNormal guibg=none - - --- vim.api.nvim_create_autocmd("BufEnter", { --- callback = function () --- if #vim.api.nvim_list_wins() == 1 and vim.bo.filetype == "lspsagaoutline" then --- vim.cmd "quit" --- end --- end --- }) diff --git a/lua/user/lualine.lua b/lua/user/lualine.lua deleted file mode 100644 index 9d86e21..0000000 --- a/lua/user/lualine.lua +++ /dev/null @@ -1,423 +0,0 @@ -local lualine_status_ok, lualine = pcall(require, "lualine") -if not lualine_status_ok then - print("lualine.nvim is etiher broken or is not installed.") - return -end - ---local colors = require('tokyonight.colors').setup() ---local colors = { ---bg_dark = "#1f2335", ---bg = "#24283b", ---fg = "#c0caf5", ---fg_gutter = "#3b4261", ---green = "#a6e3a1", ---red = "#f38ba8", ---} - ---local colors = { --- gray = '#23232e', --- lightgray = '#5f6a8e', --- orange = '#ffb86c', --- purple = '#bd93f9', --- red = '#ff5555', --- yellow = '#f1fa8c', --- green = '#50fa7b', --- white = '#f8f8f2', --- black = '#282a36', ---} -local colors = { - nobg = nil, - blue = "#87b0f9", - mauve = "#cba6f7", - red = "#f38ba8", - green = "#a6e3a1", - peach = "#fab387", - white = "#c6d0f5", - gray = "#a1a8c9", - black = "#1e1e2e", - innerbg = nil, - outerbg = "#16161D", -} ---require("lualine").setup({ --- Your lua part of config goes here -require("lualine").setup({ - options = { - icons_enabled = true, - --theme = "auto", - theme = require("plugins.linecolor").theme(), - --theme = { - -- We are going to use lualine_c an lualine_x as left and - -- right section. Both are highlighte by c theme . So we - -- are just setting default looks o statusline - --normal = { c = { fg = colors.fg, bg = colors.bg } }, - --inactive = { c = { fg = colors.fg, bg = colors.bg } }, - --}, - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, - --component_separators = { left = '|', right = '|'}, - --section_separators = { left = '', right = ''}, - disabled_filetypes = { - statusline = {}, - winbar = {}, - }, - ignore_focus = {}, - always_divide_middle = true, - globalstatus = true, - refresh = { - statusline = 1000, - tabline = 1000, - winbar = 1000, - }, - }, - sections = { - lualine_a = { "mode" }, - lualine_b = { - "branch", - { - "diff", - colored = true, - diff_color = { - added = "DiffAdd", - modified = "DiffChange", - removed = "DiffDelete", - }, - }, - { - "diagnostics", - - sources = { "nvim_lsp" }, - sections = { "error", "warn", "info" }, - - diagnostics_color = { - error = "DiagnosticError", - warn = "DiagnosticWarn", - info = "DiagnosticInfo", - }, - colored = true, - update_in_insert = false, - always_visible = false, - }, - }, - --lualine_b = { "branch", "diff", "diagnostics" }, - lualine_c = { - --{"filetype", padding={right=0}, icon_only = true, component_separators = {left = "", right = ""}}, - --{"filename", padding={left=0}, color = {gui = "bold,italic"}}, - --{ "filetype", - -- icon_only = true, - --}, - { - "filename", - --color = {gui = "bold,italic", fg = '#ffaa88', bg = 'nil' }, - --component_separators = {left = "", right = ""}, - }, - }, - lualine_x = { "encoding", "fileformat", "filetype" }, - --lualine_x = { - -- {"encoding", color = { bg = colors.black }, component_separators = {left = "", right = ""}}, - -- {"fileformat", color = { bg = colors.black }, component_separators = {left = "", right = ""}}, - -- {"filetype", color = { bg = colors.black }, component_separators = {left = "", right = ""}}, - --}, - lualine_y = { "progress" }, - lualine_z = { "location" }, - }, - inactive_sections = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { "filename" }, - lualine_x = { "location" }, - lualine_y = {}, - lualine_z = {}, - }, - -- tabline = {}, - tabline = { - --lualine_a = { "mode" }, - --lualine_a = {custom_fname}, - lualine_a = { - { - "buffers", - show_filename_only = false, - show_modified_status = true, - mode = 4, - buffers_color = { - active = { bg = colors.nobg, fg = colors.black }, -- color for active buffer - --inactive = { bg = colors.white, fg = colors.fg_gutter }, -- color for inactive buffer - --active = { bg = colors.bg, fg = colors.white }, -- color for active buffer - --inactive = { bg = colors.bg_dark, fg = colors.fg_gutter }, -- color for inactive buffer - ----color = function() - ---- return { bg = vim.bo.modified and '#aa3355' or '#33aa88' } - ----end, - }, - symbols = { - modified = " ●", -- Text to show when the buffer is modified - alternate_file = "", -- Text to show to identify the alternate file - --directory = "", -- Text to show when the buffer is a directory - }, - max_length = vim.o.columns * 5 / 6, - --{{function() - -- local bg = 'hi! lualine_buffers_color' -- not modified - -- if vim.bo.modified then bg = '#c70039' -- unsaved - -- elseif not vim.bo.readonly then bg = 'hi! lualine_buffers_color' end -- readonly - -- vim.cmd('hi! lualine_buffers_color guibg='..bg) - --end, - --color = 'hi! lualine_buffers_color', - --}}, - }, - }, - lualine_b = {}, - lualine_c = {}, - lualine_x = {}, - lualine_y = {}, - lualine_z = {}, - --lualine_z = { "tabs" }, - }, - --tabline = { - -- lualine_a = { "mode" }, - -- lualine_b = { "buffers" }, - -- lualine_c = { "branch" }, - -- --lualine_c = { "branch", "diff", "diagnostics" }, - -- lualine_x = {}, - -- lualine_y = {}, - -- lualine_z = { "tabs" }, - --}, - --winbar = { - -- lualine_a = {}, - -- lualine_b = {}, - -- lualine_c = {'filename'}, - -- lualine_x = {}, - -- lualine_y = {}, - -- lualine_z = {} - --}, - --inactive_winbar = { - -- lualine_a = {}, - -- lualine_b = {}, - -- lualine_c = {}, - -- lualine_x = {}, - -- lualine_y = {}, - -- lualine_z = {} - --}, - winbar = {}, - inactive_winbar = {}, - --extensions = {}, - extensions = { "quickfix" }, -}) ---require("lualine").statusline() ---require("lualine").tabline() ---if not lualine_status_ok then --- print("lualine.nvim is etiher broken or is not installed.") --- return ---end ---local lualine_status_ok, lualine = pcall(require, "lualine") ---if not lualine_status_ok then --- print("lualine.nvim is etiher broken or is not installed.") --- return ---end ---local utils = require("heirline.utils") - ---local M = {} - --- stylua: ignore start ---M.colours = {--{{{ ----- Color table for highlights ----- stylua: ignore ---local colors = { --- bg = '#2E3440', --- fg = '#E5E9F0', --- yellow = '#EBCB8B', --- cyan = '#88C0D0', --- darkblue = '#5E81AC', --- green = '#A3BE8C', --- orange = '#D08770', --- violet = '#B48EAD', --- magenta = '#B48EAD', --- blue = '#81A1C1', --- red = '#BF616A', ---} --- ---local conditions = { --- buffer_not_empty = function() --- return vim.fn.empty(vim.fn.expand("%:t")) ~= 1 --- end, --- hide_in_width = function() --- return vim.fn.winwidth(0) > 80 --- end, --- check_git_workspace = function() --- local filepath = vim.fn.expand("%:p:h") --- local gitdir = vim.fn.finddir(".git", filepath .. ";") --- return gitdir and #gitdir > 0 and #gitdir < #filepath --- end, ---} - --- Config ---local config = { ---require('lualine').setup { --- options = { --- -- Disable sections and component separators --- component_separators = "", --- section_separators = "", --- theme = { --- -- We are going to use lualine_c an lualine_x as left and --- -- right section. Both are highlighte by c theme . So we --- -- are just setting default looks o statusline --- normal = { c = { fg = colors.fg, bg = colors.bg } }, --- inactive = { c = { fg = colors.fg, bg = colors.bg } }, --- }, --- disabled_filetypes = { "NvimTree" }, --- }, --- sections = { --- -- these are to remove the defaults --- lualine_a = {}, --- lualine_b = {}, --- lualine_y = {}, --- lualine_z = {}, --- -- These will be filled later --- lualine_c = {}, --- lualine_x = {}, --- }, --- inactive_sections = { --- -- these are to remove the defaults --- lualine_a = {}, --- lualine_b = {}, --- lualine_y = {}, --- lualine_z = {}, --- lualine_c = {}, --- lualine_x = {}, --- }, ---} --- ----- Inserts a component in lualine_c at left section ---local function ins_left(component) --- table.insert(lualine.sections.lualine_c, component) ---end --- ----- Inserts a component in lualine_x ot right section ---local function ins_right(component) --- table.insert(lualine.sections.lualine_x, component) ---end --- ---ins_left({ --- function() --- return "▊" --- end, --- color = { fg = colors.green }, -- Sets highlighting of component --- padding = { left = 0, right = 1 }, -- We don't need space before this ---}) --- ---ins_left({ --- -- mode component --- function() --- return "" --- end, --- color = function() --- -- auto change color according to neovims mode --- local mode_color = { --- n = colors.blue, --- i = colors.green, --- v = colors.violet, --- ["�"] = colors.blue, --- V = colors.blue, --- c = colors.magenta, --- no = colors.red, --- s = colors.orange, --- S = colors.orange, --- ic = colors.yellow, --- R = colors.violet, --- Rv = colors.violet, --- cv = colors.red, --- ce = colors.red, --- r = colors.cyan, --- rm = colors.cyan, --- ["r?"] = colors.cyan, --- ["!"] = colors.red, --- t = colors.red, --- } --- return { fg = mode_color[vim.fn.mode()] } --- end, --- padding = { right = 1 }, ---}) --- ---ins_left({ --- -- mode component --- "mode", --- color = function() --- -- auto change color according to neovims mode --- local mode_color = { --- n = colors.red, --- i = colors.green, --- v = colors.violet, --- ["�"] = colors.blue, --- V = colors.blue, --- c = colors.magenta, --- no = colors.red, --- s = colors.orange, --- S = colors.orange, --- ic = colors.yellow, --- R = colors.violet, --- Rv = colors.violet, --- cv = colors.red, --- ce = colors.red, --- r = colors.cyan, --- rm = colors.cyan, --- ["r?"] = colors.cyan, --- ["!"] = colors.red, --- t = colors.red, --- } --- return { fg = mode_color[vim.fn.mode()] } --- end, --- padding = { right = 1 }, ---}) --- ---ins_left({ --- "branch", --- icon = "", --- color = { fg = colors.violet, gui = "bold" }, ---}) --- ---ins_left({ --- "filename", --- cond = conditions.buffer_not_empty, --- color = { fg = colors.aqua, gui = "bold" }, ---}) --- ---ins_left({ --- -- filesize component --- "filesize", --- cond = conditions.buffer_not_empty, ---}) --- ----- Add components to right sections ---ins_right({ --- "o:encoding", -- option component same as &encoding in viml --- fmt = string.lower, -- I'm not sure why it's upper case either ;) --- cond = conditions.hide_in_width, --- color = { fg = colors.yellow }, ---}) --- ---ins_right({ --- "fileformat", --- fmt = string.upper, --- icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh --- color = { fg = colors.fg, gui = "bold" }, ---}) --- ---ins_right({ --- "filetype", ---}) --- ---ins_right({ "progress", color = { fg = colors.fg, gui = "bold" } }) --- ---ins_right({ --- "location", ---}) --- ---ins_right({ --- function() --- return "▊" --- end, --- color = { fg = colors.green }, --- padding = { left = 1 }, ---}) ---return M --- Now don't forget to initialize lualine ---require("lualine").setup(config) ---require"lualine".setup(config) ---lualine.setup(config) diff --git a/lua/user/luasnip.lua b/lua/user/luasnip.lua deleted file mode 100644 index 7a6066e..0000000 --- a/lua/user/luasnip.lua +++ /dev/null @@ -1,149 +0,0 @@ -if vim.g.snippets ~= "luasnip" or not pcall(require, "luasnip") then - return -end ---local luasnip = require("luasnip") -local ls = require "luasnip" -- -local types = require "luasnip.util.types" -- ---local options = { -ls.config.set_config { - history = true, - updateevents = "TextChanged,TextChangedI", - -- Autosnippets: - enable_autosnippets = true, -- - ext_opts = { -- - [types.choiceNode] = { -- - active = { -- - virt_text = { { " « ", "NonTest" } }, -- - }, -- - }, -- - }, -- -} --- ls.expand_or_jump() --- end ---nd, { silent = true }) - --- <c-j> is my jump backwards key. --- this always moves to the previous item within the snippet ---im.keymap.set({ "i", "s" }, "<C-j>", function() --- if ls.jumpable(-1) then --- ls.jump(-1) --- end ---nd, { silent = true }) - --- <c-l> is selecting within a list of options. --- This is useful for choice nodes (introduced in the forthcoming episode 2) ---vim.keymap.set("i", "<c-l>", function() --- if ls.choice_active() then --- ls.change_choice(1) --- end ---end) - ---vim.keymap.set("i", "<c-z>", require "luasnip.extras.select_choice") - --- shorcut to source my luasnips file again, which will reload my snippets ---vim.keymap.set("n", "<leader><leader>s", "<cmd>source ~/.config/nvim/lua/user/plugins/luasnip.lua<CR>") - --- ls.parser.parse_snippet(<text>, <VS**** style snippet>) ---ls.snippets = { --- all = { --- -- Available in any filetype --- ls.parser.parse_snippet("expand", "-- this is what was expanded!"), ---s.snippets = { --- all = { --- -- Available in any filetype --- ls.parser.parse_snippet("expand", "-- this is what was expanded!"), --- }, --- lua = { --- -- Lua specific snippets go here. --- ls.parser.parse_snippet("lf", "local $1 = function($2)\n $0\nend") --- }, --- ---}) -local snip = ls.snippet -local node = ls.snippet_node -local text = ls.text_node -local insert = ls.insert_node -local func = ls.function_node -local choice = ls.choice_node -local dynamicn = ls.dynamic_node - -local date = function() return {os.date('%Y-%m-%d')} end - -ls.add_snippets(nil, { - all = { - --snip({ - -- trig = "date", - -- namr = "Date", - -- dscr = "Date in the form of YYYY-MM-DD", - --}, { - -- func(date, {}), - --}), - snip({ - trig = "meta", - namr = "Metadata", - dscr = "Yaml metadata format for markdown" -}, -{ - }), - }, -}) ---local opts = { noremap = true, silent = true } ---keymap("i", "<C-j>", "<cmd>lua require'luasnip'.jump(1)<CR>", opts) ---keymap("s", "<C-j>", "<cmd>lua require'luasnip'.jump(1)<CR>", opts) ---keymap("i", "<C-k>", "<cmd>lua require'luasnip'.jump(-1)<CR>", opts) ---local keymap = vim.api.nvim_set_keymap -local keymap = vim.keymap -local term_opts = { noremap = true, silent = false } - local map = function(mode, l, r, opts) - opts = opts or {} - opts.silent = true - opts.noremap = true - keymap.set(mode, l, r, opts) - end - -map("i", "<C-j>", "<Plug>luasnip-expand-or-jump<CR>") -map("i", "<C-k>", "<Plug>luasnip-jump-prev * <Cmd>lua require'luasnip'.jump(-1)<CR>") -map("s", "<C-j>", "<Plug>luasnip-expand-or-jump<CR>") -map("s", "<C-k>", "<Plug>luasnip-jump-prev * <Cmd>lua require'luasnip'.jump(-1)<CR>") ---keymap("s", "<C-k>", "<cmd>lua require'luasnip'.jump(-1)<CR>", opts) ---map("i", "<C-j>", "<Plug>luasnip-expand-or-jump<CR>") - ---! <Plug>luasnip-expand-repeat * <Cmd>lua require'luasnip'.expand_repeat()<CR> ---! <Plug>luasnip-delete-check * <Cmd>lua require'luasnip'.unlink_current_if_deleted()<CR> ---i <Plug>luasnip-jump-prev * <Cmd>lua require'luasnip'.jump(-1)<CR> ---i <Plug>luasnip-jump-next * <Cmd>lua require'luasnip'.jump(1)<CR> ---i <Plug>luasnip-prev-choice * <Cmd>lua require'luasnip'.change_choice(-1)<CR> ---i <Plug>luasnip-next-choice * <Cmd>lua require'luasnip'.change_choice(1)<CR> ---i <Plug>luasnip-expand-snippet * <Cmd>lua require'luasnip'.expand()<CR> ---i <Plug>luasnip-expand-or-jump * <Cmd>lua require'luasnip'.expand_or_jump()<CR> - - - - - - - - - - - - - ---luasnip.config.set_config(options) ---require("luasnip.loaders.from_vscode").lazy_load() ---require("luasnip.loaders.from_vscode").lazy_load { paths = vim.g.luasnippets_path or "" } --- ---vim.api.nvim_create_autocmd("InsertLeave", { --- callback = function() --- if --- require("luasnip").session.current_nodes[vim.api.nvim_get_current_buf()] --- and not require("luasnip").session.jump_active --- then --- require("luasnip").unlink_current() --- end --- end, ---}) - - - - diff --git a/lua/user/mason.lua b/lua/user/mason.lua deleted file mode 100644 index 69c61ba..0000000 --- a/lua/user/mason.lua +++ /dev/null @@ -1,27 +0,0 @@ -local status, mason = pcall(require, "mason") -if (not status) then return end -local status2, lspconfig = pcall(require, "mason-lspconfig") -if (not status2) then return end - -mason.setup({ - -}) - -lspconfig.setup { - ensure_installed = { "sumneko_lua" }, -} -local keymap = vim.api.nvim_set_keymap -local opts = { noremap = true } - - -keymap('n', 'gd', ':lua vim.lsp.buf.definition()<cr>', opts) -keymap('n', 'gD', ':lua vim.lsp.buf.declaration()<cr>', opts) -keymap('n', 'gi', ':lua vim.lsp.buf.implementation()<cr>', opts) -keymap('n', 'gw', ':lua vim.lsp.buf.document_symbol()<cr>', opts) -keymap('n', 'gw', ':lua vim.lsp.buf.workspace_symbol()<cr>', opts) -keymap('n', 'gr', ':lua vim.lsp.buf.references()<cr>', opts) -keymap('n', 'gt', ':lua vim.lsp.buf.type_definition()<cr>', opts) -keymap('n', 'K', ':lua vim.lsp.buf.hover()<cr>', opts) -keymap('n', '<c-k>', ':lua vim.lsp.buf.signature_help()<cr>', opts) -keymap('n', '<leader>af', ':lua vim.lsp.buf.code_action()<cr>', opts) -keymap('n', '<leader>rn', ':lua vim.lsp.buf.rename()<cr>', opts) diff --git a/lua/user/modify-blend.lua b/lua/user/modify-blend.lua deleted file mode 100644 index 7c48815..0000000 --- a/lua/user/modify-blend.lua +++ /dev/null @@ -1,40 +0,0 @@ -local ui = vim.api.nvim_list_uis()[1] - -local bufnr = vim.api.nvim_create_buf(false, true) -local win = vim.api.nvim_open_win(bufnr, true, { - relative = "editor", - width = ui.width, - height = ui.height, - row = 10, - col = 10, - style = "minimal", -}) - -vim.api.nvim_win_set_option(win, "winblend", 1) - -local blend_start = 15 -local offset = 1 - -CANCEL = false -local timer = vim.loop.new_timer() -timer:start( - 0, - 50, - vim.schedule_wrap(function() - blend_start = blend_start + offset - - if blend_start > 90 then - offset = -1 - elseif blend_start < 10 then - offset = 1 - end - - if CANCEL or not vim.api.nvim_win_is_valid(win) then - timer:close() - timer:stop() - return - end - - vim.cmd([[highlight NormalFloat blend=]] .. tostring(blend_start)) - end) -) diff --git a/lua/user/neoscroll.lua b/lua/user/neoscroll.lua deleted file mode 100644 index d122584..0000000 --- a/lua/user/neoscroll.lua +++ /dev/null @@ -1,21 +0,0 @@ -require("neoscroll").setup({ - easing_function = "quadratic", -}) - -local t = {} --- Syntax: t[keys] = {function, {function arguments}} --- Use the "sine" easing function -t["<C-u>"] = { "scroll", { "-vim.wo.scroll", "true", "20", [['cubic']] } } -t["<C-d>"] = { "scroll", { "vim.wo.scroll", "true", "20", [['cubic']] } } --- Use the "circular" easing function -t["<C-b>"] = { "scroll", { "-vim.api.nvim_win_get_height(0)", "true", "50", [['cubic']] } } -t["<C-f>"] = { "scroll", { "vim.api.nvim_win_get_height(0)", "true", "50", [['cubic']] } } --- Pass "nil" to disable the easing animation (constant scrolling speed) -t["<C-y>"] = { "scroll", { "-0.10", "false", "100", nil } } -t["<C-e>"] = { "scroll", { "0.10", "false", "100", nil } } --- When no easing function is provided the default easing function (in this case "quadratic") will be used -t["zt"] = { "zt", { "10" } } -t["zz"] = { "zz", { "10" } } -t["zb"] = { "zb", { "10" } } - -require("neoscroll.config").set_mappings(t) diff --git a/lua/user/null-ls.lua b/lua/user/null-ls.lua deleted file mode 100644 index 7fc4377..0000000 --- a/lua/user/null-ls.lua +++ /dev/null @@ -1,26 +0,0 @@ -local null_ls_status_ok, null_ls = pcall(require, "null-ls") -if not null_ls_status_ok then - return -end - --- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting -local formatting = null_ls.builtins.formatting --- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics -local diagnostics = null_ls.builtins.diagnostics - ---null_ls.setup({ --- debug = false, --- sources = { --- formatting.prettier.with({ extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" } }), --- formatting.black.with({ extra_args = { "--fast" } }), --- formatting.stylua, --- -- diagnostics.flake8 --- }, ---}) -require("null-ls").setup({ - sources = { - require("null-ls").builtins.formatting.stylua, - require("null-ls").builtins.diagnostics.eslint, - require("null-ls").builtins.completion.spell, - }, -}) diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua deleted file mode 100644 index 74030cb..0000000 --- a/lua/user/nvim-tree.lua +++ /dev/null @@ -1,68 +0,0 @@ -local status_ok, nvim_tree = pcall(require, "nvim-tree") -if not status_ok then - return -end - -local config_status_ok, nvim_tree_config = pcall(require, "nvim-tree.config") -if not config_status_ok then - return -end - -local tree_cb = nvim_tree_config.nvim_tree_callback - -nvim_tree.setup({ - update_focused_file = { - enable = true, - update_cwd = true, - }, - renderer = { - root_folder_modifier = ":t", - icons = { - glyphs = { - default = "", - symlink = "", - folder = { - arrow_open = "", - arrow_closed = "", - default = "", - open = "", - empty = "", - empty_open = "", - symlink = "", - symlink_open = "", - }, - git = { - unstaged = "", - staged = "S", - unmerged = "", - renamed = "➜", - untracked = "U", - deleted = "", - ignored = "◌", - }, - }, - }, - }, - diagnostics = { - enable = true, - show_on_dirs = true, - icons = { - hint = "", - info = "", - warning = "", - error = "", - }, - }, - view = { - width = 30, - --height = 30, - side = "left", - mappings = { - list = { - { key = { "l", "<CR>", "o" }, cb = tree_cb("edit") }, - { key = "h", cb = tree_cb("close_node") }, - { key = "v", cb = tree_cb("vsplit") }, - }, - }, - }, -}) diff --git a/lua/user/opts.lua b/lua/user/opts.lua index 39cd2a4..38e1250 100644 --- a/lua/user/opts.lua +++ b/lua/user/opts.lua @@ -34,7 +34,7 @@ vim.opt.autoread = true -- reload files if changed externally vim.opt.display = "lastline" -- Show as much as possible of the last line. vim.opt.inccommand = "split" -- vim.opt.ttyfast = true -- Faster redrawing. ---vim.opt.lazyredraw = true -- Only redraw when necessary +vim.opt.lazyredraw = true -- Only redraw when necessary vim.opt.keywordprg = ":help" -- :help options vim.opt.ruler = true -- vim.opt.errorbells = false -- diff --git a/lua/user/prettier.lua b/lua/user/prettier.lua deleted file mode 100644 index 05d4665..0000000 --- a/lua/user/prettier.lua +++ /dev/null @@ -1,19 +0,0 @@ -local status, prettier = pcall(require, "prettier") -if (not status) then return end - -prettier.setup { - bin = 'prettierd', - filetypes = { - "c", - "lua", - "vim", - --"css", - --"javascript", - --"javascriptreact", - --"typescript", - --"typescriptreact", - --"json", - --"scss", - "less" - } -} diff --git a/lua/user/reload.lua b/lua/user/reload.lua deleted file mode 100644 index c02ff7b..0000000 --- a/lua/user/reload.lua +++ /dev/null @@ -1,50 +0,0 @@ ---function _G.ReloadConfig() --- for name,_ in pairs(package.loaded) do --- if name:match('^lua') and not name:match('nvim-tree') then --- package.loaded[name] = nil --- end --- end --- --- dofile(vim.env.MYVIMRC) --- vim.notify("Nvim configuration reloaded!", vim.log.levels.INFO) ---end ---function _G.ReloadConfig() - --dofile(vim.env.MYVIMRC) - -- dofile(vim.fn.stdpath('config') .. '/init.lua') - --dofile(vim.fn.stdpath('user') .. '/init.lua') - -- require("plenary.reload").reload_module("user", true) - --dofile("/home/sxrdusr/.config/nvim/lua/user/keys.lua") - --dofile("/home/sxrdusr/.config/nvim/lua/user/mods.lua") - --dofile("/home/sxrdusr/.config/nvim/lua/user/opts.lua") - --dofile("/home/sxrdusr/.config/nvim/lua/user/pack.lua") - --dofile("/home/sxrdusr/.config/nvim/lua/user/utils.lua") - --vim.notify("Nvim configuration reloaded!", vim.log.levels.INFO) ---end ---P = function(v) --- print(vim.inspect(v)) --- return v ---end --- ---if pcall(require, "plenary") then --- RELOAD = require("plenary.reload").reload_module --- --- R = function(name) --- RELOAD(name) --- return require(name) --- end ---end --- r = reload vimrc - - -local M = {} - -M['unload_lua_namespace'] = function(prefix) - local prefix_with_dot = prefix .. '.' - for key, value in pairs(package.loaded) do - if key == prefix or key:sub(1, #prefix_with_dot) == prefix_with_dot then - package.loaded[key] = nil - end - end -end - -return M diff --git a/lua/user/tabline.lua b/lua/user/tabline.lua deleted file mode 100644 index 4e1c506..0000000 --- a/lua/user/tabline.lua +++ /dev/null @@ -1,22 +0,0 @@ -require("tabline").setup({ - -- Defaults configuration options - enable = true, - options = { - -- If lualine is installed tabline will use separators configured in lualine by default. - -- These options can be used to override those settings. - section_separators = { "", "" }, - component_separators = { "", "" }, - max_bufferline_percent = 66, -- set to nil by default, and it uses vim.o.columns * 2/3 - show_tabs_always = true, -- this shows tabs only when there are more than one tab or if the first tab is named - show_devicons = true, -- this shows devicons in buffer section - show_bufnr = true, -- this appends [bufnr] to buffer section, - show_filename_only = false, -- shows base filename only instead of relative path in filename - modified_icon = "+", -- change the default modified icon - modified_italic = true, -- set to true by default; this determines whether the filename turns italic if modified - show_tabs_only = false, -- this shows only tabs instead of tabs + buffers - }, -}) -vim.cmd([[ - set guioptions-=e " Use showtabline in gui vim - set sessionoptions+=tabpages,globals " store tabpages and globals in session -]]) diff --git a/lua/user/telescope.lua b/lua/user/telescope.lua deleted file mode 100644 index db065d7..0000000 --- a/lua/user/telescope.lua +++ /dev/null @@ -1,223 +0,0 @@ -local status_ok, telescope = pcall(require, "telescope") -if not status_ok then - return -end -local actions = require("telescope.actions") -local builtin = require("telescope.builtin") - -local function telescope_buffer_dir() - return vim.fn.expand("%:p:h") -end - -telescope.load_extension("fzf") -telescope.load_extension("file_browser") -require("telescope").load_extension("file_browser") -local fb_actions = require("telescope").extensions.file_browser.actions ---telescope.load_extension('media_files') - -telescope.setup({ - defaults = { - -- - prompt_prefix = " ", - selection_caret = " ", - path_display = { "smart" }, - -- - mappings = { - i = { - ["<C-n>"] = actions.cycle_history_next, - ["<C-p>"] = actions.cycle_history_prev, - - ["<C-j>"] = actions.move_selection_next, - ["<C-k>"] = actions.move_selection_previous, - - ["<C-c>"] = actions.close, - - ["<Down>"] = actions.move_selection_next, - ["<Up>"] = actions.move_selection_previous, - - ["<CR>"] = actions.select_default, - ["<C-x>"] = actions.select_horizontal, - ["<C-y>"] = actions.select_vertical, - ["<C-t>"] = actions.select_tab, - - ["<C-u>"] = actions.preview_scrolling_up, - ["<C-d>"] = actions.preview_scrolling_down, - - ["<PageUp>"] = actions.results_scrolling_up, - ["<PageDown>"] = actions.results_scrolling_down, - - ["<Tab>"] = actions.toggle_selection + actions.move_selection_worse, - ["<S-Tab>"] = actions.toggle_selection + actions.move_selection_better, - ["<C-q>"] = actions.send_to_qflist + actions.open_qflist, - ["<M-q>"] = actions.send_selected_to_qflist + actions.open_qflist, - ["<C-l>"] = actions.complete_tag, - ["<C-_>"] = actions.which_key, -- keys from pressing <C-/> - }, - - n = { - ["<esc>"] = actions.close, - ["<CR>"] = actions.select_default, - ["<C-x>"] = actions.select_horizontal, - ["<C-v>"] = actions.select_vertical, - ["<C-t>"] = actions.select_tab, - - ["<Tab>"] = actions.toggle_selection + actions.move_selection_worse, - ["<S-Tab>"] = actions.toggle_selection + actions.move_selection_better, - ["<C-q>"] = actions.send_to_qflist + actions.open_qflist, - ["<M-q>"] = actions.send_selected_to_qflist + actions.open_qflist, - - ["j"] = actions.move_selection_next, - ["k"] = actions.move_selection_previous, - ["H"] = actions.move_to_top, - ["M"] = actions.move_to_middle, - ["L"] = actions.move_to_bottom, - - ["<Down>"] = actions.move_selection_next, - ["<Up>"] = actions.move_selection_previous, - ["gg"] = actions.move_to_top, - ["G"] = actions.move_to_bottom, - - ["<C-u>"] = actions.preview_scrolling_up, - ["<C-d>"] = actions.preview_scrolling_down, - - ["<PageUp>"] = actions.results_scrolling_up, - ["<PageDown>"] = actions.results_scrolling_down, - - ["?"] = actions.which_key, - ["cd"] = function(prompt_bufnr) - local selection = require("telescope.actions.state").get_selected_entry() - local dir = vim.fn.fnamemodify(selection.path, ":p:h") - require("telescope.actions").close(prompt_bufnr) - -- Depending on what you want put `cd`, `lcd`, `tcd` - vim.cmd(string.format("silent lcd %s", dir)) - end, - }, - }, - }, - pickers = { - -- Default configuration for builtin pickers goes here: - -- picker_name = { - -- picker_config_key = value, - -- ... - -- } - -- Now the picker_config_key will be applied every time you call this - -- builtin picker - }, - extensions = { - file_browser = { - theme = "dropdown", - -- disables netrw and use telescope-file-browser in its place - hijack_netrw = true, - mappings = { - -- your custom insert mode mappings - ["i"] = { - ["<C-w>"] = function() - vim.cmd("normal vbd") - end, - }, - ["n"] = { - -- your custom normal mode mappings - ["N"] = fb_actions.create, - ["h"] = fb_actions.goto_parent_dir, - ["/"] = function() - vim.cmd("startinsert") - end, - }, - }, - }, - - media_files = { - -- filetypes whitelist - -- defaults to {"png", "jpg", "mp4", "webm", "pdf"} - filetypes = { "png", "webp", "jpg", "jpeg" }, - find_cmd = "rg", -- find command (defaults to `fd`) - }, - -- Your extension configuration goes here: - -- extension_name = { - -- extension_config_key = value, - -- } - -- please take a look at the readme of the extension you want to configure - }, -}) - -telescope.load_extension("file_browser") - ---vim.keymap.set("n", ";f", function() --- builtin.find_files({ --- no_ignore = false, --- hidden = true, --- }) ---end) -vim.keymap.set("n", ";r", function() - builtin.live_grep() -end) -vim.keymap.set("n", "\\\\", function() - builtin.buffers() -end) -vim.keymap.set("n", ";t", function() - builtin.help_tags() -end) -vim.keymap.set("n", ";;", function() - builtin.resume() -end) -vim.keymap.set("n", ";e", function() - builtin.diagnostics() -end) ---vim.keymap.set("n", "sf", function() --- telescope.extensions.file_browser.file_browser({ --- path = "%:p:h", --- cwd = telescope_buffer_dir(), --- respect_gitignore = false, --- hidden = true, --- grouped = true, --- previewer = false, --- initial_mode = "normal", --- layout_config = { height = 40 }, --- }) ---end) - -local M = {} - -function M.reload() - local function get_module_name(s) - local module_name; - - module_name = s:gsub("%.lua", "") - module_name = module_name:gsub("%/", ".") - module_name = module_name:gsub("%.init", "") - - return module_name - end - - local prompt_title = "~ neovim modules ~" - - -- sets the path to the lua folder - local path = "~/.config/nvim/lua" - - local opts = { - prompt_title = prompt_title, - cwd = path, - - attach_mappings = function(_, map) - -- Adds a new map to ctrl+e. - map("i", "<c-e>", function(_) - -- these two a very self-explanatory - local entry = require("telescope.actions.state").get_selected_entry() - local name = get_module_name(entry.value) - - -- call the helper method to reload the module - -- and give some feedback - R(name) - P(name .. " RELOADED!!!") - end) - - return true - end - } - - -- call the builtin method to list files - require('telescope.builtin').find_files(opts) -end - -return M; - diff --git a/lua/user/toggleterm.lua b/lua/user/toggleterm.lua deleted file mode 100644 index 912729a..0000000 --- a/lua/user/toggleterm.lua +++ /dev/null @@ -1,90 +0,0 @@ -local status_ok, toggleterm = pcall(require, "toggleterm") -if not status_ok then - return -end - -toggleterm.setup({ - size = function(term) - if term.direction == "horizontal" then - return 12 - elseif term.direction == "vertical" then - return vim.o.columns * 0.3 - end - end, - --size = 20, - open_mapping = [[<leader>to]], - hide_numbers = true, - shade_filetypes = {}, - shade_terminals = false, - shading_factor = 1, - start_in_insert = true, - insert_mappings = true, - persist_size = true, - direction = "float", - --direction = "vertical", - --direction = "horizontal", - close_on_exit = true, - shell = vim.o.shell, - highlights = { - -- highlights which map to a highlight group name and a table of it's values - -- NOTE: this is only a subset of values, any group placed here will be set for the terminal window split - Normal = { - background = "#000000", - }, - }, - float_opts = { - width = 70, - height = 15, - winblend = 3, - border = "curved", - --winblend = 0, - highlights = { - border = "Normal", - background = "Normal", - }, - }, -}) - -function _G.set_terminal_keymaps() - local opts = { noremap = true } - --local opts = {buffer = 0} - vim.api.nvim_buf_set_keymap(0, "t", "<esc>", [[<C-\><C-n>]], opts) - vim.api.nvim_buf_set_keymap(0, "t", "jj", [[<C-\><C-n>]], opts) - vim.api.nvim_buf_set_keymap(0, "t", "<C-h>", [[<C-\><C-n><C-W>h]], opts) - vim.api.nvim_buf_set_keymap(0, "t", "<C-j>", [[<C-\><C-n><C-W>j]], opts) - vim.api.nvim_buf_set_keymap(0, "t", "<C-k>", [[<C-\><C-n><C-W>k]], opts) - vim.api.nvim_buf_set_keymap(0, "t", "<C-l>", [[<C-\><C-n><C-W>l]], opts) -end - -vim.cmd("autocmd! TermOpen term://* lua set_terminal_keymaps()") - -local Terminal = require("toggleterm.terminal").Terminal -local lazygit = Terminal:new({ cmd = "lazygit", hidden = true }) - -function _LAZYGIT_TOGGLE() - lazygit:toggle() -end - -local node = Terminal:new({ cmd = "node", hidden = true }) - -function _NODE_TOGGLE() - node:toggle() -end - -local ncdu = Terminal:new({ cmd = "ncdu", hidden = true }) - -function _NCDU_TOGGLE() - ncdu:toggle() -end - -local htop = Terminal:new({ cmd = "htop", hidden = true }) - -function _HTOP_TOGGLE() - htop:toggle() -end - -local python = Terminal:new({ cmd = "python", hidden = true }) - -function _PYTHON_TOGGLE() - python:toggle() -end diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua deleted file mode 100644 index b081ca3..0000000 --- a/lua/user/treesitter.lua +++ /dev/null @@ -1,34 +0,0 @@ -local status, treesitter = pcall(require, "nvim-treesitter.configs") -if (not status) then return end - -treesitter.setup { - highlight = { - enable = true, - disable = {}, - }, - indent = { - enable = true, - disable = {}, - --disable = { "python", "css" } - }, - ensure_installed = { - "c", - "bash", - "lua", - "rust", - }, - --ensure_installed = "all", -- one of "all" or a list of languages - --ignore_install = { "" }, -- List of parsers to ignore installing - autotag = { - enable = true, - }, - efactor = { - highlight_definitions = { enable = true }, - highlight_current_scope = { enable = true } - } -} ---vim.opt.foldmethod = "expr" ---vim.opt.foldexpr = "nvim_treesitter#foldexpr()" - ---local parser_config = require "nvim-treesitter.parsers".get_parser_configs() ---parser_config.tsx.filetype_to_parsername = { "javascript", "typescript.tsx" } diff --git a/lua/user/web-devicons.lua b/lua/user/web-devicons.lua deleted file mode 100644 index b8396bc..0000000 --- a/lua/user/web-devicons.lua +++ /dev/null @@ -1,12 +0,0 @@ -local status, icons = pcall(require, "nvim-web-devicons") -if (not status) then return end - -icons.setup { - -- your personnal icons can go here (to override) - -- DevIcon will be appended to `name` - override = { - }, - -- globally enable default icons (default to false) - -- will get overriden by `get_icons` option - default = true -} diff --git a/lua/user/winbar.lua b/lua/user/winbar.lua deleted file mode 100644 index 1573828..0000000 --- a/lua/user/winbar.lua +++ /dev/null @@ -1,35 +0,0 @@ -require("winbar").setup({ - enabled = true, - - show_file_path = true, - show_symbols = true, - - colors = { - path = "", -- You can customize colors like #c946fd - file_name = "", - symbols = "", - }, - - icons = { - file_icon_default = "", - seperator = ">", - editor_state = "●", - lock_icon = "", - }, - - exclude_filetype = { - "help", - "startify", - "dashboard", - "packer", - "neogitstatus", - "NvimTree", - "Trouble", - "alpha", - "lir", - "Outline", - "spectre_panel", - "toggleterm", - "qf", - }, -}) diff --git a/lua/user/zen-mode.lua b/lua/user/zen-mode.lua deleted file mode 100644 index 7e52854..0000000 --- a/lua/user/zen-mode.lua +++ /dev/null @@ -1,7 +0,0 @@ -local status, zenMode = pcall(require, "zen-mode") -if (not status) then return end - -zenMode.setup { -} - -vim.keymap.set('n', '<C-w>o', '<cmd>ZenMode<cr>', { silent = true }) diff --git a/startup.log b/startup.log new file mode 100644 index 0000000..cd505e5 --- /dev/null +++ b/startup.log @@ -0,0 +1,2388 @@ + + +times in msec + clock self+sourced self: sourced script + clock elapsed: other lines + +002.458 002.458: --- NVIM STARTING --- +082.923 080.465: event init +115.238 032.316: early init +118.029 002.791: locale set +127.623 009.594: init first window +143.646 016.024: inits 1 +143.691 000.045: window checked +143.706 000.015: parsing arguments +160.572 000.272 000.272: require('vim.shared') +161.086 000.241 000.241: require('vim._meta') +161.100 000.505 000.264: require('vim._editor') +161.108 000.908 000.131: require('vim._init_packages') +161.115 016.500: init lua interpreter +161.269 000.154: expanding arguments +163.906 002.638: inits 2 +165.267 001.360: init highlight +165.276 000.010: waiting for UI +169.013 003.737: done waiting for UI +169.065 000.052: init screen for UI +169.414 000.348: init default mappings +169.452 000.038: init default autocommands +195.131 014.412 014.412: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/ftplugin.vim +200.734 003.082 003.082: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/indent.vim +201.357 000.057 000.057: sourcing /usr/share/nvim/archlinux.vim +201.385 000.186 000.129: sourcing /etc/xdg/nvim/sysinit.vim +240.799 038.999 038.999: require('impatient') +240.984 000.164 000.164: require('impatient.profile') +241.128 000.118 000.118: require('user.utils') +246.787 000.325 000.325: require('packer.util') +246.855 000.729 000.404: require('packer') +248.197 000.804 000.804: require('packer.log') +248.212 001.064 000.259: require('packer.async') +248.846 000.465 000.465: require('packer.result') +248.861 000.639 000.175: require('packer.jobs') +248.889 001.966 000.263: require('packer.plugin_utils') +249.231 000.307 000.307: require('packer.snapshot') +250.923 000.214 000.214: require('mason-core.path') +250.949 000.449 000.234: require('mason.settings') +251.326 000.192 000.192: require('mason-core.functional') +251.736 000.140 000.140: require('mason-core.functional.data') +251.750 000.389 000.249: require('mason-core.functional.function') +251.993 000.204 000.204: require('mason-core.functional.relation') +252.226 000.197 000.197: require('mason-core.functional.logic') +252.283 001.324 000.342: require('mason-core.platform') +252.291 002.171 000.399: require('mason') +252.793 000.162 000.162: require('mason-core.functional.list') +252.858 000.525 000.363: require('mason.api.command') +253.207 000.194 000.194: require('mason-core.log') +253.219 000.352 000.158: require('mason-lspconfig') +253.351 000.124 000.124: require('mason-lspconfig.settings') +253.708 000.113 000.113: require('mason-core.notify') +253.729 000.280 000.168: require('mason-lspconfig.lspconfig_hook') +255.925 000.383 000.383: require('vim.lsp.log') +257.499 000.015 000.015: require('vim.F') +257.511 001.524 001.508: require('vim.lsp.protocol') +258.438 000.386 000.386: require('vim.lsp._snippet') +258.827 000.376 000.376: require('vim.highlight') +258.872 001.306 000.544: require('vim.lsp.util') +258.923 003.996 000.784: require('vim.lsp.handlers') +259.481 000.546 000.546: require('vim.lsp.rpc') +259.802 000.304 000.304: require('vim.lsp.sync') +260.177 000.363 000.363: require('vim.lsp.buf') +260.471 000.283 000.283: require('vim.lsp.diagnostic') +260.783 000.302 000.302: require('vim.lsp.codelens') +260.973 007.055 001.261: require('vim.lsp') +261.152 007.415 000.360: require('lspconfig.util') +261.708 000.177 000.177: require('mason-core.functional.table') +261.839 000.568 000.391: require('mason-lspconfig.mappings.server') +262.359 000.157 000.157: require('mason-core.async') +262.485 000.113 000.113: require('mason-core.async.uv') +262.499 000.447 000.178: require('mason-core.fs') +262.637 000.131 000.131: require('mason-core.optional') +262.768 000.121 000.121: require('mason-core.EventEmitter') +263.033 000.256 000.256: require('mason-registry.index') +263.061 001.210 000.255: require('mason-registry') +263.196 000.126 000.126: require('mason-lspconfig.server_config_extensions') +263.351 000.146 000.146: require('lspconfig.configs') +263.640 000.220 000.220: require('lspconfig.server_configurations.omnisharp') +264.055 000.204 000.204: require('mason-lspconfig.ensure_installed') +264.504 000.125 000.125: require('mason-core.result') +265.113 000.324 000.324: require('mason-core.process') +265.274 000.604 000.281: require('mason-core.spawn') +265.437 000.150 000.150: require('mason-core.receipt') +265.606 000.132 000.132: require('mason-core.functional.string') +265.650 001.136 000.250: require('mason-core.installer.context') +265.789 000.130 000.130: require('mason-core.installer.linker') +265.923 000.126 000.126: require('mason-core.async.control') +265.935 001.705 000.189: require('mason-core.installer') +266.100 000.158 000.158: require('mason-core.installer.handle') +266.784 000.138 000.138: require('mason-core.managers.powershell') +266.794 000.267 000.130: require('mason-core.fetch') +266.798 000.384 000.116: require('mason-core.managers.cargo.client') +267.106 000.154 000.154: require('mason-core.managers.std') +267.400 000.137 000.137: require('mason-registry.api') +267.432 000.317 000.181: require('mason-core.managers.github.client') +267.452 000.648 000.176: require('mason-core.managers.github') +267.648 001.396 000.365: require('mason-core.managers.cargo') +267.958 000.299 000.299: require('mason-core.managers.composer') +268.175 000.207 000.207: require('mason-core.managers.gem') +268.331 000.147 000.147: require('mason-core.managers.git') +268.649 000.308 000.308: require('mason-core.managers.go') +268.898 000.239 000.239: require('mason-core.managers.luarocks') +269.085 000.177 000.177: require('mason-core.managers.npm') +269.301 000.208 000.208: require('mason-core.managers.pip3') +269.324 003.198 000.217: require('mason-core.package.version-check') +269.341 005.275 000.213: require('mason-core.package') +269.510 000.143 000.143: require('mason-registry.python-lsp-server') +270.025 000.144 000.144: require('mason-registry.pyright') +270.330 000.272 000.272: require('mason-registry.clangd') +270.530 000.166 000.166: require('mason-registry.lua-language-server') +270.832 000.135 000.135: require('mason-core.functional.number') +270.899 000.356 000.221: require('mason-lspconfig.api.command') +271.164 025.516 002.816: require('user.pack') +275.270 004.093 004.093: require('user.opts') +275.553 000.016 000.016: require('vim.keymap') +278.112 002.817 002.801: require('user.keys') +278.254 000.129 000.129: require('user.utils') +279.538 000.281 000.281: require('vim.treesitter.language') +279.563 000.848 000.567: require('vim.treesitter.query') +280.882 000.337 000.337: require('vim.treesitter.languagetree') +280.985 000.741 000.404: require('vim.treesitter') +281.311 001.456 000.716: require('nvim-treesitter.parsers') +281.504 000.183 000.183: require('nvim-treesitter.utils') +281.518 001.812 000.173: require('nvim-treesitter.ts_utils') +281.535 001.963 000.151: require('nvim-treesitter.tsrange') +281.661 000.117 000.117: require('nvim-treesitter.caching') +281.687 003.120 000.192: require('nvim-treesitter.query') +281.727 003.366 000.246: require('nvim-treesitter.configs') +282.344 000.208 000.208: require('nvim-treesitter.info') +282.527 000.170 000.170: require('nvim-treesitter.shell_command_selectors') +282.586 000.690 000.312: require('nvim-treesitter.install') +284.606 006.339 002.283: require('plugins.treesitter') +284.986 000.124 000.124: require('telescope._extensions') +284.997 000.250 000.126: require('telescope') +286.048 000.125 000.125: require('plenary.bit') +286.178 000.117 000.117: require('plenary.functional') +286.245 000.046 000.046: require('ffi') +286.275 000.547 000.259: require('plenary.path') +286.299 000.696 000.149: require('plenary.strings') +286.435 000.129 000.129: require('telescope.deprecated') +287.163 000.382 000.382: require('plenary.log') +287.223 000.567 000.186: require('telescope.log') +287.621 000.186 000.186: require('plenary.job') +287.752 000.119 000.119: require('telescope.state') +287.780 000.546 000.240: require('telescope.utils') +287.842 001.397 000.284: require('telescope.sorters') +287.988 000.109 000.109: require('vim.inspect') +293.244 007.896 005.565: require('telescope.config') +293.656 000.141 000.141: require('plenary.window.border') +293.774 000.107 000.107: require('plenary.window') +293.884 000.101 000.101: require('plenary.popup.utils') +293.898 000.622 000.273: require('plenary.popup') +294.028 000.122 000.122: require('telescope.pickers.scroller') +294.156 000.118 000.118: require('telescope.actions.state') +294.342 000.155 000.155: require('telescope.actions.utils') +294.651 000.139 000.139: require('telescope.actions.mt') +294.691 000.335 000.196: require('telescope.actions.set') +294.982 000.154 000.154: require('telescope.config.resolve') +294.994 000.294 000.140: require('telescope.pickers.entry_display') +295.105 000.105 000.105: require('telescope.from_entry') +295.600 010.596 000.948: require('telescope.actions') +299.656 000.115 000.115: require('plenary.tbl') +299.679 000.267 000.152: require('plenary.vararg.rotate') +299.684 000.388 000.122: require('plenary.vararg') +299.803 000.109 000.109: require('plenary.errors') +299.823 000.677 000.179: require('plenary.async.async') +299.965 000.136 000.136: require('plenary.async.structs') +299.985 001.237 000.425: require('plenary.async.control') +300.545 000.396 000.396: require('telescope.make_entry') +301.048 000.135 000.135: require('plenary.async.util') +301.057 000.250 000.115: require('plenary.async.tests') +301.064 000.377 000.127: require('plenary.async') +301.076 000.516 000.139: require('telescope.finders.async_static_finder') +301.489 000.113 000.113: require('plenary.class') +301.563 000.349 000.236: require('telescope._') +301.573 000.490 000.141: require('telescope.finders.async_oneshot_finder') +301.766 000.188 000.188: require('telescope.finders.async_job_finder') +301.794 001.799 000.209: require('telescope.finders') +302.382 000.210 000.210: require('telescope.debounce') +302.655 000.260 000.260: require('telescope.mappings') +302.815 000.148 000.148: require('telescope.pickers.highlights') +302.950 000.125 000.125: require('telescope.pickers.window') +303.242 000.138 000.138: require('telescope.algos.linked_list') +303.257 000.300 000.162: require('telescope.entry_manager') +303.382 000.118 000.118: require('telescope.pickers.multi') +303.434 001.628 000.468: require('telescope.pickers') +303.459 007.636 002.972: require('telescope.builtin.__lsp') +303.542 007.930 000.294: require('telescope.builtin') +304.019 000.309 000.309: require('fzf_lib') +304.035 000.483 000.175: require('telescope._extensions.fzf') +304.635 000.217 000.217: require('telescope._extensions.file_browser.utils') +304.780 000.584 000.368: require('telescope._extensions.file_browser.actions') +305.187 000.235 000.235: require('telescope._extensions.file_browser.make_entry') +305.447 000.242 000.242: require('plenary.scandir') +305.561 000.774 000.297: require('telescope._extensions.file_browser.finders') +305.720 000.149 000.149: require('telescope._extensions.file_browser.picker') +305.904 000.175 000.175: require('telescope._extensions.file_browser.config') +305.911 001.858 000.175: require('telescope._extensions.file_browser') +309.963 025.346 004.228: require('plugins.telescope') +311.611 000.109 000.109: require('notify.util.queue') +311.623 000.244 000.135: require('notify.util') +311.895 000.266 000.266: require('notify.config.highlights') +311.909 000.675 000.166: require('notify.config') +312.036 000.120 000.120: require('notify.stages') +312.193 000.150 000.150: require('notify.service.notification') +312.542 000.102 000.102: require('notify.animate.spring') +312.549 000.204 000.102: require('notify.animate') +312.562 000.360 000.157: require('notify.windows') +313.499 000.279 000.279: require('notify.service.buffer.highlights') +313.522 000.832 000.553: require('notify.service.buffer') +313.552 000.984 000.151: require('notify.service') +313.842 000.284 000.284: require('notify.stages.util') +313.923 002.839 000.266: require('notify') +314.140 000.209 000.209: require('nvim-tree.iterators.node-iterator') +314.283 003.365 000.318: require('nvim-tree.utils') +314.318 003.531 000.165: require('nvim-tree.events') +315.099 000.248 000.248: require('nvim-tree.log') +315.509 000.399 000.399: require('nvim-tree.git.utils') +315.905 000.382 000.382: require('nvim-tree.git.runner') +316.193 000.279 000.279: require('nvim-tree.watcher') +316.229 001.685 000.376: require('nvim-tree.git') +316.486 000.251 000.251: require('nvim-tree.explorer.watch') +317.021 000.527 000.527: require('nvim-tree.explorer.common') +317.483 000.222 000.222: require('nvim-tree.explorer.node-builders') +317.811 000.318 000.318: require('nvim-tree.explorer.sorters') +318.033 000.214 000.214: require('nvim-tree.explorer.filters') +318.912 000.635 000.635: require('nvim-tree.view') +318.953 000.902 000.267: require('nvim-tree.live-filter') +318.973 001.942 000.287: require('nvim-tree.explorer.explore') +319.267 000.289 000.289: require('nvim-tree.explorer.reload') +319.290 004.966 000.272: require('nvim-tree.explorer') +319.317 008.638 000.141: require('nvim-tree.core') +319.631 000.308 000.308: require('nvim-tree.diagnostics') +319.869 000.211 000.211: require('nvim-tree.renderer.components.padding') +320.127 000.250 000.250: require('nvim-tree.renderer.components.icons') +320.391 000.256 000.256: require('nvim-tree.renderer.components.full-name') +320.638 000.240 000.240: require('nvim-tree.renderer.help') +320.899 000.253 000.253: require('nvim-tree.renderer.components.git') +321.035 000.128 000.128: require('nvim-tree.renderer.builder') +321.140 000.097 000.097: require('nvim-tree.marks') +321.153 010.620 000.238: require('nvim-tree.renderer') +321.266 000.100 000.100: require('nvim-tree.actions.tree-modifiers.collapse-all') +321.357 000.084 000.084: require('nvim-tree.actions.root.dir-up') +321.462 000.098 000.098: require('nvim-tree.actions.root.change-dir') +321.567 000.097 000.097: require('nvim-tree.actions.reloaders.reloaders') +321.669 000.094 000.094: require('nvim-tree.actions.finders.find-file') +321.675 011.320 000.226: require('nvim-tree.lib') +321.784 000.103 000.103: require('nvim-tree.colors') +321.915 000.120 000.120: require('nvim-tree.legacy') +322.041 000.116 000.116: require('nvim-tree.actions.fs.copy-paste') +322.274 000.102 000.102: require('nvim-tree.actions.tree-modifiers.expand-all') +322.375 000.092 000.092: require('nvim-tree.actions.tree-modifiers.toggles') +322.491 000.100 000.100: require('nvim-tree.actions.fs.create-file') +322.592 000.093 000.093: require('nvim-tree.actions.fs.rename-file') +322.725 000.124 000.124: require('nvim-tree.actions.fs.trash') +322.831 000.099 000.099: require('nvim-tree.actions.fs.remove-file') +322.930 000.089 000.089: require('nvim-tree.actions.moves.parent') +323.023 000.086 000.086: require('nvim-tree.actions.moves.sibling') +323.118 000.087 000.087: require('nvim-tree.actions.moves.item') +323.232 000.095 000.095: require('nvim-tree.actions.finders.search-node') +323.326 000.087 000.087: require('nvim-tree.actions.node.run-command') +323.445 000.113 000.113: require('nvim-tree.actions.node.file-popup') +323.559 000.107 000.107: require('nvim-tree.actions.node.system-open') +323.666 000.096 000.096: require('nvim-tree.marks.bulk-move') +323.672 001.620 000.249: require('nvim-tree.actions.dispatch') +323.705 013.595 000.315: require('nvim-tree') +323.789 000.079 000.079: require('nvim-tree.config') +330.157 000.170 000.170: require('nvim-tree.actions') +330.294 000.119 000.119: require('nvim-tree.actions.node.open-file') +333.016 000.099 000.099: require('nvim-tree.marks.navigation') +333.029 000.300 000.202: require('nvim-tree.api') +333.049 000.446 000.145: require('nvim-tree.keymap') +333.900 000.396 000.396: require('nvim-web-devicons') +338.051 028.073 013.268: require('plugins.nvim-tree') +338.508 000.078 000.078: require('cmp.utils.debug') +338.719 000.118 000.118: require('cmp.utils.char') +338.734 000.216 000.099: require('cmp.utils.str') +338.885 000.104 000.104: require('cmp.utils.pattern') +339.166 000.089 000.089: require('cmp.utils.misc') +339.276 000.082 000.082: require('cmp.utils.buffer') +339.372 000.089 000.089: require('cmp.utils.api') +339.382 000.404 000.144: require('cmp.utils.keymap') +339.391 000.498 000.094: require('cmp.utils.feedkeys') +339.489 000.093 000.093: require('cmp.utils.async') +339.759 000.076 000.076: require('cmp.types.cmp') +339.866 000.101 000.101: require('cmp.types.lsp') +339.945 000.072 000.072: require('cmp.types.vim') +339.950 000.373 000.124: require('cmp.types') +340.029 000.074 000.074: require('cmp.utils.cache') +340.038 000.541 000.094: require('cmp.context') +340.309 000.090 000.090: require('cmp.config.mapping') +340.503 000.094 000.094: require('cmp.config.compare') +340.509 000.189 000.094: require('cmp.config.default') +340.531 000.395 000.116: require('cmp.config') +340.728 000.079 000.079: require('cmp.matcher') +340.739 000.202 000.123: require('cmp.entry') +340.754 000.712 000.115: require('cmp.source') +340.921 000.074 000.074: require('cmp.utils.event') +341.111 000.097 000.097: require('cmp.utils.window') +341.119 000.190 000.093: require('cmp.view.docs_view') +341.321 000.085 000.085: require('cmp.utils.autocmd') +341.340 000.217 000.132: require('cmp.view.custom_entries_view') +341.461 000.115 000.115: require('cmp.view.wildmenu_entries_view') +341.567 000.100 000.100: require('cmp.view.native_entries_view') +341.665 000.092 000.092: require('cmp.view.ghost_text_view') +341.680 000.921 000.133: require('cmp.view') +341.779 003.470 000.306: require('cmp.core') +342.310 000.087 000.087: require('cmp.config.sources') +342.393 000.073 000.073: require('cmp.config.window') +342.494 004.301 000.671: require('cmp') +342.904 000.115 000.115: require('symbols-outline.config') +342.910 000.204 000.089: require('symbols-outline.symbols') +343.007 000.091 000.091: require('symbols-outline.ui') +343.097 000.082 000.082: require('symbols-outline.utils.table') +343.183 000.079 000.079: require('symbols-outline.folding') +343.189 000.574 000.118: require('symbols-outline.parser') +343.278 000.084 000.084: require('symbols-outline.providers.init') +343.377 000.093 000.093: require('symbols-outline.writer') +343.470 000.085 000.085: require('symbols-outline.utils.init') +343.559 000.083 000.083: require('symbols-outline.view') +343.573 001.071 000.153: require('symbols-outline') +343.875 000.115 000.115: require('symbols-outline.preview') +343.991 000.101 000.101: require('lspkind') +345.814 007.752 002.163: require('plugins.cmp') +346.349 000.081 000.081: require('luasnip.session') +346.486 000.129 000.129: require('luasnip.util.util') +346.586 000.092 000.092: require('luasnip.util.types') +346.774 000.090 000.090: require('luasnip.util.ext_opts') +346.784 000.191 000.101: require('luasnip.nodes.util') +346.875 000.085 000.085: require('luasnip.util.events') +346.894 000.719 000.142: require('luasnip.nodes.node') +347.139 000.090 000.090: require('luasnip.util.extend_decorator') +347.154 000.255 000.166: require('luasnip.nodes.insertNode') +347.275 000.115 000.115: require('luasnip.nodes.textNode') +347.383 000.096 000.096: require('luasnip.util.mark') +348.209 000.716 000.716: require('luasnip.util._builtin_vars') +348.513 001.124 000.408: require('luasnip.util.environ') +348.633 000.108 000.108: require('luasnip.util.pattern_tokenizer') +348.728 000.088 000.088: require('luasnip.util.dict') +348.866 000.130 000.130: require('luasnip.session.snippet_collection') +348.991 002.957 000.321: require('luasnip.nodes.snippet') +349.200 000.091 000.091: require('luasnip.loaders._caches') +349.336 000.127 000.127: require('luasnip.util.path') +349.385 000.379 000.161: require('luasnip.loaders') +349.559 000.139 000.139: require('luasnip.nodes.functionNode') +349.721 000.153 000.153: require('luasnip.nodes.choiceNode') +349.869 000.141 000.141: require('luasnip.nodes.dynamicNode') +350.065 000.188 000.188: require('luasnip.nodes.restoreNode') +350.435 000.101 000.101: require('luasnip.util.parser.neovim_ast') +358.505 000.121 000.121: require('luasnip.util.directed_graph') +358.527 008.307 008.086: require('luasnip.util.parser.ast_utils') +358.758 000.094 000.094: require('luasnip.util.functions') +358.775 000.240 000.146: require('luasnip.util.parser.ast_parser') +359.015 000.234 000.234: require('luasnip.util.parser.neovim_parser') +359.120 000.095 000.095: require('luasnip.util.str') +359.137 009.023 000.147: require('luasnip.util.parser') +359.370 000.098 000.098: require('luasnip.extras.filetype_functions') +359.518 000.110 000.110: require('luasnip.extras') +359.635 000.102 000.102: require('luasnip.extras.fmt') +359.916 000.091 000.091: require('luasnip.extras.conditions') +360.016 000.092 000.092: require('luasnip.extras.conditions.show') +360.104 000.364 000.181: require('luasnip.extras.conditions.expand') +360.109 000.466 000.102: require('luasnip.extras.expand_conditions') +360.215 000.094 000.094: require('luasnip.nodes.absolute_indexer') +360.667 001.523 000.654: require('luasnip.config') +360.678 014.768 000.263: require('luasnip') +360.907 000.109 000.109: require('luasnip.loaders.util') +360.918 000.234 000.125: require('luasnip.loaders.from_lua') +371.321 025.493 010.492: require('plugins.luasnip') +371.723 000.146 000.146: require('colorizer/nvim') +372.076 000.344 000.344: require('colorizer/trie') +372.463 001.029 000.540: require('colorizer') +374.357 003.020 001.990: require('plugins.colorizer') +374.748 000.090 000.090: require('prettier.utils') +374.781 000.231 000.141: require('prettier.options') +375.514 000.305 000.305: require('null-ls.methods') +375.540 000.448 000.143: require('null-ls.utils') +376.105 000.553 000.553: require('vim.diagnostic') +376.140 001.142 000.141: require('null-ls.config') +376.341 000.087 000.087: require('null-ls.helpers.cache') +376.462 000.113 000.113: require('null-ls.helpers.diagnostics') +376.561 000.091 000.091: require('null-ls.helpers.formatter_factory') +376.793 000.099 000.099: require('null-ls.logger') +376.898 000.098 000.098: require('null-ls.state') +376.909 000.341 000.144: require('null-ls.helpers.generator_factory') +377.113 000.098 000.098: require('null-ls.helpers.command_resolver') +377.119 000.204 000.106: require('null-ls.helpers.make_builtin') +377.231 000.106 000.106: require('null-ls.helpers.range_formatting_args_factory') +377.237 001.089 000.146: require('null-ls.helpers') +377.459 000.108 000.108: require('null-ls.diagnostics') +377.478 000.236 000.128: require('null-ls.sources') +377.578 000.092 000.092: require('null-ls.builtins') +377.585 002.688 000.129: require('null-ls') +377.681 000.087 000.087: require('prettier.cli') +377.690 002.903 000.127: require('prettier.null-ls') +377.695 003.240 000.106: require('prettier') +378.107 000.128 000.128: require('null-ls.client') +378.120 003.751 000.383: require('plugins.prettier') +378.273 000.086 000.086: require('git') +378.373 000.089 000.089: require('git.config') +378.659 000.534 000.359: require('plugins.git') +378.986 000.089 000.089: require('gitsigns.async') +379.082 000.086 000.086: require('gitsigns.status') +379.332 000.102 000.102: require('gitsigns.debug') +379.443 000.103 000.103: require('gitsigns.util') +379.649 000.105 000.105: require('gitsigns.uv') +379.656 000.206 000.101: require('gitsigns.subprocess') +380.079 000.084 000.084: require('gitsigns.message') +380.112 000.267 000.184: require('gitsigns.config') +380.202 000.082 000.082: require('gitsigns.signs.base') +380.208 000.444 000.094: require('gitsigns.signs') +380.221 000.559 000.115: require('gitsigns.hunks') +380.238 001.150 000.180: require('gitsigns.git') +380.465 000.102 000.102: require('gitsigns.cache') +380.562 000.088 000.088: require('gitsigns.debounce') +380.655 000.083 000.083: require('gitsigns.diff') +380.677 000.433 000.161: require('gitsigns.manager') +380.797 000.113 000.113: require('gitsigns.highlight') +380.817 002.073 000.201: require('gitsigns') +382.730 000.131 000.131: require('gitsigns.signs.vimfn') +386.247 007.578 005.374: require('plugins.gitsigns') +386.724 000.128 000.128: require('neoscroll.config') +386.836 000.103 000.103: require('neoscroll.utils') +386.984 000.557 000.326: require('neoscroll') +387.632 001.357 000.801: require('plugins.neoscroll') +388.146 000.162 000.162: require('cmp_nvim_lsp.source') +388.154 000.285 000.122: require('cmp_nvim_lsp') +388.261 000.094 000.094: require('lspconfig') +388.412 000.106 000.106: require('lspconfig.server_configurations.pylsp') +389.214 000.137 000.137: require('mason-lspconfig.server_configurations.pylsp') +389.711 000.130 000.130: require('lspconfig.server_configurations.clangd') +391.815 000.130 000.130: require('lspconfig.server_configurations.vimls') +393.772 000.132 000.132: require('lspconfig.server_configurations.bashls') +395.347 000.125 000.125: require('lspconfig.server_configurations.sumneko_lua') +397.172 009.530 008.392: require('plugins.lsp') +397.526 000.090 000.090: require('nvim-autopairs._log') +397.662 000.127 000.127: require('nvim-autopairs.utils') +398.029 000.156 000.156: require('nvim-autopairs.conds') +398.048 000.271 000.115: require('nvim-autopairs.rule') +398.058 000.389 000.118: require('nvim-autopairs.rules.basic') +398.074 000.795 000.189: require('nvim-autopairs') +398.239 000.127 000.127: require('nvim-autopairs.fastwrap') +398.727 000.118 000.118: require('nvim-autopairs.ts-conds') +398.735 000.230 000.112: require('nvim-autopairs.rules.ts_basic') +398.964 000.223 000.223: require('vim.treesitter.highlighter') +400.217 000.097 000.097: require('nvim-autopairs.completion.handlers') +400.234 000.231 000.134: require('nvim-autopairs.completion.cmp') +400.256 003.072 001.466: require('plugins.autopairs') +400.478 000.139 000.139: require('null-ls.builtins.formatting.stylua') +400.654 000.162 000.162: require('null-ls.builtins.diagnostics.eslint') +400.866 000.201 000.201: require('null-ls.builtins.completion.spell') +401.375 001.112 000.609: require('plugins.null-ls') +401.464 000.078 000.078: require('plugins.web-devicons') +401.938 000.088 000.088: require('zen-mode.util') +401.992 000.234 000.146: require('zen-mode.config') +402.100 000.098 000.098: require('zen-mode.plugins') +402.113 000.493 000.161: require('zen-mode.view') +402.140 000.605 000.112: require('zen-mode') +402.253 000.781 000.177: require('plugins.zen-mode') +406.189 000.101 000.101: require('doom-one.utils') +406.303 000.103 000.103: require('doom-one.colors') +406.371 000.608 000.404: require('doom-one') +409.345 004.594 003.986: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/doom-one.nvim/colors/doom-one.lua +422.250 000.367 000.367: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/syntax/synload.vim +422.671 000.058 000.058: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/filetype.nvim/filetype.vim +423.887 000.104 000.104: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/filetype.lua +433.694 009.586 009.586: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/filetype.vim +434.744 000.179 000.179: require('filetype') +434.820 022.539 012.246: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/syntax/syntax.vim +435.298 000.131 000.131: require('notify.stages.fade_in_slide_out') +435.367 033.099 005.834: require('plugins.colorscheme') +435.778 000.108 000.108: require('heirline.conditions') +435.924 000.136 000.136: require('heirline.utils') +436.284 000.097 000.097: require('heirline.highlights') +436.298 000.220 000.122: require('heirline.statusline') +436.307 000.348 000.129: require('heirline') +436.635 000.158 000.158: require('nvim-navic') +440.493 005.117 004.366: require('plugins.heirline') +440.642 239.158 005.290: sourcing /home/sxrdusr/.config/nvim/init.lua +440.667 014.376: sourcing vimrc file(s) +448.090 002.659 002.659: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/gzip.vim +448.286 000.095 000.095: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/health.vim +451.727 002.145 002.145: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim +452.146 003.756 001.611: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/matchit.vim +452.608 000.394 000.394: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/matchparen.vim +452.759 000.077 000.077: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/netrwPlugin.vim +453.179 000.021 000.021: sourcing /home/sxrdusr/.local/share/nvim/rplugin.vim +453.200 000.378 000.356: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/rplugin.vim +453.456 000.195 000.195: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/shada.vim +453.584 000.051 000.051: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/spellfile.vim +453.717 000.060 000.060: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/tarPlugin.vim +453.853 000.063 000.063: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/tohtml.vim +453.966 000.045 000.045: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/tutor.vim +457.279 003.247 003.247: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/zipPlugin.vim +457.596 000.041 000.041: sourcing /usr/share/vim/vimfiles/plugin/fzf.vim +459.081 000.178 000.178: require('null-ls.builtins.diagnostics.checkmake') +459.509 000.262 000.262: require('fidget.log') +459.529 000.429 000.167: require('fidget') +459.718 000.165 000.165: require('fidget.spinners') +459.911 000.119 000.119: require('flit') +460.423 000.103 000.103: require('leap') +460.526 000.094 000.094: require('leap.user') +461.989 000.083 000.083: require('crates.time') +462.000 000.194 000.110: require('crates.types') +462.010 000.310 000.116: require('crates.semver') +463.387 001.287 001.287: require('crates.config') +463.538 000.141 000.141: require('crates.toml') +463.547 001.532 000.104: require('crates.state') +463.573 002.011 000.169: require('crates.util') +463.588 002.137 000.127: require('crates.actions') +463.829 000.140 000.140: require('crates.api') +463.926 000.090 000.090: require('crates.async') +464.038 000.105 000.105: require('crates.diagnostic') +464.148 000.101 000.101: require('crates.ui') +464.161 000.566 000.130: require('crates.core') +464.410 000.128 000.128: require('crates.popup.common') +464.527 000.109 000.109: require('crates.popup.crate') +464.651 000.117 000.117: require('crates.popup.dependencies') +464.798 000.140 000.140: require('crates.popup.features') +464.930 000.125 000.125: require('crates.popup.versions') +464.942 000.776 000.157: require('crates.popup') +464.956 003.621 000.141: require('crates') +468.390 000.444 000.444: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +470.134 012.395 007.244: sourcing /home/sxrdusr/.config/nvim/plugin/packer_compiled.lua +470.929 000.108 000.108: sourcing /tmp/.mount_nvimd4lKxf/usr/share/nvim/runtime/plugin/man.lua +471.106 006.877: loading rtp plugins +473.263 000.092 000.092: require('Comment.config') +473.585 000.159 000.159: require('Comment.ft') +473.598 000.325 000.166: require('Comment.utils') +473.701 000.097 000.097: require('Comment.opfunc') +473.801 000.094 000.094: require('Comment.extra') +473.810 000.790 000.181: require('Comment.api') +473.982 001.043 000.254: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/Comment.nvim/plugin/Comment.lua +474.311 000.157 000.157: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim +475.027 000.466 000.466: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/LuaSnip/plugin/luasnip.vim +475.858 000.184 000.184: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/plugin/crates.vim +476.470 000.040 000.040: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/fzf/plugin/fzf.vim +477.956 000.912 000.912: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/leap.nvim/plugin/init.lua +478.518 000.073 000.073: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nightfox.nvim/plugin/nightfox.vim +479.184 000.361 000.361: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/numbers.vim/plugin/numbers.vim +479.880 000.214 000.214: require('cmp.utils.highlight') +480.743 001.186 000.972: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-cmp/plugin/cmp.lua +480.958 000.029 000.029: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-code-action-menu/plugin/code_action_menu.vim +481.288 000.082 000.082: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua/plugin/colorizer.vim +481.777 000.177 000.177: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-dap/plugin/dap.lua +482.439 000.222 000.222: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-lspconfig/plugin/lspconfig.lua +483.333 000.277 000.277: require('nvim-treesitter.statusline') +483.465 000.123 000.123: require('nvim-treesitter.query_predicates') +483.473 000.530 000.130: require('nvim-treesitter') +484.490 001.631 001.101: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter/plugin/nvim-treesitter.lua +484.996 000.286 000.286: require('treesitter-context') +485.006 000.328 000.042: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-context/plugin/treesitter-context.vim +485.610 000.307 000.307: require('nvim-treesitter-refactor') +486.129 000.856 000.549: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim +486.501 000.108 000.108: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-web-devicons/plugin/nvim-web-devicons.vim +486.936 000.079 000.079: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/plenary.nvim/plugin/plenary.vim +487.265 000.092 000.092: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/prettier.nvim/plugin/prettier.vim +487.746 000.026 000.026: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/startuptime.vim/plugin/startuptime.vim +488.024 000.044 000.044: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim/plugin/symbols-outline.vim +488.383 000.061 000.061: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope-frecency.nvim/plugin/frecency.vim +488.998 000.117 000.117: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +489.547 000.340 000.340: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-cool/plugin/cool.vim +490.236 000.382 000.382: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator/plugin/tmux_navigator.vim +490.518 000.029 000.029: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/which-key.nvim/plugin/which-key.vim +490.809 000.046 000.046: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/zen-mode.nvim/plugin/zen-mode.vim +491.792 011.615: loading packages +499.692 000.247 000.247: require('cmp_buffer.timer') +499.707 000.371 000.124: require('cmp_buffer.buffer') +499.714 000.485 000.114: require('cmp_buffer.source') +499.719 000.595 000.110: require('cmp_buffer') +499.775 000.729 000.134: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua +500.211 000.194 000.194: require('cmp_cmdline') +500.249 000.318 000.124: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua +500.554 000.136 000.136: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua +500.943 000.149 000.149: require('cmp_path') +501.118 000.414 000.265: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-path/after/plugin/cmp_path.lua +501.472 000.115 000.115: require('cmp_luasnip') +501.545 000.259 000.144: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp_luasnip/after/plugin/cmp_luasnip.lua +502.050 000.124 000.124: require('crates.src.common') +502.058 000.233 000.109: require('crates.src.cmp') +502.158 000.423 000.190: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/after/plugin/cmp_crates.lua +502.235 008.165: loading after plugins +502.266 000.031: inits 3 +502.269 000.004: reading ShaDa +503.389 000.134 000.134: require('luasnip.nodes.snippetProxy') +503.401 000.395 000.260: require('luasnip.loaders.from_snipmate') +503.585 000.139 000.139: require('luasnip.loaders.from_vscode') +503.629 000.826: opening buffers +503.907 000.277: BufEnter autocommands +503.916 000.009: editing files in windows +523.448 000.387 000.387: require('gitsigns.current_line_blame') + + +times in msec + clock self+sourced self: sourced script + clock elapsed: other lines + +001.252 001.252: --- NVIM STARTING --- +028.506 027.254: event init +045.637 017.131: early init +047.453 001.816: locale set +053.132 005.679: init first window +063.524 010.392: inits 1 +063.555 000.030: window checked +063.563 000.008: parsing arguments +075.623 000.278 000.278: require('vim.shared') +076.184 000.245 000.245: require('vim._meta') +076.200 000.553 000.308: require('vim._editor') +076.208 000.960 000.129: require('vim._init_packages') +076.216 011.694: init lua interpreter +076.372 000.156: expanding arguments +078.183 001.811: inits 2 +079.554 001.371: init highlight +079.563 000.010: waiting for UI +082.359 002.795: done waiting for UI +082.394 000.035: init screen for UI +082.667 000.273: init default mappings +082.694 000.027: init default autocommands +092.469 004.260 004.260: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/ftplugin.vim +094.902 001.025 001.025: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/indent.vim +095.177 000.027 000.027: sourcing /usr/share/nvim/archlinux.vim +095.189 000.087 000.060: sourcing /etc/xdg/nvim/sysinit.vim +146.039 050.620 050.620: require('impatient') +146.227 000.166 000.166: require('impatient.profile') +146.375 000.122 000.122: require('user.utils') +151.939 000.327 000.327: require('packer.util') +152.009 000.727 000.400: require('packer') +152.984 000.294 000.294: require('packer.log') +153.006 000.591 000.297: require('packer.async') +153.364 000.207 000.207: require('packer.result') +153.381 000.367 000.160: require('packer.jobs') +153.397 001.318 000.360: require('packer.plugin_utils') +153.658 000.232 000.232: require('packer.snapshot') +156.096 000.466 000.466: require('mason-core.path') +156.121 000.952 000.486: require('mason.settings') +157.090 000.294 000.294: require('mason-core.functional') +157.590 000.249 000.249: require('mason-core.functional.data') +157.604 000.483 000.234: require('mason-core.functional.function') +157.850 000.202 000.202: require('mason-core.functional.relation') +158.054 000.178 000.178: require('mason-core.functional.logic') +158.108 001.978 000.821: require('mason-core.platform') +158.115 003.516 000.586: require('mason') +158.625 000.153 000.153: require('mason-core.functional.list') +158.683 000.522 000.369: require('mason.api.command') +159.086 000.255 000.255: require('mason-core.log') +159.100 000.409 000.153: require('mason-lspconfig') +159.262 000.154 000.154: require('mason-lspconfig.settings') +159.672 000.100 000.100: require('mason-core.notify') +159.687 000.249 000.149: require('mason-lspconfig.lspconfig_hook') +161.165 000.375 000.375: require('vim.lsp.log') +162.757 000.013 000.013: require('vim.F') +162.768 001.590 001.578: require('vim.lsp.protocol') +163.688 000.340 000.340: require('vim.lsp._snippet') +163.898 000.195 000.195: require('vim.highlight') +163.951 001.120 000.585: require('vim.lsp.util') +163.986 003.554 000.468: require('vim.lsp.handlers') +164.535 000.540 000.540: require('vim.lsp.rpc') +164.924 000.372 000.372: require('vim.lsp.sync') +165.397 000.457 000.457: require('vim.lsp.buf') +165.791 000.378 000.378: require('vim.lsp.diagnostic') +166.217 000.400 000.400: require('vim.lsp.codelens') +166.441 006.577 000.876: require('vim.lsp') +166.701 007.007 000.430: require('lspconfig.util') +167.095 000.124 000.124: require('mason-core.functional.table') +167.214 000.440 000.316: require('mason-lspconfig.mappings.server') +167.653 000.144 000.144: require('mason-core.async') +167.804 000.138 000.138: require('mason-core.async.uv') +167.818 000.430 000.148: require('mason-core.fs') +167.943 000.118 000.118: require('mason-core.optional') +168.065 000.112 000.112: require('mason-core.EventEmitter') +168.305 000.233 000.233: require('mason-registry.index') +168.330 001.105 000.211: require('mason-registry') +168.457 000.115 000.115: require('mason-lspconfig.server_config_extensions') +168.601 000.137 000.137: require('lspconfig.configs') +168.845 000.185 000.185: require('lspconfig.server_configurations.omnisharp') +169.286 000.155 000.155: require('mason-lspconfig.ensure_installed') +169.706 000.117 000.117: require('mason-core.result') +170.312 000.303 000.303: require('mason-core.process') +170.624 000.766 000.463: require('mason-core.spawn') +170.786 000.147 000.147: require('mason-core.receipt') +170.923 000.118 000.118: require('mason-core.functional.string') +170.959 001.244 000.213: require('mason-core.installer.context') +171.090 000.122 000.122: require('mason-core.installer.linker') +171.221 000.124 000.124: require('mason-core.async.control') +171.235 001.785 000.178: require('mason-core.installer') +171.393 000.152 000.152: require('mason-core.installer.handle') +172.052 000.133 000.133: require('mason-core.managers.powershell') +172.061 000.260 000.127: require('mason-core.fetch') +172.065 000.381 000.121: require('mason-core.managers.cargo.client') +172.354 000.149 000.149: require('mason-core.managers.std') +172.640 000.134 000.134: require('mason-registry.api') +172.667 000.305 000.170: require('mason-core.managers.github.client') +172.685 000.614 000.160: require('mason-core.managers.github') +172.846 001.311 000.316: require('mason-core.managers.cargo') +173.126 000.269 000.269: require('mason-core.managers.composer') +173.315 000.179 000.179: require('mason-core.managers.gem') +173.450 000.127 000.127: require('mason-core.managers.git') +173.622 000.160 000.160: require('mason-core.managers.go') +173.829 000.199 000.199: require('mason-core.managers.luarocks') +173.991 000.154 000.154: require('mason-core.managers.npm') +174.218 000.219 000.219: require('mason-core.managers.pip3') +174.233 002.820 000.202: require('mason-core.package.version-check') +174.254 004.957 000.201: require('mason-core.package') +174.502 000.207 000.207: require('mason-registry.python-lsp-server') +174.904 000.136 000.136: require('mason-registry.pyright') +175.181 000.220 000.220: require('mason-registry.clangd') +175.494 000.177 000.177: require('mason-registry.lua-language-server') +175.884 000.186 000.186: require('mason-core.functional.number') +175.961 000.453 000.266: require('mason-lspconfig.api.command') +176.054 025.286 002.868: require('user.pack') +179.762 003.699 003.699: require('user.opts') +179.968 000.018 000.018: require('vim.keymap') +182.217 002.429 002.412: require('user.keys') +182.350 000.120 000.120: require('user.utils') +183.650 000.302 000.302: require('vim.treesitter.language') +183.674 000.872 000.570: require('vim.treesitter.query') +185.104 000.305 000.305: require('vim.treesitter.languagetree') +185.200 000.696 000.391: require('vim.treesitter') +185.566 001.433 000.737: require('nvim-treesitter.parsers') +185.737 000.161 000.161: require('nvim-treesitter.utils') +185.755 001.844 000.250: require('nvim-treesitter.ts_utils') +185.771 002.090 000.246: require('nvim-treesitter.tsrange') +185.931 000.151 000.151: require('nvim-treesitter.caching') +185.955 003.297 000.184: require('nvim-treesitter.query') +185.993 003.532 000.235: require('nvim-treesitter.configs') +186.553 000.133 000.133: require('nvim-treesitter.info') +186.724 000.159 000.159: require('nvim-treesitter.shell_command_selectors') +186.779 000.572 000.280: require('nvim-treesitter.install') +188.676 006.315 002.211: require('plugins.treesitter') +189.041 000.115 000.115: require('telescope._extensions') +189.052 000.236 000.122: require('telescope') +190.000 000.116 000.116: require('plenary.bit') +190.166 000.157 000.157: require('plenary.functional') +190.235 000.044 000.044: require('ffi') +190.262 000.565 000.247: require('plenary.path') +190.282 000.699 000.134: require('plenary.strings') +190.401 000.113 000.113: require('telescope.deprecated') +190.998 000.346 000.346: require('plenary.log') +191.045 000.487 000.141: require('telescope.log') +191.403 000.177 000.177: require('plenary.job') +191.527 000.113 000.113: require('telescope.state') +191.546 000.492 000.202: require('telescope.utils') +191.608 001.198 000.219: require('telescope.sorters') +191.823 000.188 000.188: require('vim.inspect') +196.700 007.320 005.122: require('telescope.config') +197.029 000.144 000.144: require('plenary.window.border') +197.144 000.106 000.106: require('plenary.window') +197.256 000.103 000.103: require('plenary.popup.utils') +197.265 000.547 000.194: require('plenary.popup') +197.390 000.118 000.118: require('telescope.pickers.scroller') +197.516 000.118 000.118: require('telescope.actions.state') +197.668 000.128 000.128: require('telescope.actions.utils') +197.964 000.146 000.146: require('telescope.actions.mt') +198.008 000.333 000.187: require('telescope.actions.set') +198.618 000.306 000.306: require('telescope.config.resolve') +198.638 000.622 000.316: require('telescope.pickers.entry_display') +198.847 000.197 000.197: require('telescope.from_entry') +199.606 010.548 001.164: require('telescope.actions') +204.052 000.130 000.130: require('plenary.tbl') +204.079 000.288 000.158: require('plenary.vararg.rotate') +204.087 000.473 000.184: require('plenary.vararg') +204.293 000.194 000.194: require('plenary.errors') +204.320 000.840 000.174: require('plenary.async.async') +204.591 000.260 000.260: require('plenary.async.structs') +204.631 001.563 000.464: require('plenary.async.control') +205.901 000.963 000.963: require('telescope.make_entry') +206.567 000.133 000.133: require('plenary.async.util') +206.576 000.249 000.116: require('plenary.async.tests') +206.582 000.387 000.137: require('plenary.async') +206.590 000.648 000.261: require('telescope.finders.async_static_finder') +206.977 000.106 000.106: require('plenary.class') +207.016 000.296 000.190: require('telescope._') +207.024 000.428 000.132: require('telescope.finders.async_oneshot_finder') +207.163 000.133 000.133: require('telescope.finders.async_job_finder') +207.181 002.530 000.358: require('telescope.finders') +207.805 000.231 000.231: require('telescope.debounce') +208.120 000.298 000.298: require('telescope.mappings') +208.296 000.163 000.163: require('telescope.pickers.highlights') +208.446 000.140 000.140: require('telescope.pickers.window') +208.752 000.135 000.135: require('telescope.algos.linked_list') +208.763 000.309 000.174: require('telescope.entry_manager') +208.889 000.121 000.121: require('telescope.pickers.multi') +208.946 001.757 000.495: require('telescope.pickers') +209.007 009.178 003.327: require('telescope.builtin.__lsp') +209.076 009.454 000.276: require('telescope.builtin') +209.658 000.360 000.360: require('fzf_lib') +209.679 000.593 000.233: require('telescope._extensions.fzf') +210.368 000.217 000.217: require('telescope._extensions.file_browser.utils') +210.549 000.662 000.445: require('telescope._extensions.file_browser.actions') +210.998 000.254 000.254: require('telescope._extensions.file_browser.make_entry') +211.278 000.260 000.260: require('plenary.scandir') +211.344 000.783 000.269: require('telescope._extensions.file_browser.finders') +211.515 000.163 000.163: require('telescope._extensions.file_browser.picker') +211.736 000.209 000.209: require('telescope._extensions.file_browser.config') +211.745 002.010 000.194: require('telescope._extensions.file_browser') +216.346 027.657 004.817: require('plugins.telescope') +218.128 000.145 000.145: require('notify.util.queue') +218.139 000.286 000.141: require('notify.util') +218.518 000.360 000.360: require('notify.config.highlights') +218.534 000.825 000.179: require('notify.config') +218.757 000.192 000.192: require('notify.stages') +218.915 000.149 000.149: require('notify.service.notification') +219.703 000.200 000.200: require('notify.animate.spring') +219.712 000.649 000.448: require('notify.animate') +219.736 000.813 000.165: require('notify.windows') +220.589 000.329 000.329: require('notify.service.buffer.highlights') +220.611 000.625 000.296: require('notify.service.buffer') +220.628 000.886 000.261: require('notify.service') +221.290 000.657 000.657: require('notify.stages.util') +221.371 003.834 000.312: require('notify') +221.655 000.277 000.277: require('nvim-tree.iterators.node-iterator') +221.808 004.446 000.336: require('nvim-tree.utils') +221.847 004.618 000.171: require('nvim-tree.events') +222.596 000.240 000.240: require('nvim-tree.log') +222.902 000.296 000.296: require('nvim-tree.git.utils') +223.176 000.266 000.266: require('nvim-tree.git.runner') +223.445 000.263 000.263: require('nvim-tree.watcher') +223.482 001.402 000.337: require('nvim-tree.git') +223.723 000.236 000.236: require('nvim-tree.explorer.watch') +223.904 000.174 000.174: require('nvim-tree.explorer.common') +224.400 000.209 000.209: require('nvim-tree.explorer.node-builders') +224.621 000.213 000.213: require('nvim-tree.explorer.sorters') +224.869 000.240 000.240: require('nvim-tree.explorer.filters') +225.802 000.650 000.650: require('nvim-tree.view') +225.922 001.030 000.380: require('nvim-tree.live-filter') +225.946 002.034 000.342: require('nvim-tree.explorer.explore') +226.204 000.251 000.251: require('nvim-tree.explorer.reload') +226.221 004.367 000.271: require('nvim-tree.explorer') +226.241 009.119 000.134: require('nvim-tree.core') +226.527 000.280 000.280: require('nvim-tree.diagnostics') +226.780 000.231 000.231: require('nvim-tree.renderer.components.padding') +227.057 000.269 000.269: require('nvim-tree.renderer.components.icons') +227.301 000.235 000.235: require('nvim-tree.renderer.components.full-name') +227.403 000.095 000.095: require('nvim-tree.renderer.help') +227.528 000.117 000.117: require('nvim-tree.renderer.components.git') +227.660 000.126 000.126: require('nvim-tree.renderer.builder') +227.764 000.097 000.097: require('nvim-tree.marks') +227.777 010.797 000.228: require('nvim-tree.renderer') +227.892 000.102 000.102: require('nvim-tree.actions.tree-modifiers.collapse-all') +227.985 000.086 000.086: require('nvim-tree.actions.root.dir-up') +228.093 000.102 000.102: require('nvim-tree.actions.root.change-dir') +228.198 000.097 000.097: require('nvim-tree.actions.reloaders.reloaders') +228.302 000.096 000.096: require('nvim-tree.actions.finders.find-file') +228.308 011.525 000.247: require('nvim-tree.lib') +228.421 000.107 000.107: require('nvim-tree.colors') +228.555 000.123 000.123: require('nvim-tree.legacy') +228.682 000.119 000.119: require('nvim-tree.actions.fs.copy-paste') +228.898 000.100 000.100: require('nvim-tree.actions.tree-modifiers.expand-all') +229.000 000.095 000.095: require('nvim-tree.actions.tree-modifiers.toggles') +229.117 000.101 000.101: require('nvim-tree.actions.fs.create-file') +229.249 000.124 000.124: require('nvim-tree.actions.fs.rename-file') +229.387 000.128 000.128: require('nvim-tree.actions.fs.trash') +229.496 000.102 000.102: require('nvim-tree.actions.fs.remove-file') +229.599 000.092 000.092: require('nvim-tree.actions.moves.parent') +229.694 000.088 000.088: require('nvim-tree.actions.moves.sibling') +229.790 000.088 000.088: require('nvim-tree.actions.moves.item') +229.904 000.096 000.096: require('nvim-tree.actions.finders.search-node') +229.998 000.087 000.087: require('nvim-tree.actions.node.run-command') +230.120 000.115 000.115: require('nvim-tree.actions.node.file-popup') +230.237 000.110 000.110: require('nvim-tree.actions.node.system-open') +230.343 000.095 000.095: require('nvim-tree.marks.bulk-move') +230.349 001.656 000.236: require('nvim-tree.actions.dispatch') +230.381 013.859 000.329: require('nvim-tree') +230.468 000.080 000.080: require('nvim-tree.config') +236.623 000.195 000.195: require('nvim-tree.actions') +236.771 000.126 000.126: require('nvim-tree.actions.node.open-file') +239.211 000.138 000.138: require('nvim-tree.marks.navigation') +239.223 000.333 000.195: require('nvim-tree.api') +239.245 000.484 000.151: require('nvim-tree.keymap') +240.116 000.406 000.406: require('nvim-web-devicons') +244.542 028.177 013.028: require('plugins.nvim-tree') +245.015 000.080 000.080: require('cmp.utils.debug') +245.281 000.172 000.172: require('cmp.utils.char') +245.297 000.273 000.100: require('cmp.utils.str') +245.438 000.089 000.089: require('cmp.utils.pattern') +245.719 000.091 000.091: require('cmp.utils.misc') +245.850 000.103 000.103: require('cmp.utils.buffer') +245.954 000.096 000.096: require('cmp.utils.api') +245.965 000.435 000.145: require('cmp.utils.keymap') +245.973 000.528 000.093: require('cmp.utils.feedkeys') +246.075 000.097 000.097: require('cmp.utils.async') +246.353 000.082 000.082: require('cmp.types.cmp') +246.606 000.246 000.246: require('cmp.types.lsp') +246.741 000.124 000.124: require('cmp.types.vim') +246.747 000.580 000.128: require('cmp.types') +246.831 000.079 000.079: require('cmp.utils.cache') +246.839 000.756 000.097: require('cmp.context') +247.121 000.093 000.093: require('cmp.config.mapping') +247.320 000.096 000.096: require('cmp.config.compare') +247.327 000.194 000.098: require('cmp.config.default') +247.350 000.409 000.122: require('cmp.config') +247.550 000.082 000.082: require('cmp.matcher') +247.560 000.206 000.124: require('cmp.entry') +247.576 000.732 000.117: require('cmp.source') +247.745 000.075 000.075: require('cmp.utils.event') +247.940 000.101 000.101: require('cmp.utils.window') +247.948 000.195 000.095: require('cmp.view.docs_view') +248.154 000.087 000.087: require('cmp.utils.autocmd') +248.173 000.221 000.134: require('cmp.view.custom_entries_view') +248.296 000.117 000.117: require('cmp.view.wildmenu_entries_view') +248.404 000.102 000.102: require('cmp.view.native_entries_view') +248.503 000.093 000.093: require('cmp.view.ghost_text_view') +248.517 000.937 000.134: require('cmp.view') +248.582 003.770 000.278: require('cmp.core') +248.845 000.084 000.084: require('cmp.config.sources') +248.929 000.075 000.075: require('cmp.config.window') +249.029 004.339 000.410: require('cmp') +249.476 000.117 000.117: require('symbols-outline.config') +249.483 000.207 000.090: require('symbols-outline.symbols') +249.579 000.091 000.091: require('symbols-outline.ui') +249.669 000.083 000.083: require('symbols-outline.utils.table') +249.756 000.080 000.080: require('symbols-outline.folding') +249.762 000.586 000.124: require('symbols-outline.parser') +249.852 000.085 000.085: require('symbols-outline.providers.init') +249.952 000.093 000.093: require('symbols-outline.writer') +250.046 000.086 000.086: require('symbols-outline.utils.init') +250.136 000.085 000.085: require('symbols-outline.view') +250.150 001.113 000.179: require('symbols-outline') +250.393 000.113 000.113: require('symbols-outline.preview') +250.513 000.106 000.106: require('lspkind') +252.569 008.014 002.343: require('plugins.cmp') +253.158 000.084 000.084: require('luasnip.session') +253.311 000.144 000.144: require('luasnip.util.util') +253.406 000.088 000.088: require('luasnip.util.types') +253.602 000.095 000.095: require('luasnip.util.ext_opts') +253.611 000.197 000.102: require('luasnip.nodes.util') +253.706 000.089 000.089: require('luasnip.util.events') +253.726 000.751 000.148: require('luasnip.nodes.node') +253.972 000.094 000.094: require('luasnip.util.extend_decorator') +253.987 000.255 000.161: require('luasnip.nodes.insertNode') +254.110 000.117 000.117: require('luasnip.nodes.textNode') +254.237 000.115 000.115: require('luasnip.util.mark') +255.139 000.800 000.800: require('luasnip.util._builtin_vars') +255.552 001.308 000.508: require('luasnip.util.environ') +255.698 000.133 000.133: require('luasnip.util.pattern_tokenizer') +255.793 000.088 000.088: require('luasnip.util.dict') +255.965 000.164 000.164: require('luasnip.session.snippet_collection') +256.142 003.314 000.383: require('luasnip.nodes.snippet') +256.363 000.091 000.091: require('luasnip.loaders._caches') +256.512 000.141 000.141: require('luasnip.util.path') +256.571 000.413 000.181: require('luasnip.loaders') +256.785 000.178 000.178: require('luasnip.nodes.functionNode') +256.960 000.166 000.166: require('luasnip.nodes.choiceNode') +257.123 000.155 000.155: require('luasnip.nodes.dynamicNode') +257.273 000.143 000.143: require('luasnip.nodes.restoreNode') +257.667 000.104 000.104: require('luasnip.util.parser.neovim_ast') +263.619 000.140 000.140: require('luasnip.util.directed_graph') +263.650 006.206 005.962: require('luasnip.util.parser.ast_utils') +263.964 000.162 000.162: require('luasnip.util.functions') +263.984 000.322 000.160: require('luasnip.util.parser.ast_parser') +264.259 000.266 000.266: require('luasnip.util.parser.neovim_parser') +264.421 000.148 000.148: require('luasnip.util.str') +264.442 007.113 000.170: require('luasnip.util.parser') +264.802 000.155 000.155: require('luasnip.extras.filetype_functions') +265.028 000.166 000.166: require('luasnip.extras') +265.184 000.138 000.138: require('luasnip.extras.fmt') +265.466 000.094 000.094: require('luasnip.extras.conditions') +265.566 000.094 000.094: require('luasnip.extras.conditions.show') +265.666 000.381 000.193: require('luasnip.extras.conditions.expand') +265.672 000.479 000.098: require('luasnip.extras.expand_conditions') +265.782 000.098 000.098: require('luasnip.nodes.absolute_indexer') +266.275 001.821 000.786: require('luasnip.config') +266.287 013.592 000.289: require('luasnip') +266.520 000.112 000.112: require('luasnip.loaders.util') +266.530 000.236 000.124: require('luasnip.loaders.from_lua') +276.628 024.041 010.213: require('plugins.luasnip') +277.041 000.148 000.148: require('colorizer/nvim') +277.242 000.191 000.191: require('colorizer/trie') +277.608 000.861 000.521: require('colorizer') +279.397 002.750 001.889: require('plugins.colorizer') +279.798 000.096 000.096: require('prettier.utils') +279.825 000.234 000.138: require('prettier.options') +280.447 000.185 000.185: require('null-ls.methods') +280.476 000.344 000.158: require('null-ls.utils') +280.941 000.455 000.455: require('vim.diagnostic') +280.971 000.933 000.134: require('null-ls.config') +281.211 000.129 000.129: require('null-ls.helpers.cache') +281.353 000.133 000.133: require('null-ls.helpers.diagnostics') +281.462 000.101 000.101: require('null-ls.helpers.formatter_factory') +281.693 000.098 000.098: require('null-ls.logger') +281.801 000.101 000.101: require('null-ls.state') +281.808 000.339 000.141: require('null-ls.helpers.generator_factory') +282.014 000.100 000.100: require('null-ls.helpers.command_resolver') +282.021 000.207 000.108: require('null-ls.helpers.make_builtin') +282.123 000.096 000.096: require('null-ls.helpers.range_formatting_args_factory') +282.128 001.149 000.144: require('null-ls.helpers') +282.356 000.110 000.110: require('null-ls.diagnostics') +282.380 000.247 000.138: require('null-ls.sources') +282.512 000.124 000.124: require('null-ls.builtins') +282.520 002.577 000.123: require('null-ls') +282.621 000.096 000.096: require('prettier.cli') +282.630 002.800 000.127: require('prettier.null-ls') +282.636 003.134 000.101: require('prettier') +283.007 000.131 000.131: require('null-ls.client') +283.020 003.610 000.344: require('plugins.prettier') +283.182 000.089 000.089: require('git') +283.309 000.120 000.120: require('git.config') +283.484 000.455 000.246: require('plugins.git') +283.799 000.099 000.099: require('gitsigns.async') +283.902 000.094 000.094: require('gitsigns.status') +284.158 000.099 000.099: require('gitsigns.debug') +284.269 000.105 000.105: require('gitsigns.util') +284.497 000.123 000.123: require('gitsigns.uv') +284.505 000.229 000.106: require('gitsigns.subprocess') +284.941 000.085 000.085: require('gitsigns.message') +284.970 000.272 000.187: require('gitsigns.config') +285.063 000.086 000.086: require('gitsigns.signs.base') +285.069 000.456 000.099: require('gitsigns.signs') +285.078 000.569 000.113: require('gitsigns.hunks') +285.095 001.187 000.186: require('gitsigns.git') +285.316 000.092 000.092: require('gitsigns.cache') +285.411 000.087 000.087: require('gitsigns.debounce') +285.503 000.082 000.082: require('gitsigns.diff') +285.525 000.425 000.163: require('gitsigns.manager') +285.658 000.126 000.126: require('gitsigns.highlight') +285.681 002.118 000.187: require('gitsigns') +287.320 000.123 000.123: require('gitsigns.signs.vimfn') +289.815 006.324 004.082: require('plugins.gitsigns') +290.263 000.122 000.122: require('neoscroll.config') +290.375 000.103 000.103: require('neoscroll.utils') +290.542 000.565 000.339: require('neoscroll') +291.102 001.263 000.699: require('plugins.neoscroll') +291.674 000.108 000.108: require('cmp_nvim_lsp.source') +291.684 000.228 000.120: require('cmp_nvim_lsp') +291.785 000.091 000.091: require('lspconfig') +291.941 000.110 000.110: require('lspconfig.server_configurations.pylsp') +292.601 000.157 000.157: require('mason-lspconfig.server_configurations.pylsp') +293.072 000.128 000.128: require('lspconfig.server_configurations.clangd') +295.132 000.137 000.137: require('lspconfig.server_configurations.vimls') +296.743 000.130 000.130: require('lspconfig.server_configurations.bashls') +298.844 000.187 000.187: require('lspconfig.server_configurations.sumneko_lua') +300.570 009.456 008.289: require('plugins.lsp') +300.948 000.094 000.094: require('nvim-autopairs._log') +301.076 000.119 000.119: require('nvim-autopairs.utils') +301.419 000.123 000.123: require('nvim-autopairs.conds') +301.435 000.242 000.119: require('nvim-autopairs.rule') +301.440 000.357 000.115: require('nvim-autopairs.rules.basic') +301.455 000.769 000.199: require('nvim-autopairs') +301.677 000.124 000.124: require('nvim-autopairs.fastwrap') +302.226 000.114 000.114: require('nvim-autopairs.ts-conds') +302.234 000.229 000.115: require('nvim-autopairs.rules.ts_basic') +302.492 000.252 000.252: require('vim.treesitter.highlighter') +303.613 000.099 000.099: require('nvim-autopairs.completion.handlers') +303.631 000.229 000.129: require('nvim-autopairs.completion.cmp') +303.704 003.116 001.514: require('plugins.autopairs') +304.017 000.220 000.220: require('null-ls.builtins.formatting.stylua') +304.192 000.159 000.159: require('null-ls.builtins.diagnostics.eslint') +304.322 000.118 000.118: require('null-ls.builtins.completion.spell') +304.809 001.095 000.598: require('plugins.null-ls') +304.895 000.075 000.075: require('plugins.web-devicons') +305.378 000.089 000.089: require('zen-mode.util') +305.570 000.377 000.288: require('zen-mode.config') +305.693 000.111 000.111: require('zen-mode.plugins') +305.704 000.651 000.163: require('zen-mode.view') +305.710 000.742 000.092: require('zen-mode') +305.981 001.080 000.337: require('plugins.zen-mode') +310.192 000.100 000.100: require('doom-one.utils') +310.308 000.104 000.104: require('doom-one.colors') +310.326 000.554 000.350: require('doom-one') +313.289 004.518 003.964: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/doom-one.nvim/colors/doom-one.lua +319.592 000.338 000.338: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/syntax/synload.vim +320.013 000.059 000.059: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/filetype.nvim/filetype.vim +321.170 000.100 000.100: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/filetype.lua +322.739 001.395 001.395: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/filetype.vim +323.624 000.175 000.175: require('filetype') +323.693 006.434 004.367: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/syntax/syntax.vim +324.228 000.190 000.190: require('notify.stages.fade_in_slide_out') +324.302 018.309 007.166: require('plugins.colorscheme') +324.712 000.112 000.112: require('heirline.conditions') +324.865 000.145 000.145: require('heirline.utils') +325.237 000.110 000.110: require('heirline.highlights') +325.251 000.238 000.128: require('heirline.statusline') +325.259 000.359 000.122: require('heirline') +325.428 000.151 000.151: require('nvim-navic') +330.002 005.690 004.923: require('plugins.heirline') +330.055 234.819 004.949: sourcing /home/sxrdusr/.config/nvim/init.lua +330.077 007.191: sourcing vimrc file(s) +336.547 001.394 001.394: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/gzip.vim +336.687 000.061 000.061: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/health.vim +339.821 001.746 001.746: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim +340.242 003.447 001.701: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/matchit.vim +340.717 000.405 000.405: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/matchparen.vim +340.878 000.087 000.087: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/netrwPlugin.vim +341.312 000.022 000.022: sourcing /home/sxrdusr/.local/share/nvim/rplugin.vim +341.333 000.386 000.364: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/rplugin.vim +341.611 000.210 000.210: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/shada.vim +341.759 000.058 000.058: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/spellfile.vim +341.905 000.068 000.068: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/tarPlugin.vim +342.052 000.069 000.069: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/tohtml.vim +342.177 000.052 000.052: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/tutor.vim +343.163 000.910 000.910: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/zipPlugin.vim +343.453 000.038 000.038: sourcing /usr/share/vim/vimfiles/plugin/fzf.vim +345.012 000.181 000.181: require('null-ls.builtins.diagnostics.checkmake') +345.445 000.260 000.260: require('fidget.log') +345.466 000.439 000.179: require('fidget') +345.669 000.182 000.182: require('fidget.spinners') +345.883 000.144 000.144: require('flit') +346.600 000.104 000.104: require('leap') +346.710 000.100 000.100: require('leap.user') +347.894 000.084 000.084: require('crates.time') +347.905 000.197 000.113: require('crates.types') +347.917 000.318 000.121: require('crates.semver') +348.396 000.389 000.389: require('crates.config') +348.547 000.143 000.143: require('crates.toml') +348.558 000.635 000.103: require('crates.state') +348.584 001.124 000.171: require('crates.util') +348.598 001.262 000.138: require('crates.actions') +348.850 000.146 000.146: require('crates.api') +348.951 000.093 000.093: require('crates.async') +349.068 000.110 000.110: require('crates.diagnostic') +349.206 000.129 000.129: require('crates.ui') +349.215 000.610 000.132: require('crates.core') +349.493 000.124 000.124: require('crates.popup.common') +349.618 000.118 000.118: require('crates.popup.crate') +349.744 000.119 000.119: require('crates.popup.dependencies') +349.874 000.123 000.123: require('crates.popup.features') +350.034 000.154 000.154: require('crates.popup.versions') +350.050 000.829 000.192: require('crates.popup') +350.061 002.844 000.142: require('crates') +353.619 000.487 000.487: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +355.322 011.723 007.242: sourcing /home/sxrdusr/.config/nvim/plugin/packer_compiled.lua +356.160 000.117 000.117: sourcing /tmp/.mount_nvimJX3itN/usr/share/nvim/runtime/plugin/man.lua +356.374 007.273: loading rtp plugins +358.523 000.097 000.097: require('Comment.config') +358.854 000.155 000.155: require('Comment.ft') +358.864 000.331 000.176: require('Comment.utils') +358.969 000.099 000.099: require('Comment.opfunc') +359.069 000.093 000.093: require('Comment.extra') +359.078 000.786 000.166: require('Comment.api') +359.276 001.082 000.295: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/Comment.nvim/plugin/Comment.lua +359.619 000.160 000.160: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim +360.346 000.465 000.465: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/LuaSnip/plugin/luasnip.vim +361.167 000.179 000.179: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/plugin/crates.vim +361.787 000.039 000.039: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/fzf/plugin/fzf.vim +363.802 001.427 001.427: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/leap.nvim/plugin/init.lua +364.372 000.073 000.073: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nightfox.nvim/plugin/nightfox.vim +365.036 000.364 000.364: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/numbers.vim/plugin/numbers.vim +365.696 000.168 000.168: require('cmp.utils.highlight') +366.663 001.241 001.073: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-cmp/plugin/cmp.lua +366.885 000.030 000.030: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-code-action-menu/plugin/code_action_menu.vim +367.216 000.079 000.079: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua/plugin/colorizer.vim +367.709 000.172 000.172: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-dap/plugin/dap.lua +368.347 000.221 000.221: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-lspconfig/plugin/lspconfig.lua +369.235 000.221 000.221: require('nvim-treesitter.statusline') +369.370 000.126 000.126: require('nvim-treesitter.query_predicates') +369.377 000.515 000.169: require('nvim-treesitter') +370.560 001.785 001.269: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter/plugin/nvim-treesitter.lua +371.139 000.352 000.352: require('treesitter-context') +371.150 000.395 000.043: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-context/plugin/treesitter-context.vim +371.675 000.224 000.224: require('nvim-treesitter-refactor') +372.160 000.741 000.517: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim +372.568 000.136 000.136: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-web-devicons/plugin/nvim-web-devicons.vim +373.014 000.080 000.080: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/plenary.nvim/plugin/plenary.vim +373.351 000.093 000.093: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/prettier.nvim/plugin/prettier.vim +373.840 000.027 000.027: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/startuptime.vim/plugin/startuptime.vim +374.126 000.044 000.044: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim/plugin/symbols-outline.vim +374.491 000.061 000.061: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope-frecency.nvim/plugin/frecency.vim +375.105 000.126 000.126: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +375.661 000.344 000.344: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-cool/plugin/cool.vim +376.391 000.379 000.379: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator/plugin/tmux_navigator.vim +376.681 000.030 000.030: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/which-key.nvim/plugin/which-key.vim +376.976 000.047 000.047: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/zen-mode.nvim/plugin/zen-mode.vim +378.135 011.943: loading packages +386.128 000.183 000.183: require('cmp_buffer.timer') +386.140 000.355 000.171: require('cmp_buffer.buffer') +386.146 000.475 000.120: require('cmp_buffer.source') +386.151 000.597 000.122: require('cmp_buffer') +386.207 000.737 000.140: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua +386.646 000.180 000.180: require('cmp_cmdline') +386.683 000.314 000.134: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua +386.981 000.134 000.134: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua +387.382 000.164 000.164: require('cmp_path') +387.415 000.281 000.117: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-path/after/plugin/cmp_path.lua +387.764 000.118 000.118: require('cmp_luasnip') +387.832 000.254 000.137: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp_luasnip/after/plugin/cmp_luasnip.lua +388.317 000.118 000.118: require('crates.src.common') +388.329 000.229 000.111: require('crates.src.cmp') +388.357 000.329 000.100: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/after/plugin/cmp_crates.lua +388.431 008.246: loading after plugins +388.462 000.032: inits 3 +388.477 000.015: reading ShaDa +389.662 000.131 000.131: require('luasnip.nodes.snippetProxy') +389.678 000.357 000.227: require('luasnip.loaders.from_snipmate') +389.867 000.141 000.141: require('luasnip.loaders.from_vscode') +389.985 001.009: opening buffers +390.134 000.150: BufEnter autocommands +390.143 000.009: editing files in windows +408.982 000.262 000.262: require('gitsigns.current_line_blame') + + +times in msec + clock self+sourced self: sourced script + clock elapsed: other lines + +001.177 001.177: --- NVIM STARTING --- +030.296 029.118: event init +047.618 017.322: early init +049.401 001.783: locale set +055.049 005.647: init first window +065.410 010.361: inits 1 +065.435 000.025: window checked +065.443 000.008: parsing arguments +077.432 000.276 000.276: require('vim.shared') +077.936 000.239 000.239: require('vim._meta') +077.949 000.494 000.255: require('vim._editor') +077.957 000.895 000.126: require('vim._init_packages') +077.964 011.626: init lua interpreter +078.138 000.174: expanding arguments +080.103 001.965: inits 2 +081.461 001.358: init highlight +081.470 000.009: waiting for UI +085.368 003.898: done waiting for UI +085.402 000.035: init screen for UI +085.645 000.242: init default mappings +085.673 000.028: init default autocommands +098.985 004.477 004.477: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/ftplugin.vim +102.428 001.121 001.121: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/indent.vim +102.963 000.062 000.062: sourcing /usr/share/nvim/archlinux.vim +102.992 000.194 000.132: sourcing /etc/xdg/nvim/sysinit.vim +131.508 028.029 028.029: require('impatient') +131.647 000.124 000.124: require('impatient.profile') +131.753 000.087 000.087: require('user.utils') +135.969 000.249 000.249: require('packer.util') +136.019 000.593 000.345: require('packer') +137.052 000.618 000.618: require('packer.log') +137.067 000.782 000.164: require('packer.async') +137.526 000.335 000.335: require('packer.result') +137.539 000.466 000.131: require('packer.jobs') +137.552 001.479 000.231: require('packer.plugin_utils') +137.749 000.174 000.174: require('packer.snapshot') +138.889 000.093 000.093: require('mason-core.path') +138.917 000.215 000.123: require('mason.settings') +139.202 000.156 000.156: require('mason-core.functional') +139.421 000.093 000.093: require('mason-core.functional.data') +139.434 000.208 000.116: require('mason-core.functional.function') +139.614 000.151 000.151: require('mason-core.functional.relation') +139.774 000.136 000.136: require('mason-core.functional.logic') +139.830 000.905 000.254: require('mason-core.platform') +139.836 001.438 000.318: require('mason') +140.302 000.152 000.152: require('mason-core.functional.list') +140.351 000.483 000.331: require('mason.api.command') +140.607 000.140 000.140: require('mason-core.log') +140.616 000.258 000.118: require('mason-lspconfig') +140.713 000.092 000.092: require('mason-lspconfig.settings') +140.974 000.080 000.080: require('mason-core.notify') +140.991 000.205 000.125: require('mason-lspconfig.lspconfig_hook') +148.799 000.640 000.640: require('vim.lsp.log') +151.050 000.016 000.016: require('vim.F') +151.061 002.248 002.232: require('vim.lsp.protocol') +157.315 002.187 002.187: require('vim.lsp._snippet') +157.944 000.612 000.612: require('vim.highlight') +157.978 006.908 004.109: require('vim.lsp.util') +158.026 012.293 002.498: require('vim.lsp.handlers') +159.228 001.192 001.192: require('vim.lsp.rpc') +159.914 000.674 000.674: require('vim.lsp.sync') +161.352 001.426 001.426: require('vim.lsp.buf') +161.915 000.553 000.553: require('vim.lsp.diagnostic') +162.551 000.625 000.625: require('vim.lsp.codelens') +162.744 021.619 004.854: require('vim.lsp') +162.849 021.853 000.234: require('lspconfig.util') +163.157 000.103 000.103: require('mason-core.functional.table') +163.261 000.383 000.280: require('mason-lspconfig.mappings.server') +163.645 000.120 000.120: require('mason-core.async') +163.743 000.087 000.087: require('mason-core.async.uv') +163.758 000.352 000.144: require('mason-core.fs') +163.897 000.132 000.132: require('mason-core.optional') +164.044 000.137 000.137: require('mason-core.EventEmitter') +164.264 000.213 000.213: require('mason-registry.index') +164.290 001.019 000.186: require('mason-registry') +164.396 000.098 000.098: require('mason-lspconfig.server_config_extensions') +164.526 000.123 000.123: require('lspconfig.configs') +164.692 000.115 000.115: require('lspconfig.server_configurations.omnisharp') +165.070 000.106 000.106: require('mason-lspconfig.ensure_installed') +165.423 000.103 000.103: require('mason-core.result') +166.032 000.272 000.272: require('mason-core.process') +166.149 000.550 000.278: require('mason-core.spawn') +166.275 000.114 000.114: require('mason-core.receipt') +166.392 000.097 000.097: require('mason-core.functional.string') +166.424 000.992 000.231: require('mason-core.installer.context') +166.586 000.156 000.156: require('mason-core.installer.linker') +166.719 000.124 000.124: require('mason-core.async.control') +166.732 001.527 000.153: require('mason-core.installer') +166.868 000.128 000.128: require('mason-core.installer.handle') +167.428 000.124 000.124: require('mason-core.managers.powershell') +167.439 000.236 000.112: require('mason-core.fetch') +167.443 000.328 000.093: require('mason-core.managers.cargo.client') +167.690 000.127 000.127: require('mason-core.managers.std') +168.013 000.123 000.123: require('mason-registry.api') +168.038 000.298 000.175: require('mason-core.managers.github.client') +168.053 000.605 000.179: require('mason-core.managers.github') +168.167 001.180 000.247: require('mason-core.managers.cargo') +168.471 000.296 000.296: require('mason-core.managers.composer') +168.645 000.165 000.165: require('mason-core.managers.gem') +168.757 000.105 000.105: require('mason-core.managers.git') +168.995 000.230 000.230: require('mason-core.managers.go') +169.199 000.195 000.195: require('mason-core.managers.luarocks') +169.356 000.146 000.146: require('mason-core.managers.npm') +169.539 000.176 000.176: require('mason-core.managers.pip3') +169.556 002.668 000.175: require('mason-core.package.version-check') +169.568 004.489 000.166: require('mason-core.package') +169.702 000.111 000.111: require('mason-registry.python-lsp-server') +170.068 000.142 000.142: require('mason-registry.pyright') +170.243 000.143 000.143: require('mason-registry.clangd') +170.428 000.158 000.158: require('mason-registry.lua-language-server') +170.665 000.091 000.091: require('mason-core.functional.number') +170.720 000.279 000.188: require('mason-lspconfig.api.command') +170.932 035.877 002.136: require('user.pack') +173.861 002.917 002.917: require('user.opts') +174.009 000.011 000.011: require('vim.keymap') +176.057 002.183 002.172: require('user.keys') +176.165 000.098 000.098: require('user.utils') +180.486 001.298 001.298: require('vim.treesitter.language') +180.521 004.008 002.710: require('vim.treesitter.query') +182.976 000.924 000.924: require('vim.treesitter.languagetree') +183.075 001.964 001.040: require('vim.treesitter') +183.413 002.629 000.665: require('nvim-treesitter.parsers') +183.587 000.163 000.163: require('nvim-treesitter.utils') +183.599 002.945 000.153: require('nvim-treesitter.ts_utils') +183.614 003.085 000.139: require('nvim-treesitter.tsrange') +183.725 000.103 000.103: require('nvim-treesitter.caching') +183.747 007.357 000.161: require('nvim-treesitter.query') +183.782 007.535 000.178: require('nvim-treesitter.configs') +184.408 000.120 000.120: require('nvim-treesitter.info') +184.561 000.142 000.142: require('nvim-treesitter.shell_command_selectors') +184.612 000.525 000.262: require('nvim-treesitter.install') +186.316 010.142 002.082: require('plugins.treesitter') +186.647 000.100 000.100: require('telescope._extensions') +186.657 000.212 000.111: require('telescope') +187.507 000.103 000.103: require('plenary.bit') +187.611 000.094 000.094: require('plenary.functional') +187.670 000.036 000.036: require('ffi') +187.694 000.461 000.228: require('plenary.path') +187.710 000.576 000.115: require('plenary.strings') +187.808 000.093 000.093: require('telescope.deprecated') +188.209 000.182 000.182: require('plenary.log') +188.248 000.305 000.123: require('telescope.log') +188.593 000.187 000.187: require('plenary.job') +188.715 000.112 000.112: require('telescope.state') +188.823 000.567 000.268: require('telescope.utils') +188.887 001.071 000.199: require('telescope.sorters') +189.139 000.218 000.218: require('vim.inspect') +197.132 010.169 008.211: require('telescope.config') +197.510 000.148 000.148: require('plenary.window.border') +197.627 000.109 000.109: require('plenary.window') +197.744 000.109 000.109: require('plenary.popup.utils') +197.755 000.598 000.233: require('plenary.popup') +197.909 000.147 000.147: require('telescope.pickers.scroller') +198.052 000.134 000.134: require('telescope.actions.state') +198.221 000.144 000.144: require('telescope.actions.utils') +198.538 000.150 000.150: require('telescope.actions.mt') +198.600 000.371 000.222: require('telescope.actions.set') +198.956 000.212 000.212: require('telescope.config.resolve') +198.964 000.356 000.144: require('telescope.pickers.entry_display') +199.084 000.115 000.115: require('telescope.from_entry') +199.742 013.079 001.043: require('telescope.actions') +200.807 000.109 000.109: require('plenary.tbl') +200.825 000.240 000.131: require('plenary.vararg.rotate') +200.829 000.347 000.107: require('plenary.vararg') +200.935 000.101 000.101: require('plenary.errors') +200.948 000.597 000.149: require('plenary.async.async') +201.074 000.121 000.121: require('plenary.async.structs') +201.095 000.898 000.180: require('plenary.async.control') +201.625 000.371 000.371: require('telescope.make_entry') +202.116 000.122 000.122: require('plenary.async.util') +202.123 000.228 000.106: require('plenary.async.tests') +202.129 000.353 000.125: require('plenary.async') +202.136 000.495 000.142: require('telescope.finders.async_static_finder') +203.049 000.645 000.645: require('plenary.class') +203.135 000.877 000.232: require('telescope._') +203.142 001.000 000.123: require('telescope.finders.async_oneshot_finder') +203.421 000.273 000.273: require('telescope.finders.async_job_finder') +203.461 002.356 000.217: require('telescope.finders') +204.688 000.672 000.672: require('telescope.debounce') +205.370 000.666 000.666: require('telescope.mappings') +205.632 000.248 000.248: require('telescope.pickers.highlights') +205.841 000.188 000.188: require('telescope.pickers.window') +206.346 000.234 000.234: require('telescope.algos.linked_list') +206.367 000.519 000.285: require('telescope.entry_manager') +206.570 000.197 000.197: require('telescope.pickers.multi') +206.680 003.213 000.723: require('telescope.pickers') +206.754 006.778 000.311: require('telescope.builtin.__lsp') +206.951 007.193 000.416: require('telescope.builtin') +207.796 000.429 000.429: require('fzf_lib') +207.826 000.864 000.434: require('telescope._extensions.fzf') +209.178 000.628 000.628: require('telescope._extensions.file_browser.utils') +209.523 001.393 000.765: require('telescope._extensions.file_browser.actions') +209.833 000.178 000.178: require('telescope._extensions.file_browser.make_entry') +210.007 000.163 000.163: require('plenary.scandir') +210.086 000.554 000.213: require('telescope._extensions.file_browser.finders') +210.202 000.107 000.107: require('telescope._extensions.file_browser.picker') +210.336 000.122 000.122: require('telescope._extensions.file_browser.config') +210.347 002.489 000.313: require('telescope._extensions.file_browser') +213.928 027.600 003.763: require('plugins.telescope') +215.092 000.082 000.082: require('notify.util.queue') +215.100 000.183 000.100: require('notify.util') +215.343 000.236 000.236: require('notify.config.highlights') +215.353 000.535 000.116: require('notify.config') +215.445 000.085 000.085: require('notify.stages') +215.538 000.086 000.086: require('notify.service.notification') +215.798 000.079 000.079: require('notify.animate.spring') +215.804 000.162 000.083: require('notify.animate') +215.813 000.268 000.106: require('notify.windows') +216.103 000.099 000.099: require('notify.service.buffer.highlights') +216.112 000.203 000.104: require('notify.service.buffer') +216.118 000.300 000.098: require('notify.service') +216.219 000.096 000.096: require('notify.stages.util') +216.271 001.553 000.183: require('notify') +216.372 000.093 000.093: require('nvim-tree.iterators.node-iterator') +216.437 001.840 000.194: require('nvim-tree.utils') +216.448 001.944 000.104: require('nvim-tree.events') +216.732 000.096 000.096: require('nvim-tree.log') +216.908 000.168 000.168: require('nvim-tree.git.utils') +217.013 000.098 000.098: require('nvim-tree.git.runner') +217.113 000.093 000.093: require('nvim-tree.watcher') +217.123 000.578 000.123: require('nvim-tree.git') +217.220 000.092 000.092: require('nvim-tree.explorer.watch') +217.312 000.085 000.085: require('nvim-tree.explorer.common') +217.504 000.099 000.099: require('nvim-tree.explorer.node-builders') +217.601 000.089 000.089: require('nvim-tree.explorer.sorters') +217.694 000.086 000.086: require('nvim-tree.explorer.filters') +217.973 000.180 000.180: require('nvim-tree.view') +217.986 000.286 000.106: require('nvim-tree.live-filter') +217.991 000.673 000.113: require('nvim-tree.explorer.explore') +218.097 000.101 000.101: require('nvim-tree.explorer.reload') +218.105 001.650 000.122: require('nvim-tree.explorer') +218.112 003.687 000.094: require('nvim-tree.core') +218.217 000.100 000.100: require('nvim-tree.diagnostics') +218.316 000.090 000.090: require('nvim-tree.renderer.components.padding') +218.412 000.090 000.090: require('nvim-tree.renderer.components.icons') +218.514 000.095 000.095: require('nvim-tree.renderer.components.full-name') +218.605 000.084 000.084: require('nvim-tree.renderer.help') +218.719 000.107 000.107: require('nvim-tree.renderer.components.git') +218.841 000.116 000.116: require('nvim-tree.renderer.builder') +218.940 000.091 000.091: require('nvim-tree.marks') +218.950 004.623 000.163: require('nvim-tree.renderer') +219.058 000.095 000.095: require('nvim-tree.actions.tree-modifiers.collapse-all') +219.147 000.082 000.082: require('nvim-tree.actions.root.dir-up') +219.246 000.093 000.093: require('nvim-tree.actions.root.change-dir') +219.347 000.093 000.093: require('nvim-tree.actions.reloaders.reloaders') +219.447 000.092 000.092: require('nvim-tree.actions.finders.find-file') +219.452 005.221 000.144: require('nvim-tree.lib') +219.559 000.101 000.101: require('nvim-tree.colors') +219.685 000.116 000.116: require('nvim-tree.legacy') +219.806 000.111 000.111: require('nvim-tree.actions.fs.copy-paste') +220.011 000.096 000.096: require('nvim-tree.actions.tree-modifiers.expand-all') +220.123 000.104 000.104: require('nvim-tree.actions.tree-modifiers.toggles') +220.236 000.097 000.097: require('nvim-tree.actions.fs.create-file') +220.334 000.090 000.090: require('nvim-tree.actions.fs.rename-file') +220.457 000.115 000.115: require('nvim-tree.actions.fs.trash') +220.562 000.097 000.097: require('nvim-tree.actions.fs.remove-file') +220.658 000.087 000.087: require('nvim-tree.actions.moves.parent') +220.751 000.086 000.086: require('nvim-tree.actions.moves.sibling') +220.844 000.084 000.084: require('nvim-tree.actions.moves.item') +220.953 000.091 000.091: require('nvim-tree.actions.finders.search-node') +221.044 000.084 000.084: require('nvim-tree.actions.node.run-command') +221.161 000.110 000.110: require('nvim-tree.actions.node.file-popup') +221.274 000.107 000.107: require('nvim-tree.actions.node.system-open') +221.379 000.094 000.094: require('nvim-tree.marks.bulk-move') +221.386 001.570 000.228: require('nvim-tree.actions.dispatch') +221.416 007.371 000.252: require('nvim-tree') +221.500 000.079 000.079: require('nvim-tree.config') +227.242 000.167 000.167: require('nvim-tree.actions') +227.379 000.118 000.118: require('nvim-tree.actions.node.open-file') +229.938 000.096 000.096: require('nvim-tree.marks.navigation') +229.950 000.283 000.187: require('nvim-tree.api') +229.970 000.428 000.145: require('nvim-tree.keymap') +230.837 000.388 000.388: require('nvim-web-devicons') +235.052 021.111 012.560: require('plugins.nvim-tree') +235.504 000.078 000.078: require('cmp.utils.debug') +235.713 000.118 000.118: require('cmp.utils.char') +235.726 000.213 000.095: require('cmp.utils.str') +235.856 000.081 000.081: require('cmp.utils.pattern') +236.130 000.087 000.087: require('cmp.utils.misc') +236.235 000.076 000.076: require('cmp.utils.buffer') +236.331 000.090 000.090: require('cmp.utils.api') +236.342 000.395 000.143: require('cmp.utils.keymap') +236.351 000.488 000.092: require('cmp.utils.feedkeys') +236.449 000.093 000.093: require('cmp.utils.async') +236.739 000.096 000.096: require('cmp.types.cmp') +236.850 000.104 000.104: require('cmp.types.lsp') +236.929 000.072 000.072: require('cmp.types.vim') +236.934 000.396 000.125: require('cmp.types') +237.015 000.076 000.076: require('cmp.utils.cache') +237.023 000.566 000.095: require('cmp.context') +237.331 000.104 000.104: require('cmp.config.mapping') +237.553 000.113 000.113: require('cmp.config.compare') +237.560 000.217 000.103: require('cmp.config.default') +237.587 000.464 000.143: require('cmp.config') +237.812 000.090 000.090: require('cmp.matcher') +237.823 000.230 000.140: require('cmp.entry') +237.841 000.813 000.119: require('cmp.source') +238.025 000.079 000.079: require('cmp.utils.event') +238.243 000.111 000.111: require('cmp.utils.window') +238.251 000.218 000.108: require('cmp.view.docs_view') +238.476 000.090 000.090: require('cmp.utils.autocmd') +238.500 000.244 000.154: require('cmp.view.custom_entries_view') +238.634 000.128 000.128: require('cmp.view.wildmenu_entries_view') +238.755 000.113 000.113: require('cmp.view.native_entries_view') +238.863 000.102 000.102: require('cmp.view.ghost_text_view') +238.881 001.035 000.150: require('cmp.view') +238.989 003.680 000.312: require('cmp.core') +239.418 000.090 000.090: require('cmp.config.sources') +239.512 000.077 000.077: require('cmp.config.window') +239.626 004.433 000.586: require('cmp') +240.106 000.155 000.155: require('symbols-outline.config') +240.113 000.252 000.097: require('symbols-outline.symbols') +240.221 000.102 000.102: require('symbols-outline.ui') +240.319 000.090 000.090: require('symbols-outline.utils.table') +240.419 000.093 000.093: require('symbols-outline.folding') +240.426 000.665 000.127: require('symbols-outline.parser') +240.525 000.094 000.094: require('symbols-outline.providers.init') +240.633 000.101 000.101: require('symbols-outline.writer') +240.736 000.095 000.095: require('symbols-outline.utils.init') +240.833 000.091 000.091: require('symbols-outline.view') +240.850 001.216 000.171: require('symbols-outline') +241.230 000.131 000.131: require('symbols-outline.preview') +241.361 000.116 000.116: require('lspkind') +242.972 007.908 002.012: require('plugins.cmp') +243.606 000.089 000.089: require('luasnip.session') +243.767 000.152 000.152: require('luasnip.util.util') +243.859 000.085 000.085: require('luasnip.util.types') +244.050 000.091 000.091: require('luasnip.util.ext_opts') +244.064 000.198 000.106: require('luasnip.nodes.util') +244.155 000.085 000.085: require('luasnip.util.events') +244.172 000.768 000.161: require('luasnip.nodes.node') +244.482 000.100 000.100: require('luasnip.util.extend_decorator') +244.494 000.316 000.217: require('luasnip.nodes.insertNode') +244.622 000.121 000.121: require('luasnip.nodes.textNode') +244.732 000.099 000.099: require('luasnip.util.mark') +245.531 000.690 000.690: require('luasnip.util._builtin_vars') +245.740 001.001 000.311: require('luasnip.util.environ') +245.858 000.107 000.107: require('luasnip.util.pattern_tokenizer') +245.955 000.090 000.090: require('luasnip.util.dict') +246.068 000.107 000.107: require('luasnip.session.snippet_collection') +246.187 002.972 000.363: require('luasnip.nodes.snippet') +246.397 000.093 000.093: require('luasnip.loaders._caches') +246.532 000.127 000.127: require('luasnip.util.path') +246.578 000.376 000.157: require('luasnip.loaders') +246.775 000.162 000.162: require('luasnip.nodes.functionNode') +246.968 000.183 000.183: require('luasnip.nodes.choiceNode') +247.120 000.144 000.144: require('luasnip.nodes.dynamicNode') +247.312 000.184 000.184: require('luasnip.nodes.restoreNode') +247.690 000.100 000.100: require('luasnip.util.parser.neovim_ast') +255.033 000.125 000.125: require('luasnip.util.directed_graph') +255.055 007.580 007.355: require('luasnip.util.parser.ast_utils') +255.279 000.093 000.093: require('luasnip.util.functions') +255.295 000.233 000.140: require('luasnip.util.parser.ast_parser') +255.501 000.200 000.200: require('luasnip.util.parser.neovim_parser') +255.604 000.094 000.094: require('luasnip.util.str') +255.645 008.280 000.173: require('luasnip.util.parser') +255.883 000.099 000.099: require('luasnip.extras.filetype_functions') +256.032 000.109 000.109: require('luasnip.extras') +256.149 000.105 000.105: require('luasnip.extras.fmt') +256.434 000.095 000.095: require('luasnip.extras.conditions') +256.534 000.093 000.093: require('luasnip.extras.conditions.show') +256.623 000.370 000.183: require('luasnip.extras.conditions.expand') +256.629 000.472 000.102: require('luasnip.extras.expand_conditions') +256.771 000.130 000.130: require('luasnip.nodes.absolute_indexer') +257.169 001.516 000.601: require('luasnip.config') +257.180 014.108 000.290: require('luasnip') +257.405 000.108 000.108: require('luasnip.loaders.util') +257.416 000.229 000.121: require('luasnip.loaders.from_lua') +267.046 024.061 009.725: require('plugins.luasnip') +267.448 000.147 000.147: require('colorizer/nvim') +267.805 000.349 000.349: require('colorizer/trie') +268.146 000.988 000.492: require('colorizer') +269.993 002.931 001.943: require('plugins.colorizer') +270.410 000.098 000.098: require('prettier.utils') +270.439 000.232 000.134: require('prettier.options') +271.132 000.261 000.261: require('null-ls.methods') +271.161 000.413 000.152: require('null-ls.utils') +277.142 005.971 005.971: require('vim.diagnostic') +277.176 006.520 000.136: require('null-ls.config') +277.393 000.095 000.095: require('null-ls.helpers.cache') +277.520 000.119 000.119: require('null-ls.helpers.diagnostics') +277.624 000.095 000.095: require('null-ls.helpers.formatter_factory') +277.868 000.102 000.102: require('null-ls.logger') +277.982 000.106 000.106: require('null-ls.state') +277.990 000.358 000.150: require('null-ls.helpers.generator_factory') +278.195 000.101 000.101: require('null-ls.helpers.command_resolver') +278.202 000.206 000.105: require('null-ls.helpers.make_builtin') +278.309 000.101 000.101: require('null-ls.helpers.range_formatting_args_factory') +278.314 001.128 000.153: require('null-ls.helpers') +278.546 000.112 000.112: require('null-ls.diagnostics') +278.564 000.245 000.134: require('null-ls.sources') +278.670 000.098 000.098: require('null-ls.builtins') +278.677 008.115 000.124: require('null-ls') +278.768 000.086 000.086: require('prettier.cli') +278.778 008.332 000.131: require('prettier.null-ls') +278.784 008.669 000.105: require('prettier') +279.413 000.132 000.132: require('null-ls.client') +279.426 009.420 000.620: require('plugins.prettier') +279.584 000.087 000.087: require('git') +279.682 000.091 000.091: require('git.config') +279.889 000.457 000.279: require('plugins.git') +280.232 000.091 000.091: require('gitsigns.async') +280.332 000.090 000.090: require('gitsigns.status') +280.595 000.100 000.100: require('gitsigns.debug') +280.708 000.102 000.102: require('gitsigns.util') +280.910 000.098 000.098: require('gitsigns.uv') +280.923 000.208 000.110: require('gitsigns.subprocess') +281.356 000.092 000.092: require('gitsigns.message') +281.385 000.273 000.181: require('gitsigns.config') +281.478 000.085 000.085: require('gitsigns.signs.base') +281.484 000.452 000.095: require('gitsigns.signs') +281.493 000.565 000.112: require('gitsigns.hunks') +281.511 001.172 000.197: require('gitsigns.git') +281.730 000.090 000.090: require('gitsigns.cache') +281.826 000.087 000.087: require('gitsigns.debounce') +281.920 000.084 000.084: require('gitsigns.diff') +281.942 000.426 000.165: require('gitsigns.manager') +282.060 000.111 000.111: require('gitsigns.highlight') +282.083 002.114 000.224: require('gitsigns') +284.285 000.139 000.139: require('gitsigns.signs.vimfn') +287.654 007.756 005.502: require('plugins.gitsigns') +288.141 000.115 000.115: require('neoscroll.config') +288.256 000.101 000.101: require('neoscroll.utils') +288.408 000.565 000.348: require('neoscroll') +289.124 001.439 000.874: require('plugins.neoscroll') +289.677 000.160 000.160: require('cmp_nvim_lsp.source') +289.687 000.296 000.136: require('cmp_nvim_lsp') +289.796 000.096 000.096: require('lspconfig') +289.948 000.108 000.108: require('lspconfig.server_configurations.pylsp') +290.569 000.134 000.134: require('mason-lspconfig.server_configurations.pylsp') +291.044 000.125 000.125: require('lspconfig.server_configurations.clangd') +293.242 000.140 000.140: require('lspconfig.server_configurations.vimls') +295.072 000.132 000.132: require('lspconfig.server_configurations.bashls') +296.618 000.138 000.138: require('lspconfig.server_configurations.sumneko_lua') +298.436 009.301 008.132: require('plugins.lsp') +298.814 000.096 000.096: require('nvim-autopairs._log') +298.936 000.113 000.113: require('nvim-autopairs.utils') +299.270 000.118 000.118: require('nvim-autopairs.conds') +299.284 000.234 000.115: require('nvim-autopairs.rule') +299.290 000.347 000.113: require('nvim-autopairs.rules.basic') +299.306 000.748 000.193: require('nvim-autopairs') +299.468 000.126 000.126: require('nvim-autopairs.fastwrap') +299.969 000.115 000.115: require('nvim-autopairs.ts-conds') +299.977 000.226 000.111: require('nvim-autopairs.rules.ts_basic') +300.839 000.856 000.856: require('vim.treesitter.highlighter') +302.163 000.104 000.104: require('nvim-autopairs.completion.handlers') +302.177 000.236 000.133: require('nvim-autopairs.completion.cmp') +302.196 003.747 001.555: require('plugins.autopairs') +302.502 000.222 000.222: require('null-ls.builtins.formatting.stylua') +302.746 000.228 000.228: require('null-ls.builtins.diagnostics.eslint') +302.886 000.121 000.121: require('null-ls.builtins.completion.spell') +303.534 001.331 000.760: require('plugins.null-ls') +303.630 000.086 000.086: require('plugins.web-devicons') +304.080 000.087 000.087: require('zen-mode.util') +304.145 000.243 000.155: require('zen-mode.config') +304.255 000.101 000.101: require('zen-mode.plugins') +304.265 000.478 000.134: require('zen-mode.view') +304.272 000.569 000.091: require('zen-mode') +304.472 000.833 000.264: require('plugins.zen-mode') +309.708 000.150 000.150: require('doom-one.utils') +309.841 000.111 000.111: require('doom-one.colors') +309.863 000.773 000.513: require('doom-one') +313.203 005.222 004.449: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/doom-one.nvim/colors/doom-one.lua +317.943 000.397 000.397: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/syntax/synload.vim +318.353 000.057 000.057: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/filetype.nvim/filetype.vim +320.819 001.441 001.441: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/filetype.lua +322.179 001.004 001.004: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/filetype.vim +322.962 000.161 000.161: require('filetype') +323.030 007.090 004.030: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/syntax/syntax.vim +323.579 000.128 000.128: require('notify.stages.fade_in_slide_out') +323.657 019.174 006.734: require('plugins.colorscheme') +324.052 000.106 000.106: require('heirline.conditions') +324.199 000.138 000.138: require('heirline.utils') +324.550 000.099 000.099: require('heirline.highlights') +324.572 000.230 000.131: require('heirline.statusline') +324.582 000.351 000.121: require('heirline') +324.753 000.154 000.154: require('nvim-navic') +328.736 005.069 004.320: require('plugins.heirline') +328.872 225.775 004.093: sourcing /home/sxrdusr/.config/nvim/init.lua +328.898 011.659: sourcing vimrc file(s) +334.721 001.128 001.128: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/gzip.vim +334.969 000.137 000.137: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/health.vim +337.677 001.402 001.402: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim +338.080 002.991 001.589: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/matchit.vim +338.537 000.393 000.393: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/matchparen.vim +338.681 000.077 000.077: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/netrwPlugin.vim +339.095 000.021 000.021: sourcing /home/sxrdusr/.local/share/nvim/rplugin.vim +339.116 000.373 000.352: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/rplugin.vim +339.372 000.197 000.197: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/shada.vim +339.507 000.051 000.051: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/spellfile.vim +339.640 000.061 000.061: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/tarPlugin.vim +339.771 000.058 000.058: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/tohtml.vim +339.883 000.045 000.045: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/tutor.vim +340.607 000.654 000.654: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/zipPlugin.vim +340.880 000.036 000.036: sourcing /usr/share/vim/vimfiles/plugin/fzf.vim +342.331 000.172 000.172: require('null-ls.builtins.diagnostics.checkmake') +342.715 000.220 000.220: require('fidget.log') +342.733 000.387 000.167: require('fidget') +342.917 000.162 000.162: require('fidget.spinners') +343.110 000.123 000.123: require('flit') +343.855 000.100 000.100: require('leap') +343.964 000.097 000.097: require('leap.user') +345.092 000.086 000.086: require('crates.time') +345.102 000.193 000.107: require('crates.types') +345.108 000.302 000.109: require('crates.semver') +346.671 001.472 001.472: require('crates.config') +346.845 000.163 000.163: require('crates.toml') +346.854 001.741 000.106: require('crates.state') +346.881 002.215 000.172: require('crates.util') +346.895 002.340 000.125: require('crates.actions') +347.130 000.129 000.129: require('crates.api') +347.221 000.082 000.082: require('crates.async') +347.336 000.108 000.108: require('crates.diagnostic') +347.449 000.105 000.105: require('crates.ui') +347.461 000.559 000.135: require('crates.core') +347.710 000.121 000.121: require('crates.popup.common') +347.857 000.140 000.140: require('crates.popup.crate') +347.982 000.118 000.118: require('crates.popup.dependencies') +348.128 000.140 000.140: require('crates.popup.features') +348.282 000.147 000.147: require('crates.popup.versions') +348.294 000.827 000.161: require('crates.popup') +348.308 003.865 000.139: require('crates') +351.282 000.464 000.464: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +353.140 012.117 006.746: sourcing /home/sxrdusr/.config/nvim/plugin/packer_compiled.lua +354.174 000.313 000.313: sourcing /tmp/.mount_nvimjtc2VG/usr/share/nvim/runtime/plugin/man.lua +354.357 006.827: loading rtp plugins +356.533 000.093 000.093: require('Comment.config') +356.915 000.174 000.174: require('Comment.ft') +356.930 000.386 000.213: require('Comment.utils') +357.033 000.097 000.097: require('Comment.opfunc') +357.130 000.090 000.090: require('Comment.extra') +357.139 000.836 000.168: require('Comment.api') +357.312 001.092 000.256: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/Comment.nvim/plugin/Comment.lua +357.659 000.162 000.162: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim +358.382 000.466 000.466: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/LuaSnip/plugin/luasnip.vim +359.183 000.177 000.177: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/plugin/crates.vim +359.790 000.039 000.039: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/fzf/plugin/fzf.vim +361.621 001.231 001.231: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/leap.nvim/plugin/init.lua +362.178 000.072 000.072: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nightfox.nvim/plugin/nightfox.vim +362.832 000.359 000.359: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/numbers.vim/plugin/numbers.vim +363.644 000.336 000.336: require('cmp.utils.highlight') +364.581 001.377 001.042: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-cmp/plugin/cmp.lua +364.799 000.030 000.030: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-code-action-menu/plugin/code_action_menu.vim +365.124 000.077 000.077: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua/plugin/colorizer.vim +365.611 000.176 000.176: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-dap/plugin/dap.lua +366.204 000.178 000.178: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-lspconfig/plugin/lspconfig.lua +367.016 000.110 000.110: require('nvim-treesitter.statusline') +367.151 000.125 000.125: require('nvim-treesitter.query_predicates') +367.158 000.371 000.135: require('nvim-treesitter') +368.291 001.664 001.293: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter/plugin/nvim-treesitter.lua +368.892 000.376 000.376: require('treesitter-context') +368.904 000.421 000.045: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-context/plugin/treesitter-context.vim +369.387 000.183 000.183: require('nvim-treesitter-refactor') +369.894 000.720 000.537: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim +370.290 000.109 000.109: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-web-devicons/plugin/nvim-web-devicons.vim +370.725 000.079 000.079: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/plenary.nvim/plugin/plenary.vim +371.049 000.090 000.090: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/prettier.nvim/plugin/prettier.vim +371.530 000.027 000.027: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/startuptime.vim/plugin/startuptime.vim +371.806 000.042 000.042: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim/plugin/symbols-outline.vim +372.164 000.061 000.061: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope-frecency.nvim/plugin/frecency.vim +372.808 000.158 000.158: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +373.351 000.333 000.333: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-cool/plugin/cool.vim +374.059 000.371 000.371: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator/plugin/tmux_navigator.vim +374.346 000.029 000.029: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/which-key.nvim/plugin/which-key.vim +374.631 000.044 000.044: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/zen-mode.nvim/plugin/zen-mode.vim +375.714 011.772: loading packages +384.137 000.253 000.253: require('cmp_buffer.timer') +384.149 000.417 000.164: require('cmp_buffer.buffer') +384.155 000.599 000.182: require('cmp_buffer.source') +384.160 000.826 000.227: require('cmp_buffer') +384.216 001.062 000.236: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua +384.640 000.197 000.197: require('cmp_cmdline') +384.677 000.304 000.107: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua +384.994 000.153 000.153: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua +385.391 000.156 000.156: require('cmp_path') +385.428 000.276 000.120: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-path/after/plugin/cmp_path.lua +385.773 000.114 000.114: require('cmp_luasnip') +385.845 000.255 000.141: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp_luasnip/after/plugin/cmp_luasnip.lua +386.357 000.129 000.129: require('crates.src.common') +386.366 000.236 000.107: require('crates.src.cmp') +386.398 000.366 000.130: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/after/plugin/cmp_crates.lua +386.471 008.341: loading after plugins +386.501 000.030: inits 3 +386.513 000.012: reading ShaDa +387.732 000.107 000.107: require('luasnip.nodes.snippetProxy') +387.745 000.357 000.250: require('luasnip.loaders.from_snipmate') +387.940 000.133 000.133: require('luasnip.loaders.from_vscode') +388.055 001.053: opening buffers +388.227 000.171: BufEnter autocommands +388.236 000.009: editing files in windows +469.333 000.900 000.900: require('gitsigns.current_line_blame') + + +times in msec + clock self+sourced self: sourced script + clock elapsed: other lines + +001.157 001.157: --- NVIM STARTING --- +027.617 026.459: event init +044.041 016.424: early init +045.685 001.644: locale set +051.181 005.496: init first window +061.046 009.866: inits 1 +061.081 000.035: window checked +061.091 000.010: parsing arguments +072.810 000.283 000.283: require('vim.shared') +073.299 000.237 000.237: require('vim._meta') +073.312 000.481 000.244: require('vim._editor') +073.320 000.884 000.120: require('vim._init_packages') +073.328 011.352: init lua interpreter +073.475 000.147: expanding arguments +075.314 001.838: inits 2 +076.685 001.372: init highlight +076.694 000.009: waiting for UI +081.083 004.389: done waiting for UI +081.119 000.035: init screen for UI +081.356 000.237: init default mappings +081.381 000.025: init default autocommands +091.206 003.935 003.935: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/ftplugin.vim +093.122 000.858 000.858: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/indent.vim +093.348 000.027 000.027: sourcing /usr/share/nvim/archlinux.vim +093.360 000.084 000.057: sourcing /etc/xdg/nvim/sysinit.vim +123.727 030.179 030.179: require('impatient') +123.857 000.115 000.115: require('impatient.profile') +123.966 000.094 000.094: require('user.utils') +128.061 000.228 000.228: require('packer.util') +128.111 000.533 000.304: require('packer') +128.997 000.498 000.498: require('packer.log') +129.007 000.680 000.183: require('packer.async') +129.464 000.334 000.334: require('packer.result') +129.474 000.460 000.127: require('packer.jobs') +129.488 001.330 000.190: require('packer.plugin_utils') +129.681 000.169 000.169: require('packer.snapshot') +130.918 000.098 000.098: require('mason-core.path') +130.937 000.235 000.138: require('mason.settings') +131.213 000.143 000.143: require('mason-core.functional') +131.433 000.092 000.092: require('mason-core.functional.data') +131.442 000.204 000.112: require('mason-core.functional.function') +131.608 000.133 000.133: require('mason-core.functional.relation') +131.731 000.101 000.101: require('mason-core.functional.logic') +131.762 000.818 000.237: require('mason-core.platform') +131.767 001.438 000.384: require('mason') +132.265 000.207 000.207: require('mason-core.functional.list') +132.312 000.511 000.304: require('mason.api.command') +132.563 000.139 000.139: require('mason-core.log') +132.572 000.254 000.115: require('mason-lspconfig') +132.704 000.096 000.096: require('mason-lspconfig.settings') +133.091 000.085 000.085: require('mason-core.notify') +133.104 000.239 000.154: require('mason-lspconfig.lspconfig_hook') +134.191 000.262 000.262: require('vim.lsp.log') +135.445 000.015 000.015: require('vim.F') +135.453 001.252 001.237: require('vim.lsp.protocol') +136.271 000.382 000.382: require('vim.lsp._snippet') +136.541 000.258 000.258: require('vim.highlight') +136.578 001.118 000.478: require('vim.lsp.util') +136.624 002.940 000.308: require('vim.lsp.handlers') +136.977 000.344 000.344: require('vim.lsp.rpc') +137.216 000.224 000.224: require('vim.lsp.sync') +137.550 000.326 000.326: require('vim.lsp.buf') +137.788 000.229 000.229: require('vim.lsp.diagnostic') +138.021 000.224 000.224: require('vim.lsp.codelens') +138.177 004.936 000.648: require('vim.lsp') +138.264 005.155 000.219: require('lspconfig.util') +138.636 000.098 000.098: require('mason-core.functional.table') +138.737 000.361 000.263: require('mason-lspconfig.mappings.server') +139.065 000.119 000.119: require('mason-core.async') +139.158 000.082 000.082: require('mason-core.async.uv') +139.172 000.323 000.122: require('mason-core.fs') +139.281 000.103 000.103: require('mason-core.optional') +139.380 000.091 000.091: require('mason-core.EventEmitter') +139.581 000.195 000.195: require('mason-registry.index') +139.605 000.860 000.147: require('mason-registry') +139.706 000.094 000.094: require('mason-lspconfig.server_config_extensions') +139.825 000.112 000.112: require('lspconfig.configs') +139.987 000.112 000.112: require('lspconfig.server_configurations.omnisharp') +140.134 000.097 000.097: require('mason-lspconfig.ensure_installed') +140.482 000.102 000.102: require('mason-core.result') +140.980 000.281 000.281: require('mason-core.process') +141.156 000.551 000.270: require('mason-core.spawn') +141.281 000.113 000.113: require('mason-core.receipt') +141.404 000.097 000.097: require('mason-core.functional.string') +141.434 000.945 000.183: require('mason-core.installer.context') +141.542 000.101 000.101: require('mason-core.installer.linker') +141.648 000.099 000.099: require('mason-core.async.control') +141.656 001.391 000.144: require('mason-core.installer') +141.787 000.126 000.126: require('mason-core.installer.handle') +142.322 000.102 000.102: require('mason-core.managers.powershell') +142.329 000.206 000.104: require('mason-core.fetch') +142.333 000.299 000.093: require('mason-core.managers.cargo.client') +142.583 000.124 000.124: require('mason-core.managers.std') +142.841 000.141 000.141: require('mason-registry.api') +142.864 000.270 000.130: require('mason-core.managers.github.client') +142.876 000.535 000.142: require('mason-core.managers.github') +142.992 001.086 000.252: require('mason-core.managers.cargo') +143.220 000.220 000.220: require('mason-core.managers.composer') +143.372 000.144 000.144: require('mason-core.managers.gem') +143.482 000.104 000.104: require('mason-core.managers.git') +143.630 000.140 000.140: require('mason-core.managers.go') +143.801 000.164 000.164: require('mason-core.managers.luarocks') +143.939 000.131 000.131: require('mason-core.managers.npm') +144.100 000.155 000.155: require('mason-core.managers.pip3') +144.130 002.323 000.180: require('mason-core.package.version-check') +144.145 004.004 000.164: require('mason-core.package') +144.448 000.178 000.178: require('mason-registry.python-lsp-server') +144.835 000.117 000.117: require('mason-registry.pyright') +145.054 000.171 000.171: require('mason-registry.clangd') +145.325 000.128 000.128: require('mason-registry.lua-language-server') +145.545 000.092 000.092: require('mason-core.functional.number') +145.599 000.263 000.172: require('mason-lspconfig.api.command') +145.809 018.609 002.387: require('user.pack') +149.772 003.953 003.953: require('user.opts') +149.936 000.015 000.015: require('vim.keymap') +151.875 002.090 002.075: require('user.keys') +152.021 000.136 000.136: require('user.utils') +153.043 000.229 000.229: require('vim.treesitter.language') +153.065 000.651 000.422: require('vim.treesitter.query') +154.202 000.350 000.350: require('vim.treesitter.languagetree') +154.278 000.678 000.328: require('vim.treesitter') +154.580 001.276 000.598: require('nvim-treesitter.parsers') +154.785 000.196 000.196: require('nvim-treesitter.utils') +154.797 001.614 000.142: require('nvim-treesitter.ts_utils') +154.810 001.739 000.125: require('nvim-treesitter.tsrange') +154.912 000.095 000.095: require('nvim-treesitter.caching') +154.932 002.634 000.149: require('nvim-treesitter.query') +154.966 002.818 000.184: require('nvim-treesitter.configs') +155.370 000.106 000.106: require('nvim-treesitter.info') +155.514 000.135 000.135: require('nvim-treesitter.shell_command_selectors') +155.564 000.471 000.230: require('nvim-treesitter.install') +157.220 005.189 001.900: require('plugins.treesitter') +157.541 000.109 000.109: require('telescope._extensions') +157.550 000.212 000.103: require('telescope') +158.300 000.093 000.093: require('plenary.bit') +158.401 000.093 000.093: require('plenary.functional') +158.460 000.040 000.040: require('ffi') +158.482 000.423 000.196: require('plenary.path') +158.497 000.534 000.111: require('plenary.strings') +158.589 000.087 000.087: require('telescope.deprecated') +158.958 000.163 000.163: require('plenary.log') +158.995 000.279 000.116: require('telescope.log') +159.288 000.146 000.146: require('plenary.job') +159.385 000.088 000.088: require('telescope.state') +159.400 000.398 000.165: require('telescope.utils') +159.452 000.857 000.180: require('telescope.sorters') +159.634 000.160 000.160: require('vim.inspect') +163.467 005.666 004.028: require('telescope.config') +163.735 000.113 000.113: require('plenary.window.border') +163.834 000.091 000.091: require('plenary.window') +163.923 000.083 000.083: require('plenary.popup.utils') +163.931 000.451 000.164: require('plenary.popup') +164.033 000.097 000.097: require('telescope.pickers.scroller') +164.147 000.106 000.106: require('telescope.actions.state') +164.276 000.107 000.107: require('telescope.actions.utils') +164.498 000.101 000.101: require('telescope.actions.mt') +164.529 000.246 000.146: require('telescope.actions.set') +164.756 000.122 000.122: require('telescope.config.resolve') +164.766 000.231 000.109: require('telescope.pickers.entry_display') +164.862 000.090 000.090: require('telescope.from_entry') +165.243 007.688 000.693: require('telescope.actions') +168.086 000.104 000.104: require('plenary.tbl') +168.106 000.234 000.130: require('plenary.vararg.rotate') +168.110 000.338 000.105: require('plenary.vararg') +168.209 000.094 000.094: require('plenary.errors') +168.221 000.556 000.123: require('plenary.async.async') +168.348 000.122 000.122: require('plenary.async.structs') +168.363 000.865 000.188: require('plenary.async.control') +168.827 000.331 000.331: require('telescope.make_entry') +169.289 000.122 000.122: require('plenary.async.util') +169.296 000.223 000.101: require('plenary.async.tests') +169.303 000.342 000.119: require('plenary.async') +169.309 000.468 000.125: require('telescope.finders.async_static_finder') +169.644 000.095 000.095: require('plenary.class') +169.676 000.249 000.154: require('telescope._') +169.685 000.370 000.121: require('telescope.finders.async_oneshot_finder') +169.805 000.115 000.115: require('telescope.finders.async_job_finder') +169.818 001.447 000.164: require('telescope.finders') +170.234 000.148 000.148: require('telescope.debounce') +170.477 000.234 000.234: require('telescope.mappings') +170.617 000.130 000.130: require('telescope.pickers.highlights') +170.742 000.115 000.115: require('telescope.pickers.window') +171.040 000.140 000.140: require('telescope.algos.linked_list') +171.052 000.304 000.163: require('telescope.entry_manager') +171.165 000.108 000.108: require('telescope.pickers.multi') +171.208 001.384 000.346: require('telescope.pickers') +171.232 005.824 002.127: require('telescope.builtin.__lsp') +171.313 006.061 000.237: require('telescope.builtin') +171.735 000.280 000.280: require('fzf_lib') +171.749 000.428 000.148: require('telescope._extensions.fzf') +172.298 000.195 000.195: require('telescope._extensions.file_browser.utils') +172.454 000.568 000.373: require('telescope._extensions.file_browser.actions') +172.810 000.204 000.204: require('telescope._extensions.file_browser.make_entry') +173.177 000.355 000.355: require('plenary.scandir') +173.233 000.772 000.212: require('telescope._extensions.file_browser.finders') +173.380 000.139 000.139: require('telescope._extensions.file_browser.picker') +173.557 000.170 000.170: require('telescope._extensions.file_browser.config') +173.565 001.799 000.151: require('telescope._extensions.file_browser') +177.001 019.770 003.583: require('plugins.telescope') +178.506 000.098 000.098: require('notify.util.queue') +178.516 000.223 000.125: require('notify.util') +178.779 000.257 000.257: require('notify.config.highlights') +178.792 000.629 000.150: require('notify.config') +178.901 000.102 000.102: require('notify.stages') +179.429 000.521 000.521: require('notify.service.notification') +180.054 000.157 000.157: require('notify.animate.spring') +180.060 000.327 000.170: require('notify.animate') +180.082 000.645 000.317: require('notify.windows') +181.064 000.239 000.239: require('notify.service.buffer.highlights') +181.085 000.769 000.530: require('notify.service.buffer') +181.101 001.015 000.246: require('notify.service') +181.415 000.309 000.309: require('notify.stages.util') +181.488 003.473 000.252: require('notify') +181.703 000.208 000.208: require('nvim-tree.iterators.node-iterator') +181.827 003.971 000.290: require('nvim-tree.utils') +181.860 004.133 000.162: require('nvim-tree.events') +182.529 000.189 000.189: require('nvim-tree.log') +182.822 000.284 000.284: require('nvim-tree.git.utils') +183.084 000.255 000.255: require('nvim-tree.git.runner') +183.384 000.293 000.293: require('nvim-tree.watcher') +183.416 001.324 000.303: require('nvim-tree.git') +183.627 000.206 000.206: require('nvim-tree.explorer.watch') +183.822 000.188 000.188: require('nvim-tree.explorer.common') +184.299 000.278 000.278: require('nvim-tree.explorer.node-builders') +184.532 000.223 000.223: require('nvim-tree.explorer.sorters') +184.770 000.231 000.231: require('nvim-tree.explorer.filters') +185.673 000.571 000.571: require('nvim-tree.view') +185.715 000.920 000.349: require('nvim-tree.live-filter') +185.733 001.903 000.251: require('nvim-tree.explorer.explore') +185.977 000.238 000.238: require('nvim-tree.explorer.reload') +185.998 004.133 000.273: require('nvim-tree.explorer') +186.020 008.398 000.132: require('nvim-tree.core') +186.322 000.296 000.296: require('nvim-tree.diagnostics') +186.517 000.182 000.182: require('nvim-tree.renderer.components.padding') +186.624 000.098 000.098: require('nvim-tree.renderer.components.icons') +186.731 000.100 000.100: require('nvim-tree.renderer.components.full-name') +186.826 000.088 000.088: require('nvim-tree.renderer.help') +186.949 000.116 000.116: require('nvim-tree.renderer.components.git') +187.077 000.122 000.122: require('nvim-tree.renderer.builder') +187.181 000.096 000.096: require('nvim-tree.marks') +187.193 009.702 000.205: require('nvim-tree.renderer') +187.305 000.099 000.099: require('nvim-tree.actions.tree-modifiers.collapse-all') +187.395 000.083 000.083: require('nvim-tree.actions.root.dir-up') +187.524 000.123 000.123: require('nvim-tree.actions.root.change-dir') +187.627 000.095 000.095: require('nvim-tree.actions.reloaders.reloaders') +187.727 000.092 000.092: require('nvim-tree.actions.finders.find-file') +187.733 010.382 000.188: require('nvim-tree.lib') +187.844 000.105 000.105: require('nvim-tree.colors') +187.977 000.123 000.123: require('nvim-tree.legacy') +188.103 000.117 000.117: require('nvim-tree.actions.fs.copy-paste') +188.311 000.097 000.097: require('nvim-tree.actions.tree-modifiers.expand-all') +188.412 000.093 000.093: require('nvim-tree.actions.tree-modifiers.toggles') +188.528 000.100 000.100: require('nvim-tree.actions.fs.create-file') +188.627 000.090 000.090: require('nvim-tree.actions.fs.rename-file') +188.759 000.124 000.124: require('nvim-tree.actions.fs.trash') +188.868 000.102 000.102: require('nvim-tree.actions.fs.remove-file') +188.968 000.090 000.090: require('nvim-tree.actions.moves.parent') +189.062 000.087 000.087: require('nvim-tree.actions.moves.sibling') +189.156 000.086 000.086: require('nvim-tree.actions.moves.item') +189.268 000.094 000.094: require('nvim-tree.actions.finders.search-node') +189.360 000.085 000.085: require('nvim-tree.actions.node.run-command') +189.481 000.115 000.115: require('nvim-tree.actions.node.file-popup') +189.595 000.107 000.107: require('nvim-tree.actions.node.system-open') +189.699 000.093 000.093: require('nvim-tree.marks.bulk-move') +189.706 001.592 000.229: require('nvim-tree.actions.dispatch') +189.737 012.603 000.284: require('nvim-tree') +189.820 000.077 000.077: require('nvim-tree.config') +195.245 000.167 000.167: require('nvim-tree.actions') +195.381 000.118 000.118: require('nvim-tree.actions.node.open-file') +197.877 000.097 000.097: require('nvim-tree.marks.navigation') +197.889 000.284 000.187: require('nvim-tree.api') +197.910 000.428 000.144: require('nvim-tree.keymap') +198.962 000.411 000.411: require('nvim-web-devicons') +203.449 026.435 012.631: require('plugins.nvim-tree') +203.948 000.078 000.078: require('cmp.utils.debug') +204.204 000.164 000.164: require('cmp.utils.char') +204.222 000.265 000.101: require('cmp.utils.str') +204.360 000.086 000.086: require('cmp.utils.pattern') +204.639 000.089 000.089: require('cmp.utils.misc') +204.748 000.081 000.081: require('cmp.utils.buffer') +204.841 000.087 000.087: require('cmp.utils.api') +204.851 000.402 000.144: require('cmp.utils.keymap') +204.861 000.494 000.092: require('cmp.utils.feedkeys') +204.958 000.093 000.093: require('cmp.utils.async') +205.232 000.077 000.077: require('cmp.types.cmp') +205.419 000.180 000.180: require('cmp.types.lsp') +205.505 000.077 000.077: require('cmp.types.vim') +205.510 000.461 000.127: require('cmp.types') +205.590 000.075 000.075: require('cmp.utils.cache') +205.598 000.633 000.097: require('cmp.context') +205.876 000.091 000.091: require('cmp.config.mapping') +206.067 000.094 000.094: require('cmp.config.compare') +206.073 000.187 000.093: require('cmp.config.default') +206.096 000.395 000.117: require('cmp.config') +206.290 000.079 000.079: require('cmp.matcher') +206.301 000.199 000.121: require('cmp.entry') +206.316 000.713 000.118: require('cmp.source') +206.482 000.074 000.074: require('cmp.utils.event') +206.672 000.097 000.097: require('cmp.utils.window') +206.680 000.191 000.093: require('cmp.view.docs_view') +206.881 000.085 000.085: require('cmp.utils.autocmd') +206.901 000.217 000.132: require('cmp.view.custom_entries_view') +207.021 000.115 000.115: require('cmp.view.wildmenu_entries_view') +207.128 000.101 000.101: require('cmp.view.native_entries_view') +207.226 000.091 000.091: require('cmp.view.ghost_text_view') +207.241 000.921 000.133: require('cmp.view') +207.551 003.806 000.524: require('cmp.core') +207.833 000.088 000.088: require('cmp.config.sources') +207.918 000.075 000.075: require('cmp.config.window') +208.022 004.399 000.430: require('cmp') +208.430 000.115 000.115: require('symbols-outline.config') +208.437 000.202 000.088: require('symbols-outline.symbols') +208.533 000.092 000.092: require('symbols-outline.ui') +208.623 000.082 000.082: require('symbols-outline.utils.table') +208.708 000.079 000.079: require('symbols-outline.folding') +208.714 000.572 000.117: require('symbols-outline.parser') +208.801 000.082 000.082: require('symbols-outline.providers.init') +208.899 000.091 000.091: require('symbols-outline.writer') +208.991 000.084 000.084: require('symbols-outline.utils.init') +209.079 000.082 000.082: require('symbols-outline.view') +209.093 001.064 000.153: require('symbols-outline') +209.337 000.113 000.113: require('symbols-outline.preview') +209.455 000.103 000.103: require('lspkind') +211.394 007.929 002.250: require('plugins.cmp') +212.122 000.146 000.146: require('luasnip.session') +212.351 000.203 000.203: require('luasnip.util.util') +212.486 000.124 000.124: require('luasnip.util.types') +212.713 000.101 000.101: require('luasnip.util.ext_opts') +212.724 000.228 000.128: require('luasnip.nodes.util') +212.817 000.088 000.088: require('luasnip.util.events') +212.839 000.971 000.181: require('luasnip.nodes.node') +213.190 000.121 000.121: require('luasnip.util.extend_decorator') +213.204 000.358 000.237: require('luasnip.nodes.insertNode') +213.331 000.118 000.118: require('luasnip.nodes.textNode') +213.458 000.115 000.115: require('luasnip.util.mark') +214.414 000.848 000.848: require('luasnip.util._builtin_vars') +214.682 001.218 000.370: require('luasnip.util.environ') +214.880 000.182 000.182: require('luasnip.util.pattern_tokenizer') +214.984 000.096 000.096: require('luasnip.util.dict') +215.117 000.126 000.126: require('luasnip.session.snippet_collection') +215.296 003.580 000.396: require('luasnip.nodes.snippet') +215.525 000.094 000.094: require('luasnip.loaders._caches') +215.675 000.141 000.141: require('luasnip.util.path') +215.777 000.465 000.230: require('luasnip.loaders') +215.980 000.159 000.159: require('luasnip.nodes.functionNode') +216.157 000.167 000.167: require('luasnip.nodes.choiceNode') +216.350 000.185 000.185: require('luasnip.nodes.dynamicNode') +216.547 000.188 000.188: require('luasnip.nodes.restoreNode') +216.955 000.109 000.109: require('luasnip.util.parser.neovim_ast') +223.608 000.136 000.136: require('luasnip.util.directed_graph') +223.630 006.904 006.659: require('luasnip.util.parser.ast_utils') +223.885 000.112 000.112: require('luasnip.util.functions') +223.899 000.262 000.150: require('luasnip.util.parser.ast_parser') +224.142 000.238 000.238: require('luasnip.util.parser.neovim_parser') +224.251 000.096 000.096: require('luasnip.util.str') +224.269 007.657 000.157: require('luasnip.util.parser') +224.508 000.100 000.100: require('luasnip.extras.filetype_functions') +224.660 000.116 000.116: require('luasnip.extras') +224.780 000.108 000.108: require('luasnip.extras.fmt') +225.050 000.091 000.091: require('luasnip.extras.conditions') +225.144 000.086 000.086: require('luasnip.extras.conditions.show') +225.240 000.364 000.186: require('luasnip.extras.conditions.expand') +225.245 000.457 000.093: require('luasnip.extras.expand_conditions') +225.353 000.096 000.096: require('luasnip.nodes.absolute_indexer') +225.832 001.557 000.679: require('luasnip.config') +225.843 014.302 000.344: require('luasnip') +226.072 000.109 000.109: require('luasnip.loaders.util') +226.082 000.232 000.123: require('luasnip.loaders.from_lua') +235.982 024.573 010.038: require('plugins.luasnip') +236.388 000.142 000.142: require('colorizer/nvim') +236.678 000.283 000.283: require('colorizer/trie') +236.999 000.905 000.480: require('colorizer') +238.973 002.975 002.070: require('plugins.colorizer') +239.358 000.090 000.090: require('prettier.utils') +239.393 000.230 000.139: require('prettier.options') +240.074 000.251 000.251: require('null-ls.methods') +240.102 000.393 000.142: require('null-ls.utils') +240.615 000.504 000.504: require('vim.diagnostic') +240.642 001.030 000.133: require('null-ls.config') +240.849 000.108 000.108: require('null-ls.helpers.cache') +240.969 000.112 000.112: require('null-ls.helpers.diagnostics') +241.066 000.090 000.090: require('null-ls.helpers.formatter_factory') +241.288 000.092 000.092: require('null-ls.logger') +241.397 000.103 000.103: require('null-ls.state') +241.406 000.332 000.137: require('null-ls.helpers.generator_factory') +241.605 000.095 000.095: require('null-ls.helpers.command_resolver') +241.611 000.200 000.105: require('null-ls.helpers.make_builtin') +241.723 000.106 000.106: require('null-ls.helpers.range_formatting_args_factory') +241.728 001.079 000.131: require('null-ls.helpers') +241.953 000.107 000.107: require('null-ls.diagnostics') +241.970 000.238 000.131: require('null-ls.sources') +242.073 000.096 000.096: require('null-ls.builtins') +242.080 002.565 000.123: require('null-ls') +242.168 000.083 000.083: require('prettier.cli') +242.177 002.777 000.129: require('prettier.null-ls') +242.182 003.109 000.102: require('prettier') +242.564 000.127 000.127: require('null-ls.client') +242.576 003.590 000.354: require('plugins.prettier') +242.731 000.084 000.084: require('git') +242.827 000.089 000.089: require('git.config') +243.008 000.426 000.253: require('plugins.git') +243.301 000.090 000.090: require('gitsigns.async') +243.394 000.084 000.084: require('gitsigns.status') +243.643 000.102 000.102: require('gitsigns.debug') +243.765 000.115 000.115: require('gitsigns.util') +243.975 000.108 000.108: require('gitsigns.uv') +243.982 000.209 000.102: require('gitsigns.subprocess') +244.441 000.082 000.082: require('gitsigns.message') +244.474 000.267 000.185: require('gitsigns.config') +244.564 000.082 000.082: require('gitsigns.signs.base') +244.570 000.483 000.134: require('gitsigns.signs') +244.583 000.596 000.113: require('gitsigns.hunks') +244.600 001.200 000.177: require('gitsigns.git') +244.823 000.101 000.101: require('gitsigns.cache') +244.919 000.087 000.087: require('gitsigns.debounce') +245.009 000.081 000.081: require('gitsigns.diff') +245.031 000.426 000.156: require('gitsigns.manager') +245.149 000.111 000.111: require('gitsigns.highlight') +245.169 002.089 000.178: require('gitsigns') +246.882 000.116 000.116: require('gitsigns.signs.vimfn') +250.464 007.448 005.243: require('plugins.gitsigns') +250.953 000.119 000.119: require('neoscroll.config') +251.065 000.103 000.103: require('neoscroll.utils') +251.221 000.584 000.362: require('neoscroll') +252.027 001.541 000.957: require('plugins.neoscroll') +252.595 000.137 000.137: require('cmp_nvim_lsp.source') +252.604 000.255 000.118: require('cmp_nvim_lsp') +252.709 000.094 000.094: require('lspconfig') +252.858 000.103 000.103: require('lspconfig.server_configurations.pylsp') +253.529 000.127 000.127: require('mason-lspconfig.server_configurations.pylsp') +254.265 000.129 000.129: require('lspconfig.server_configurations.clangd') +256.456 000.130 000.130: require('lspconfig.server_configurations.vimls') +258.319 000.148 000.148: require('lspconfig.server_configurations.bashls') +260.058 000.129 000.129: require('lspconfig.server_configurations.sumneko_lua') +261.933 009.894 008.779: require('plugins.lsp') +262.304 000.091 000.091: require('nvim-autopairs._log') +262.439 000.127 000.127: require('nvim-autopairs.utils') +262.775 000.117 000.117: require('nvim-autopairs.conds') +262.786 000.233 000.116: require('nvim-autopairs.rule') +262.791 000.344 000.111: require('nvim-autopairs.rules.basic') +262.809 000.761 000.199: require('nvim-autopairs') +263.156 000.126 000.126: require('nvim-autopairs.fastwrap') +263.858 000.119 000.119: require('nvim-autopairs.ts-conds') +263.866 000.235 000.116: require('nvim-autopairs.rules.ts_basic') +264.161 000.290 000.290: require('vim.treesitter.highlighter') +265.272 000.100 000.100: require('nvim-autopairs.completion.handlers') +265.289 000.232 000.131: require('nvim-autopairs.completion.cmp') +265.309 003.365 001.721: require('plugins.autopairs') +265.537 000.146 000.146: require('null-ls.builtins.formatting.stylua') +265.707 000.155 000.155: require('null-ls.builtins.diagnostics.eslint') +265.835 000.117 000.117: require('null-ls.builtins.completion.spell') +266.313 000.997 000.578: require('plugins.null-ls') +266.399 000.075 000.075: require('plugins.web-devicons') +266.868 000.085 000.085: require('zen-mode.util') +266.979 000.293 000.208: require('zen-mode.config') +267.110 000.121 000.121: require('zen-mode.plugins') +267.124 000.570 000.156: require('zen-mode.view') +267.131 000.659 000.089: require('zen-mode') +267.249 000.842 000.183: require('plugins.zen-mode') +271.434 000.099 000.099: require('doom-one.utils') +271.555 000.111 000.111: require('doom-one.colors') +271.575 000.545 000.334: require('doom-one') +274.449 004.419 003.875: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/doom-one.nvim/colors/doom-one.lua +278.823 000.288 000.288: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/syntax/synload.vim +279.221 000.056 000.056: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/filetype.nvim/filetype.vim +280.406 000.091 000.091: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/filetype.lua +281.957 001.346 001.346: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/filetype.vim +282.894 000.169 000.169: require('filetype') +282.961 006.162 004.212: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/syntax/syntax.vim +283.372 000.128 000.128: require('notify.stages.fade_in_slide_out') +283.438 016.180 005.471: require('plugins.colorscheme') +283.869 000.102 000.102: require('heirline.conditions') +284.047 000.169 000.169: require('heirline.utils') +284.417 000.100 000.100: require('heirline.highlights') +284.430 000.220 000.120: require('heirline.statusline') +284.439 000.357 000.137: require('heirline') +284.599 000.143 000.143: require('nvim-navic') +288.951 005.434 004.663: require('plugins.heirline') +289.097 195.691 003.851: sourcing /home/sxrdusr/.config/nvim/init.lua +289.120 007.170: sourcing vimrc file(s) +295.560 001.311 001.311: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/gzip.vim +295.772 000.089 000.089: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/health.vim +298.710 001.644 001.644: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim +299.083 003.204 001.561: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/matchit.vim +299.537 000.391 000.391: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/matchparen.vim +299.681 000.077 000.077: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/netrwPlugin.vim +300.105 000.022 000.022: sourcing /home/sxrdusr/.local/share/nvim/rplugin.vim +300.127 000.383 000.361: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/rplugin.vim +300.381 000.194 000.194: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/shada.vim +300.512 000.051 000.051: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/spellfile.vim +300.644 000.061 000.061: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/tarPlugin.vim +300.778 000.062 000.062: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/tohtml.vim +300.906 000.046 000.046: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/tutor.vim +301.800 000.828 000.828: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/zipPlugin.vim +302.112 000.041 000.041: sourcing /usr/share/vim/vimfiles/plugin/fzf.vim +303.575 000.183 000.183: require('null-ls.builtins.diagnostics.checkmake') +303.901 000.146 000.146: require('fidget.log') +303.919 000.330 000.184: require('fidget') +304.098 000.160 000.160: require('fidget.spinners') +304.309 000.122 000.122: require('flit') +305.004 000.096 000.096: require('leap') +305.105 000.092 000.092: require('leap.user') +306.234 000.085 000.085: require('crates.time') +306.244 000.190 000.106: require('crates.types') +306.250 000.296 000.106: require('crates.semver') +306.815 000.480 000.480: require('crates.config') +306.971 000.146 000.146: require('crates.toml') +306.980 000.725 000.099: require('crates.state') +307.014 001.187 000.166: require('crates.util') +307.028 001.315 000.128: require('crates.actions') +307.265 000.135 000.135: require('crates.api') +307.357 000.084 000.084: require('crates.async') +307.503 000.140 000.140: require('crates.diagnostic') +307.619 000.106 000.106: require('crates.ui') +307.627 000.592 000.127: require('crates.core') +307.851 000.113 000.113: require('crates.popup.common') +307.972 000.114 000.114: require('crates.popup.crate') +308.133 000.154 000.154: require('crates.popup.dependencies') +308.278 000.138 000.138: require('crates.popup.features') +308.405 000.121 000.121: require('crates.popup.versions') +308.419 000.788 000.147: require('crates.popup') +308.430 002.834 000.138: require('crates') +311.422 000.324 000.324: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +313.408 011.151 007.010: sourcing /home/sxrdusr/.config/nvim/plugin/packer_compiled.lua +314.206 000.121 000.121: sourcing /tmp/.mount_nvimwnLBby/usr/share/nvim/runtime/plugin/man.lua +314.451 007.321: loading rtp plugins +316.541 000.095 000.095: require('Comment.config') +316.810 000.148 000.148: require('Comment.ft') +316.822 000.272 000.124: require('Comment.utils') +316.923 000.095 000.095: require('Comment.opfunc') +317.065 000.135 000.135: require('Comment.extra') +317.074 000.755 000.158: require('Comment.api') +317.241 001.007 000.252: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/Comment.nvim/plugin/Comment.lua +317.602 000.188 000.188: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim +318.340 000.486 000.486: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/LuaSnip/plugin/luasnip.vim +319.111 000.144 000.144: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/plugin/crates.vim +319.713 000.038 000.038: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/fzf/plugin/fzf.vim +321.430 001.142 001.142: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/leap.nvim/plugin/init.lua +321.995 000.072 000.072: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nightfox.nvim/plugin/nightfox.vim +322.653 000.365 000.365: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/numbers.vim/plugin/numbers.vim +323.242 000.110 000.110: require('cmp.utils.highlight') +324.018 000.991 000.881: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-cmp/plugin/cmp.lua +324.243 000.031 000.031: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-code-action-menu/plugin/code_action_menu.vim +324.565 000.078 000.078: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua/plugin/colorizer.vim +325.055 000.170 000.170: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-dap/plugin/dap.lua +325.677 000.218 000.218: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-lspconfig/plugin/lspconfig.lua +326.427 000.103 000.103: require('nvim-treesitter.statusline') +326.556 000.120 000.120: require('nvim-treesitter.query_predicates') +326.563 000.360 000.137: require('nvim-treesitter') +327.471 001.383 001.023: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter/plugin/nvim-treesitter.lua +328.012 000.321 000.321: require('treesitter-context') +328.023 000.364 000.043: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-context/plugin/treesitter-context.vim +328.536 000.225 000.225: require('nvim-treesitter-refactor') +328.798 000.517 000.292: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim +329.157 000.101 000.101: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/nvim-web-devicons/plugin/nvim-web-devicons.vim +329.588 000.081 000.081: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/plenary.nvim/plugin/plenary.vim +329.917 000.094 000.094: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/prettier.nvim/plugin/prettier.vim +330.405 000.027 000.027: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/startuptime.vim/plugin/startuptime.vim +330.694 000.044 000.044: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim/plugin/symbols-outline.vim +331.100 000.065 000.065: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope-frecency.nvim/plugin/frecency.vim +331.707 000.129 000.129: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/telescope.nvim/plugin/telescope.lua +332.250 000.333 000.333: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-cool/plugin/cool.vim +332.949 000.385 000.385: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator/plugin/tmux_navigator.vim +333.234 000.028 000.028: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/which-key.nvim/plugin/which-key.vim +333.515 000.046 000.046: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/zen-mode.nvim/plugin/zen-mode.vim +334.666 011.687: loading packages +343.078 000.198 000.198: require('cmp_buffer.timer') +343.090 000.368 000.170: require('cmp_buffer.buffer') +343.099 000.558 000.190: require('cmp_buffer.source') +343.104 000.670 000.112: require('cmp_buffer') +343.156 000.814 000.144: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-buffer/after/plugin/cmp_buffer.lua +343.583 000.179 000.179: require('cmp_cmdline') +343.619 000.302 000.124: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua +343.904 000.117 000.117: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua +344.295 000.155 000.155: require('cmp_path') +344.330 000.271 000.117: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp-path/after/plugin/cmp_path.lua +344.687 000.127 000.127: require('cmp_luasnip') +344.811 000.320 000.193: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/cmp_luasnip/after/plugin/cmp_luasnip.lua +345.364 000.146 000.146: require('crates.src.common') +345.373 000.271 000.125: require('crates.src.cmp') +345.404 000.397 000.126: sourcing /home/sxrdusr/.local/share/nvim/site/pack/packer/start/crates.nvim/after/plugin/cmp_crates.lua +345.477 008.590: loading after plugins +345.509 000.032: inits 3 +345.513 000.004: reading ShaDa +346.612 000.132 000.132: require('luasnip.nodes.snippetProxy') +346.624 000.366 000.235: require('luasnip.loaders.from_snipmate') +346.836 000.164 000.164: require('luasnip.loaders.from_vscode') +346.922 000.879: opening buffers +347.229 000.307: BufEnter autocommands +347.238 000.009: editing files in windows +367.135 000.246 000.246: require('gitsigns.current_line_blame') |
