feat: added ui.lua to cleanup init.lua
chore: optimized keybind setup in init.lua
This commit is contained in:
+9
-385
@@ -1,5 +1,3 @@
|
||||
local config = require("Polydev.configs")
|
||||
|
||||
local M = {}
|
||||
|
||||
local loaded_languages = {}
|
||||
@@ -14,389 +12,9 @@ local function load_language_module(lang, opts)
|
||||
return true
|
||||
end
|
||||
|
||||
local function get_entries(path)
|
||||
local result = {}
|
||||
local handle = vim.loop.fs_scandir(path)
|
||||
if not handle then return result end
|
||||
while true do
|
||||
local name, type = vim.loop.fs_scandir_next(handle)
|
||||
if not name then break end
|
||||
-- Check if this is a project file
|
||||
local is_project = false
|
||||
if type == "file" then
|
||||
local ext = name:match("%.([^%.]+)$")
|
||||
if ext == "project" then
|
||||
is_project = true
|
||||
type = "project"
|
||||
end
|
||||
end
|
||||
table.insert(result, {
|
||||
name = name .. (type == "directory" and "/" or ""),
|
||||
type = type,
|
||||
full_path = path .. "/" .. name,
|
||||
is_project = is_project
|
||||
})
|
||||
end
|
||||
table.sort(result, function(a, b)
|
||||
-- Sort projects first, then directories, then files
|
||||
if a.is_project ~= b.is_project then
|
||||
return a.is_project
|
||||
end
|
||||
if a.type == "directory" and b.type ~= "directory" then
|
||||
return true
|
||||
end
|
||||
if b.type == "directory" and a.type ~= "directory" then
|
||||
return false
|
||||
end
|
||||
return a.name < b.name
|
||||
end)
|
||||
return result
|
||||
end
|
||||
|
||||
local function fuzzy_filter(list, query)
|
||||
local result = {}
|
||||
query = query:lower()
|
||||
for _, entry in ipairs(list) do
|
||||
if entry.name:lower():find(query) then
|
||||
table.insert(result, entry)
|
||||
end
|
||||
end
|
||||
return result
|
||||
end
|
||||
|
||||
local function open_project_manager()
|
||||
local templates = require("Polydev.templates")
|
||||
local Popup = require("nui.popup")
|
||||
local Layout = require("nui.layout")
|
||||
local event = require("nui.utils.autocmd").event
|
||||
local Path = require("plenary.path")
|
||||
local display_dir = vim.fn.expand(vim.fn.getcwd())
|
||||
local cwd = display_dir
|
||||
local entries = get_entries(cwd)
|
||||
local current_view = vim.deepcopy(entries)
|
||||
|
||||
local popup, search, preview, keybinds = Popup({
|
||||
enter = true,
|
||||
focusable = true,
|
||||
border = {
|
||||
style = "rounded", -- "double", "none", "rounded", "shadow", "single" or "solid".
|
||||
text = { top = " Project Manager ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
position = "50%",
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
}), Popup({
|
||||
enter = false,
|
||||
focusable = true,
|
||||
border = {
|
||||
style = "rounded", -- "double", "none", "rounded", "shadow", "single" or "solid".
|
||||
text = { top = " Search ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
}), Popup({
|
||||
enter = false,
|
||||
focusable = false,
|
||||
border = {
|
||||
style = "rounded",
|
||||
text = { top = " Preview ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
position = "50%",
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
}), Popup({
|
||||
enter = false,
|
||||
focusable = false,
|
||||
border = {
|
||||
style = "rounded",
|
||||
text = { top = " Keybinds ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
position = "50%",
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
})
|
||||
|
||||
local layout = Layout({
|
||||
position = "50%",
|
||||
size = { width = "70%", height = "70%" },
|
||||
},
|
||||
Layout.Box({
|
||||
Layout.Box(search, { size = "10%" }),
|
||||
Layout.Box({
|
||||
Layout.Box({
|
||||
Layout.Box(popup, { size = "55%" }),
|
||||
Layout.Box(keybinds, {size = "45%" }),
|
||||
}, { dir = "col", size = "50%" }),
|
||||
Layout.Box(preview, { size = "50%" }),
|
||||
}, { dir = "row", size = "90%" }),
|
||||
}, { dir = "col" })
|
||||
)
|
||||
layout:mount()
|
||||
|
||||
local function get_selected_entry()
|
||||
local row = vim.api.nvim_win_get_cursor(popup.winid)[1] - 1
|
||||
return current_view[row], row
|
||||
end
|
||||
|
||||
local function update_preview()
|
||||
if not preview.bufnr then return end
|
||||
vim.api.nvim_buf_set_lines(preview.bufnr, 0, -1, false, {}) -- Clear
|
||||
|
||||
local entry = get_selected_entry()
|
||||
if not entry then return end
|
||||
|
||||
if entry.type == "file" or entry.type == "project" then
|
||||
-- Preview file contents (first 100 lines)
|
||||
local lines = {}
|
||||
local fd = io.open(entry.full_path, "r")
|
||||
if fd then
|
||||
for i = 1, 100 do
|
||||
local line = fd:read("*line")
|
||||
if not line then break end
|
||||
table.insert(lines, line)
|
||||
end
|
||||
fd:close()
|
||||
else
|
||||
table.insert(lines, "[Failed to read file]")
|
||||
end
|
||||
vim.api.nvim_buf_set_lines(preview.bufnr, 0, -1, false, lines)
|
||||
elseif entry.type == "directory" then
|
||||
-- List contents of directory
|
||||
local contents = get_entries(entry.full_path)
|
||||
local lines = {}
|
||||
for _, item in ipairs(contents) do
|
||||
table.insert(lines, string.format("- %s", item.name))
|
||||
end
|
||||
if #lines == 0 then
|
||||
table.insert(lines, "[Empty folder]")
|
||||
end
|
||||
vim.api.nvim_buf_set_lines(preview.bufnr, 0, -1, false, lines)
|
||||
end
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("CursorMoved", {
|
||||
buffer = popup.bufnr,
|
||||
callback = function()
|
||||
vim.schedule(update_preview)
|
||||
end,
|
||||
})
|
||||
|
||||
local function refresh()
|
||||
entries = get_entries(cwd)
|
||||
local root = vim.fn.expand("~/Projects")
|
||||
|
||||
-- If we're not in the Projects folder, redirect to Projects
|
||||
if not cwd:find(root, 1, true) then
|
||||
cwd = root
|
||||
entries = get_entries(cwd)
|
||||
end
|
||||
|
||||
-- Only add ".." if we're inside Projects and not at the root
|
||||
if cwd ~= root then
|
||||
table.insert(entries, 1, {
|
||||
name = "../",
|
||||
type = "directory",
|
||||
full_path = Path:new(cwd):parent():absolute(),
|
||||
is_up = true
|
||||
})
|
||||
end
|
||||
current_view = vim.deepcopy(entries)
|
||||
end
|
||||
|
||||
local function render()
|
||||
if not popup.bufnr then return end
|
||||
vim.api.nvim_buf_set_lines(popup.bufnr, 0, -1, false, {})
|
||||
for i, item in ipairs(current_view) do
|
||||
local line = string.format("%-2d | %-27s | %-6s", i, item.name, item.type)
|
||||
vim.api.nvim_buf_set_lines(popup.bufnr, -1, -1, false, { line })
|
||||
end
|
||||
|
||||
-- Add key mappings legend
|
||||
local hints = {
|
||||
" <CR> : Open/Enter",
|
||||
" <BS> : Return",
|
||||
" / : Search",
|
||||
" a : New folder",
|
||||
" % : New file",
|
||||
" d : New project",
|
||||
" R : Rename",
|
||||
" D : Delete",
|
||||
" q : Quit",
|
||||
}
|
||||
|
||||
if not keybinds.bufnr then return end
|
||||
vim.api.nvim_buf_set_lines(keybinds.bufnr, 0, -1, false, {})
|
||||
|
||||
vim.api.nvim_buf_set_lines(keybinds.bufnr, -1, -1, false, hints)
|
||||
update_preview()
|
||||
end
|
||||
|
||||
local function prompt_filter()
|
||||
vim.api.nvim_buf_set_lines(search.bufnr, 0, -1, false, { "" })
|
||||
vim.api.nvim_buf_set_option(search.bufnr, "modifiable", true)
|
||||
if vim.api.nvim_win_is_valid(search.winid) then
|
||||
vim.api.nvim_set_current_win(search.winid)
|
||||
end
|
||||
vim.cmd("startinsert")
|
||||
|
||||
vim.keymap.set("i", "<CR>", function()
|
||||
local input = vim.api.nvim_buf_get_lines(search.bufnr, 0, 1, false)[1]
|
||||
if input ~= "" then
|
||||
current_view = fuzzy_filter(entries, input)
|
||||
render()
|
||||
end
|
||||
vim.api.nvim_buf_set_lines(search.bufnr, 0, -1, false, { "" })
|
||||
vim.api.nvim_set_current_win(popup.winid)
|
||||
vim.cmd("stopinsert") -- exit insert mode
|
||||
end, { buffer = search.bufnr, noremap = true })
|
||||
|
||||
vim.keymap.set("i", "<Esc>", function()
|
||||
vim.api.nvim_set_current_win(popup.winid)
|
||||
vim.cmd("stopinsert") -- ensure we are in normal mode
|
||||
end, { buffer = search.bufnr, noremap = true })
|
||||
end
|
||||
|
||||
popup:map("n", "/", function() vim.schedule(prompt_filter) end)
|
||||
|
||||
-- Mappings
|
||||
popup:map("n", "q", function() popup:unmount() end)
|
||||
|
||||
-- Creates a new folder
|
||||
popup:map("n", "a", function()
|
||||
vim.ui.input({ prompt = "New folder name:" }, function(input)
|
||||
if input then
|
||||
vim.fn.mkdir(cwd .. "/" .. input, "p")
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Deletes Folder and confirms deletion
|
||||
popup:map("n", "D", function()
|
||||
local entry = get_selected_entry()
|
||||
if not entry.is_up then
|
||||
vim.ui.input({ prompt = "(y/N) Defaults to N: " .. entry.name }, function(input)
|
||||
if input == "y" or input == "Y" then
|
||||
vim.fn.delete(entry.full_path, "rf")
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Creates a new file in project
|
||||
popup:map("n", "%", function()
|
||||
vim.ui.input({ prompt = "Enter language for new file: " }, function(lang)
|
||||
if not lang or lang == "" then return print("File creation canceled.") end
|
||||
|
||||
if load_language_module(lang) and templates.files[lang] and templates.files[lang].run then
|
||||
vim.ui.input({ prompt = "Enter file name: " }, function(file_name)
|
||||
if not file_name or file_name == "" then return print("File creation canceled.") end
|
||||
popup:unmount()
|
||||
vim.schedule(function()
|
||||
templates.files[lang].run(file_name)
|
||||
end)
|
||||
end)
|
||||
else
|
||||
print("Error: No File creation method for " .. lang)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Creates a new project
|
||||
popup:map("n", "d", function()
|
||||
local opts = {}
|
||||
vim.ui.input({ prompt = "Enter language for project: " }, function(lang)
|
||||
if not lang or lang == "" then return print("Project creation canceled.") end
|
||||
opts = vim.tbl_deep_extend("force", {}, config.get(lang), opts or {})
|
||||
if load_language_module(lang) and templates.projects[lang] and templates.projects[lang].run then
|
||||
popup:unmount()
|
||||
vim.schedule(function()
|
||||
templates.create_project(lang, opts.project_root)
|
||||
end)
|
||||
else
|
||||
print("Error: No project creation method for " .. lang)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Renames Files and Folders
|
||||
popup:map("n", "R", function()
|
||||
local entry = get_selected_entry()
|
||||
if not entry.is_up then
|
||||
vim.ui.input({ prompt = "Rename:", default = entry.name }, function(input)
|
||||
if input then
|
||||
local new_path = cwd .. "/" .. input
|
||||
vim.fn.rename(entry.full_path, new_path)
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Changes working directory or edits a file
|
||||
popup:map("n", "<CR>", function()
|
||||
local entry = get_selected_entry()
|
||||
if entry.type == "directory" then
|
||||
cwd = entry.full_path
|
||||
vim.cmd("cd " .. cwd)
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
if entry.type == "file" then
|
||||
popup:unmount()
|
||||
vim.schedule(function()
|
||||
vim.cmd("edit " .. vim.fn.fnameescape(entry.full_path))
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
popup:map("n", "<BS>", function()
|
||||
local parent = Path:new(cwd):parent():absolute()
|
||||
if parent ~= cwd then
|
||||
cwd = parent
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
|
||||
popup:on(event.BufLeave, function()
|
||||
vim.defer_fn(function()
|
||||
local function is_valid_win(winid)
|
||||
return type(winid) == "number" and vim.api.nvim_win_is_valid(winid)
|
||||
end
|
||||
|
||||
if not is_valid_win(popup.winid) and not is_valid_win(search.winid) then
|
||||
popup:unmount()
|
||||
end
|
||||
end, 50)
|
||||
end)
|
||||
|
||||
popup:mount()
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
|
||||
local function setupKeybinds(opts)
|
||||
M.opts = {}
|
||||
local keybinds = {}
|
||||
|
||||
M.opts = vim.tbl_deep_extend("force", {}, config.get("globals"), opts or {})
|
||||
for key, command in pairs(M.opts.keybinds) do
|
||||
keybinds[command] = key
|
||||
end
|
||||
|
||||
vim.api.nvim_create_user_command("PolydevProjectManagerOpen", open_project_manager, {})
|
||||
if keybinds.PolydevManager then
|
||||
vim.keymap.set("n", keybinds.PolydevManager, ":PolydevProjectManagerOpen<CR>", { silent = true })
|
||||
end
|
||||
end
|
||||
|
||||
function M.setup(opts)
|
||||
opts = opts or {}
|
||||
local opts = opts or {}
|
||||
local config = require("Polydev.configs")
|
||||
config.setup(opts)
|
||||
require("Polydev.utils").setup(opts)
|
||||
for lang, user_opts in pairs(opts) do
|
||||
@@ -404,7 +22,13 @@ function M.setup(opts)
|
||||
config.user_config[lang] = vim.tbl_deep_extend("force", default, user_opts)
|
||||
end
|
||||
|
||||
setupKeybinds(opts)
|
||||
vim.api.nvim_create_user_command("PolydevOpen", require("Polydev.ui").open_project_manager, {})
|
||||
|
||||
local keys = vim.tbl_deep_extend("force", {}, config.get("globals").keybinds, opts or {})
|
||||
for key, command in pairs(keys) do
|
||||
vim.keymap.set("n", key, ":PolydevOpen<CR>", { silent = true })
|
||||
break
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "*",
|
||||
|
||||
@@ -0,0 +1,369 @@
|
||||
local M = {}
|
||||
|
||||
local function get_entries(path)
|
||||
local result = {}
|
||||
local handle = vim.loop.fs_scandir(path)
|
||||
if not handle then return result end
|
||||
while true do
|
||||
local name, type = vim.loop.fs_scandir_next(handle)
|
||||
if not name then break end
|
||||
-- Check if this is a project file
|
||||
local is_project = false
|
||||
if type == "file" then
|
||||
local ext = name:match("%.([^%.]+)$")
|
||||
if ext == "project" then
|
||||
is_project = true
|
||||
type = "project"
|
||||
end
|
||||
end
|
||||
table.insert(result, {
|
||||
name = name .. (type == "directory" and "/" or ""),
|
||||
type = type,
|
||||
full_path = path .. "/" .. name,
|
||||
is_project = is_project
|
||||
})
|
||||
end
|
||||
table.sort(result, function(a, b)
|
||||
-- Sort projects first, then directories, then files
|
||||
if a.is_project ~= b.is_project then
|
||||
return a.is_project
|
||||
end
|
||||
if a.type == "directory" and b.type ~= "directory" then
|
||||
return true
|
||||
end
|
||||
if b.type == "directory" and a.type ~= "directory" then
|
||||
return false
|
||||
end
|
||||
return a.name < b.name
|
||||
end)
|
||||
return result
|
||||
end
|
||||
|
||||
local function fuzzy_filter(list, query)
|
||||
local result = {}
|
||||
query = query:lower()
|
||||
for _, entry in ipairs(list) do
|
||||
if entry.name:lower():find(query) then
|
||||
table.insert(result, entry)
|
||||
end
|
||||
end
|
||||
return result
|
||||
end
|
||||
|
||||
function M.open_project_manager()
|
||||
local templates = require("Polydev.templates")
|
||||
local Popup = require("nui.popup")
|
||||
local Layout = require("nui.layout")
|
||||
local event = require("nui.utils.autocmd").event
|
||||
local Path = require("plenary.path")
|
||||
local display_dir = vim.fn.expand(vim.fn.getcwd())
|
||||
local cwd = display_dir
|
||||
local entries = get_entries(cwd)
|
||||
local current_view = vim.deepcopy(entries)
|
||||
|
||||
local popup, search, preview, keybinds = Popup({
|
||||
enter = true,
|
||||
focusable = true,
|
||||
border = {
|
||||
style = "rounded", -- "double", "none", "rounded", "shadow", "single" or "solid".
|
||||
text = { top = " Project Manager ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
position = "50%",
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
}), Popup({
|
||||
enter = false,
|
||||
focusable = true,
|
||||
border = {
|
||||
style = "rounded", -- "double", "none", "rounded", "shadow", "single" or "solid".
|
||||
text = { top = " Search ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
}), Popup({
|
||||
enter = false,
|
||||
focusable = false,
|
||||
border = {
|
||||
style = "rounded",
|
||||
text = { top = " Preview ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
position = "50%",
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
}), Popup({
|
||||
enter = false,
|
||||
focusable = false,
|
||||
border = {
|
||||
style = "rounded",
|
||||
text = { top = " Keybinds ", top_align = "center" },
|
||||
highlight = "Normal",
|
||||
},
|
||||
position = "50%",
|
||||
buf_options = { modifiable = true, readonly = false },
|
||||
})
|
||||
|
||||
local layout = Layout({
|
||||
position = "50%",
|
||||
size = { width = "70%", height = "70%" },
|
||||
},
|
||||
Layout.Box({
|
||||
Layout.Box(search, { size = "10%" }),
|
||||
Layout.Box({
|
||||
Layout.Box({
|
||||
Layout.Box(popup, { size = "55%" }),
|
||||
Layout.Box(keybinds, {size = "45%" }),
|
||||
}, { dir = "col", size = "50%" }),
|
||||
Layout.Box(preview, { size = "50%" }),
|
||||
}, { dir = "row", size = "90%" }),
|
||||
}, { dir = "col" })
|
||||
)
|
||||
layout:mount()
|
||||
|
||||
local function get_selected_entry()
|
||||
local row = vim.api.nvim_win_get_cursor(popup.winid)[1] - 1
|
||||
return current_view[row], row
|
||||
end
|
||||
|
||||
local function update_preview()
|
||||
if not preview.bufnr then return end
|
||||
vim.api.nvim_buf_set_lines(preview.bufnr, 0, -1, false, {}) -- Clear
|
||||
|
||||
local entry = get_selected_entry()
|
||||
if not entry then return end
|
||||
|
||||
if entry.type == "file" or entry.type == "project" then
|
||||
-- Preview file contents (first 100 lines)
|
||||
local lines = {}
|
||||
local fd = io.open(entry.full_path, "r")
|
||||
if fd then
|
||||
for i = 1, 100 do
|
||||
local line = fd:read("*line")
|
||||
if not line then break end
|
||||
table.insert(lines, line)
|
||||
end
|
||||
fd:close()
|
||||
else
|
||||
table.insert(lines, "[Failed to read file]")
|
||||
end
|
||||
vim.api.nvim_buf_set_lines(preview.bufnr, 0, -1, false, lines)
|
||||
elseif entry.type == "directory" then
|
||||
-- List contents of directory
|
||||
local contents = get_entries(entry.full_path)
|
||||
local lines = {}
|
||||
for _, item in ipairs(contents) do
|
||||
table.insert(lines, string.format("- %s", item.name))
|
||||
end
|
||||
if #lines == 0 then
|
||||
table.insert(lines, "[Empty folder]")
|
||||
end
|
||||
vim.api.nvim_buf_set_lines(preview.bufnr, 0, -1, false, lines)
|
||||
end
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("CursorMoved", {
|
||||
buffer = popup.bufnr,
|
||||
callback = function()
|
||||
vim.schedule(update_preview)
|
||||
end,
|
||||
})
|
||||
|
||||
local function refresh()
|
||||
entries = get_entries(cwd)
|
||||
local root = vim.fn.expand("~/Projects")
|
||||
|
||||
-- If we're not in the Projects folder, redirect to Projects
|
||||
if not cwd:find(root, 1, true) then
|
||||
cwd = root
|
||||
entries = get_entries(cwd)
|
||||
end
|
||||
|
||||
-- Only add ".." if we're inside Projects and not at the root
|
||||
if cwd ~= root then
|
||||
table.insert(entries, 1, {
|
||||
name = "../",
|
||||
type = "directory",
|
||||
full_path = Path:new(cwd):parent():absolute(),
|
||||
is_up = true
|
||||
})
|
||||
end
|
||||
current_view = vim.deepcopy(entries)
|
||||
end
|
||||
|
||||
local function render()
|
||||
if not popup.bufnr then return end
|
||||
vim.api.nvim_buf_set_lines(popup.bufnr, 0, -1, false, {})
|
||||
for i, item in ipairs(current_view) do
|
||||
local line = string.format("%-2d | %-27s | %-6s", i, item.name, item.type)
|
||||
vim.api.nvim_buf_set_lines(popup.bufnr, -1, -1, false, { line })
|
||||
end
|
||||
|
||||
-- Add key mappings legend
|
||||
local hints = {
|
||||
" <CR> : Open/Enter",
|
||||
" <BS> : Return",
|
||||
" / : Search",
|
||||
" a : New folder",
|
||||
" % : New file",
|
||||
" d : New project",
|
||||
" R : Rename",
|
||||
" D : Delete",
|
||||
" q : Quit",
|
||||
}
|
||||
|
||||
if not keybinds.bufnr then return end
|
||||
vim.api.nvim_buf_set_lines(keybinds.bufnr, 0, -1, false, {})
|
||||
|
||||
vim.api.nvim_buf_set_lines(keybinds.bufnr, -1, -1, false, hints)
|
||||
update_preview()
|
||||
end
|
||||
|
||||
local function prompt_filter()
|
||||
vim.api.nvim_buf_set_lines(search.bufnr, 0, -1, false, { "" })
|
||||
vim.api.nvim_buf_set_option(search.bufnr, "modifiable", true)
|
||||
if vim.api.nvim_win_is_valid(search.winid) then
|
||||
vim.api.nvim_set_current_win(search.winid)
|
||||
end
|
||||
vim.cmd("startinsert")
|
||||
|
||||
vim.keymap.set("i", "<CR>", function()
|
||||
local input = vim.api.nvim_buf_get_lines(search.bufnr, 0, 1, false)[1]
|
||||
if input ~= "" then
|
||||
current_view = fuzzy_filter(entries, input)
|
||||
render()
|
||||
end
|
||||
vim.api.nvim_buf_set_lines(search.bufnr, 0, -1, false, { "" })
|
||||
vim.api.nvim_set_current_win(popup.winid)
|
||||
vim.cmd("stopinsert") -- exit insert mode
|
||||
end, { buffer = search.bufnr, noremap = true })
|
||||
|
||||
vim.keymap.set("i", "<Esc>", function()
|
||||
vim.api.nvim_set_current_win(popup.winid)
|
||||
vim.cmd("stopinsert") -- ensure we are in normal mode
|
||||
end, { buffer = search.bufnr, noremap = true })
|
||||
end
|
||||
|
||||
popup:map("n", "/", function() vim.schedule(prompt_filter) end)
|
||||
|
||||
-- Mappings
|
||||
popup:map("n", "q", function() popup:unmount() end)
|
||||
|
||||
-- Creates a new folder
|
||||
popup:map("n", "a", function()
|
||||
vim.ui.input({ prompt = "New folder name:" }, function(input)
|
||||
if input then
|
||||
vim.fn.mkdir(cwd .. "/" .. input, "p")
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Deletes Folder and confirms deletion
|
||||
popup:map("n", "D", function()
|
||||
local entry = get_selected_entry()
|
||||
if not entry.is_up then
|
||||
vim.ui.input({ prompt = "(y/N) Defaults to N: " .. entry.name }, function(input)
|
||||
if input == "y" or input == "Y" then
|
||||
vim.fn.delete(entry.full_path, "rf")
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Creates a new file in project
|
||||
popup:map("n", "%", function()
|
||||
vim.ui.input({ prompt = "Enter language for new file: " }, function(lang)
|
||||
if not lang or lang == "" then return print("File creation canceled.") end
|
||||
|
||||
if load_language_module(lang) and templates.files[lang] and templates.files[lang].run then
|
||||
vim.ui.input({ prompt = "Enter file name: " }, function(file_name)
|
||||
if not file_name or file_name == "" then return print("File creation canceled.") end
|
||||
popup:unmount()
|
||||
vim.schedule(function()
|
||||
templates.files[lang].run(file_name)
|
||||
end)
|
||||
end)
|
||||
else
|
||||
print("Error: No File creation method for " .. lang)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Creates a new project
|
||||
popup:map("n", "d", function()
|
||||
local opts = {}
|
||||
vim.ui.input({ prompt = "Enter language for project: " }, function(lang)
|
||||
if not lang or lang == "" then return print("Project creation canceled.") end
|
||||
opts = vim.tbl_deep_extend("force", {}, require("Polydev.configs").get(lang), opts or {})
|
||||
if load_language_module(lang) and templates.projects[lang] and templates.projects[lang].run then
|
||||
popup:unmount()
|
||||
vim.schedule(function()
|
||||
templates.create_project(lang, opts.project_root)
|
||||
end)
|
||||
else
|
||||
print("Error: No project creation method for " .. lang)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Renames Files and Folders
|
||||
popup:map("n", "R", function()
|
||||
local entry = get_selected_entry()
|
||||
if not entry.is_up then
|
||||
vim.ui.input({ prompt = "Rename:", default = entry.name }, function(input)
|
||||
if input then
|
||||
local new_path = cwd .. "/" .. input
|
||||
vim.fn.rename(entry.full_path, new_path)
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Changes working directory or edits a file
|
||||
popup:map("n", "<CR>", function()
|
||||
local entry = get_selected_entry()
|
||||
if entry.type == "directory" then
|
||||
cwd = entry.full_path
|
||||
vim.cmd("cd " .. cwd)
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
if entry.type == "file" then
|
||||
popup:unmount()
|
||||
vim.schedule(function()
|
||||
vim.cmd("edit " .. vim.fn.fnameescape(entry.full_path))
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
popup:map("n", "<BS>", function()
|
||||
local parent = Path:new(cwd):parent():absolute()
|
||||
if parent ~= cwd then
|
||||
cwd = parent
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
end)
|
||||
|
||||
popup:on(event.BufLeave, function()
|
||||
vim.defer_fn(function()
|
||||
local function is_valid_win(winid)
|
||||
return type(winid) == "number" and vim.api.nvim_win_is_valid(winid)
|
||||
end
|
||||
|
||||
if not is_valid_win(popup.winid) and not is_valid_win(search.winid) then
|
||||
popup:unmount()
|
||||
end
|
||||
end, 50)
|
||||
end)
|
||||
|
||||
popup:mount()
|
||||
refresh()
|
||||
render()
|
||||
end
|
||||
|
||||
return M
|
||||
@@ -0,0 +1,605 @@
|
||||
--- Startup times for process: Primary (or UI client) ---
|
||||
|
||||
times in msec
|
||||
clock self+sourced self: sourced script
|
||||
clock elapsed: other lines
|
||||
|
||||
000.000 000.000: --- NVIM STARTING ---
|
||||
000.082 000.081: event init
|
||||
000.260 000.178: early init
|
||||
000.801 000.541: locale set
|
||||
000.840 000.039: init first window
|
||||
001.340 000.500: inits 1
|
||||
001.346 000.006: window checked
|
||||
001.349 000.002: parsing arguments
|
||||
001.897 000.047 000.047: require('vim.shared')
|
||||
001.993 000.038 000.038: require('vim.inspect')
|
||||
002.042 000.038 000.038: require('vim._options')
|
||||
002.044 000.143 000.068: require('vim._editor')
|
||||
002.046 000.220 000.030: require('vim._init_packages')
|
||||
002.047 000.479: init lua interpreter
|
||||
004.633 002.586: nvim_ui_attach
|
||||
004.941 000.307: nvim_set_client_info
|
||||
004.942 000.001: --- NVIM STARTED ---
|
||||
|
||||
--- Startup times for process: Embedded ---
|
||||
|
||||
times in msec
|
||||
clock self+sourced self: sourced script
|
||||
clock elapsed: other lines
|
||||
|
||||
000.000 000.000: --- NVIM STARTING ---
|
||||
000.056 000.055: event init
|
||||
000.170 000.114: early init
|
||||
000.492 000.322: locale set
|
||||
000.516 000.024: init first window
|
||||
000.853 000.337: inits 1
|
||||
000.866 000.013: window checked
|
||||
000.868 000.002: parsing arguments
|
||||
001.315 000.041 000.041: require('vim.shared')
|
||||
001.397 000.033 000.033: require('vim.inspect')
|
||||
001.439 000.033 000.033: require('vim._options')
|
||||
001.441 000.123 000.057: require('vim._editor')
|
||||
001.443 000.195 000.031: require('vim._init_packages')
|
||||
001.444 000.382: init lua interpreter
|
||||
003.020 001.575: expanding arguments
|
||||
003.032 000.012: inits 2
|
||||
003.262 000.230: init highlight
|
||||
003.263 000.001: waiting for UI
|
||||
003.394 000.132: done waiting for UI
|
||||
003.399 000.004: clear screen
|
||||
003.510 000.016 000.016: require('vim.keymap')
|
||||
004.663 000.135 000.135: sourcing nvim_exec2()
|
||||
004.785 001.383 001.232: require('vim._defaults')
|
||||
004.786 000.004: init default mappings & autocommands
|
||||
005.549 000.052 000.052: sourcing /usr/local/share/nvim/runtime/ftplugin.vim
|
||||
005.631 000.023 000.023: sourcing /usr/local/share/nvim/runtime/indent.vim
|
||||
007.096 000.793 000.793: require('lazy')
|
||||
007.149 000.039 000.039: require('ffi')
|
||||
007.194 000.026 000.026: require('vim.fs')
|
||||
007.380 000.183 000.183: require('vim.uri')
|
||||
007.391 000.240 000.030: require('vim.loader')
|
||||
007.589 000.178 000.178: require('lazy.stats')
|
||||
007.758 000.134 000.134: require('lazy.core.util')
|
||||
007.901 000.141 000.141: require('lazy.core.config')
|
||||
008.161 000.113 000.113: require('lazy.core.handler')
|
||||
008.584 000.138 000.138: require('lazy.pkg')
|
||||
008.588 000.310 000.172: require('lazy.core.meta')
|
||||
008.595 000.432 000.122: require('lazy.core.plugin')
|
||||
008.602 000.699 000.154: require('lazy.core.loader')
|
||||
009.183 000.144 000.144: require('lazy.core.fragments')
|
||||
011.871 000.220 000.220: require('lazy.core.handler.keys')
|
||||
012.018 000.143 000.143: require('lazy.core.handler.cmd')
|
||||
012.228 000.108 000.108: require('lazy.core.handler.event')
|
||||
012.230 000.210 000.102: require('lazy.core.handler.ft')
|
||||
012.627 000.139 000.139: sourcing nvim_exec2() called at /usr/local/share/nvim/runtime/filetype.lua:0
|
||||
012.629 000.205 000.066: sourcing /usr/local/share/nvim/runtime/filetype.lua
|
||||
012.632 000.260 000.054: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
013.423 000.591 000.591: require('snacks')
|
||||
013.425 000.640 000.049: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/snacks.nvim/plugin/snacks.lua
|
||||
013.428 000.698 000.058: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
013.434 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
013.441 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
013.781 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
013.789 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
014.567 000.179 000.179: require('Polydev.configs')
|
||||
014.569 000.677 000.498: require('Polydev')
|
||||
014.857 000.152 000.152: require('Polydev.utils')
|
||||
015.004 000.140 000.140: require('Polydev.ui')
|
||||
015.272 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
015.278 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
015.782 000.107 000.107: require('nvim-autopairs._log')
|
||||
015.935 000.152 000.152: require('nvim-autopairs.utils')
|
||||
016.359 000.183 000.183: require('nvim-autopairs.conds')
|
||||
016.366 000.310 000.127: require('nvim-autopairs.rule')
|
||||
016.368 000.431 000.120: require('nvim-autopairs.rules.basic')
|
||||
016.381 001.044 000.354: require('nvim-autopairs')
|
||||
017.848 000.356 000.356: require('nvim-treesitter.utils')
|
||||
018.861 000.099 000.099: require('vim.treesitter.language')
|
||||
018.951 000.088 000.088: require('vim.func')
|
||||
019.044 000.089 000.089: require('vim.func._memoize')
|
||||
019.090 000.448 000.171: require('vim.treesitter.query')
|
||||
019.192 000.100 000.100: require('vim.treesitter._range')
|
||||
019.202 000.690 000.143: require('vim.treesitter.languagetree')
|
||||
019.207 000.840 000.150: require('vim.treesitter')
|
||||
019.644 001.795 000.955: require('nvim-treesitter.parsers')
|
||||
020.093 000.123 000.123: require('nvim-treesitter.compat')
|
||||
020.350 000.143 000.143: require('nvim-treesitter.ts_utils')
|
||||
020.359 000.265 000.122: require('nvim-treesitter.tsrange')
|
||||
020.462 000.101 000.101: require('nvim-treesitter.caching')
|
||||
020.475 000.610 000.120: require('nvim-treesitter.query')
|
||||
020.492 000.741 000.132: require('nvim-treesitter.configs')
|
||||
020.496 000.850 000.109: require('nvim-treesitter.info')
|
||||
020.633 000.137 000.137: require('nvim-treesitter.shell_command_selectors')
|
||||
020.665 003.431 000.293: require('nvim-treesitter.install')
|
||||
020.769 000.102 000.102: require('nvim-treesitter.statusline')
|
||||
020.888 000.118 000.118: require('nvim-treesitter.query_predicates')
|
||||
020.890 003.856 000.205: require('nvim-treesitter')
|
||||
021.142 000.195 000.195: require('vim.iter')
|
||||
021.902 004.932 000.881: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/nvim-treesitter/plugin/nvim-treesitter.lua
|
||||
021.906 004.987 000.055: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
021.913 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
021.922 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
022.268 000.152 000.152: require('nvim-treesitter.indent')
|
||||
022.443 000.158 000.158: require('nvim-treesitter.highlight')
|
||||
022.551 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
022.559 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
022.901 000.281 000.281: require('kanagawa')
|
||||
024.023 000.726 000.726: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/vim-fugitive/plugin/fugitive.vim
|
||||
024.026 000.775 000.049: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
024.031 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
024.126 000.008 000.008: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/vim-fugitive/ftdetect/fugitive.vim
|
||||
024.129 000.060 000.052: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
024.133 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
024.812 000.520 000.520: require('gitsigns')
|
||||
025.380 000.474 000.474: require('gitsigns.highlight')
|
||||
025.575 000.184 000.184: require('gitsigns.debug.log')
|
||||
025.724 000.147 000.147: require('gitsigns.config')
|
||||
026.204 000.099 000.099: require('gitsigns.debounce')
|
||||
026.211 001.973 000.548: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/gitsigns.nvim/plugin/gitsigns.lua
|
||||
026.214 002.021 000.048: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.270 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.278 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.583 000.024 000.024: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/Vim-Be-Good/plugin/vim-be-good.vim
|
||||
026.586 000.076 000.053: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.590 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.598 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.784 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
026.790 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
027.495 000.098 000.098: require('mason-core.path')
|
||||
027.797 000.092 000.092: require('mason-core.functional.data')
|
||||
027.899 000.100 000.100: require('mason-core.functional.function')
|
||||
028.009 000.105 000.105: require('mason-core.functional.list')
|
||||
028.113 000.097 000.097: require('mason-core.functional.relation')
|
||||
028.206 000.091 000.091: require('mason-core.functional.logic')
|
||||
028.314 000.105 000.105: require('mason-core.functional.number')
|
||||
028.433 000.097 000.097: require('mason-core.functional.string')
|
||||
028.530 000.093 000.093: require('mason-core.functional.table')
|
||||
028.622 000.089 000.089: require('mason-core.functional.type')
|
||||
028.625 001.022 000.154: require('mason-core.functional')
|
||||
028.653 001.157 000.135: require('mason-core.platform')
|
||||
028.759 000.104 000.104: require('mason.settings')
|
||||
028.762 001.471 000.112: require('mason-core.installer.InstallLocation')
|
||||
029.155 000.208 000.208: require('mason-core.log')
|
||||
029.157 000.299 000.091: require('mason-core.EventEmitter')
|
||||
029.266 000.107 000.107: require('mason-registry.sources')
|
||||
029.270 000.507 000.101: require('mason-registry')
|
||||
029.272 002.233 000.255: require('mason')
|
||||
029.563 000.137 000.137: require('mason.api.command')
|
||||
029.718 000.046 000.046: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/which-key.nvim/plugin/which-key.lua
|
||||
029.721 000.097 000.050: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
029.726 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
029.735 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
030.287 000.382 000.382: require('which-key')
|
||||
030.409 000.120 000.120: require('which-key.config')
|
||||
030.477 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
030.483 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
031.009 000.107 000.107: require('lualine_require')
|
||||
031.305 000.708 000.601: require('lualine')
|
||||
031.990 000.007 000.007: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.368 000.007 000.007: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.379 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.389 000.003 000.003: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.395 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.400 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.406 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.411 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.416 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.422 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.427 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.432 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.437 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.441 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.462 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.469 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.475 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.479 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.484 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.489 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.493 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.498 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.502 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.512 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.516 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.521 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
032.528 000.006 000.006: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
033.622 000.023 000.023: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
033.629 000.003 000.003: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
033.898 000.114 000.114: require('lualine.utils.mode')
|
||||
034.081 000.004 000.004: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.088 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.094 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.100 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.106 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.163 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.213 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.266 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.316 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.374 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.382 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.481 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.486 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.491 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.498 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.502 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.507 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.511 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.516 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.520 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.525 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.653 000.007 000.007: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.659 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.663 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
034.668 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.059 000.003 000.003: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.065 000.003 000.003: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.070 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.074 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.078 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.083 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.087 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.094 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.101 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.106 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.110 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.115 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.121 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.126 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.131 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.136 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.140 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.146 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.150 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.155 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.159 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.165 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.169 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.225 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.230 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.234 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.254 000.017 000.017: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.261 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.652 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.658 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.879 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.885 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.892 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
035.898 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
036.710 000.105 000.105: require('noice.util.lazy')
|
||||
036.716 000.661 000.557: require('noice')
|
||||
037.007 000.118 000.118: require('vim.health')
|
||||
037.262 000.121 000.121: require('noice.util.call')
|
||||
037.267 000.257 000.136: require('noice.util')
|
||||
037.272 000.555 000.180: require('noice.health')
|
||||
037.454 000.173 000.173: require('noice.config')
|
||||
037.790 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
037.798 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
038.401 000.247 000.247: require('vim.lsp.log')
|
||||
039.315 000.911 000.911: require('vim.lsp.protocol')
|
||||
039.593 000.276 000.276: require('vim.lsp.util')
|
||||
039.903 000.142 000.142: require('vim.lsp.sync')
|
||||
039.911 000.315 000.172: require('vim.lsp._changetracking')
|
||||
040.202 000.155 000.155: require('vim.lsp._transport')
|
||||
040.338 000.009 000.009: require('string.buffer')
|
||||
040.340 000.115 000.106: require('vim._stringbuffer')
|
||||
040.344 000.432 000.162: require('vim.lsp.rpc')
|
||||
040.411 002.452 000.271: require('vim.lsp')
|
||||
040.891 000.479 000.479: require('blink.cmp')
|
||||
041.333 000.280 000.280: require('blink.cmp.lib.async')
|
||||
041.672 000.179 000.179: require('blink.cmp.config.utils')
|
||||
041.843 000.169 000.169: require('blink.cmp.config.keymap')
|
||||
042.209 000.188 000.188: require('blink.cmp.config.completion.keyword')
|
||||
042.339 000.128 000.128: require('blink.cmp.config.completion.trigger')
|
||||
042.476 000.136 000.136: require('blink.cmp.config.completion.list')
|
||||
042.618 000.141 000.141: require('blink.cmp.config.completion.accept')
|
||||
042.735 000.116 000.116: require('blink.cmp.config.completion.menu')
|
||||
042.838 000.102 000.102: require('blink.cmp.config.completion.documentation')
|
||||
042.934 000.094 000.094: require('blink.cmp.config.completion.ghost_text')
|
||||
042.935 001.091 000.185: require('blink.cmp.config.completion')
|
||||
043.037 000.100 000.100: require('blink.cmp.config.fuzzy')
|
||||
043.143 000.105 000.105: require('blink.cmp.config.sources')
|
||||
043.240 000.096 000.096: require('blink.cmp.config.signature')
|
||||
043.343 000.102 000.102: require('blink.cmp.config.snippets')
|
||||
043.444 000.099 000.099: require('blink.cmp.config.appearance')
|
||||
043.539 000.094 000.094: require('blink.cmp.config.modes.cmdline')
|
||||
043.630 000.090 000.090: require('blink.cmp.config.modes.term')
|
||||
043.633 002.299 000.175: require('blink.cmp.config')
|
||||
043.727 000.093 000.093: require('blink.cmp.lib.event_emitter')
|
||||
043.831 000.101 000.101: require('blink.cmp.lib.utils')
|
||||
043.835 002.943 000.170: require('blink.cmp.sources.lib')
|
||||
043.844 005.941 000.068: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/blink.cmp/plugin/blink-cmp.lua
|
||||
043.847 005.994 000.053: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
043.853 000.002 000.002: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
043.861 000.001 000.001: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
043.989 000.111 000.111: require('blink-cmp')
|
||||
045.552 000.109 000.109: require('blink.cmp.config.modes.types')
|
||||
046.311 000.101 000.101: require('blink.cmp.fuzzy.download.system')
|
||||
046.368 000.262 000.161: require('blink.cmp.fuzzy.download.files')
|
||||
046.370 000.365 000.103: require('blink.cmp.fuzzy.download.git')
|
||||
046.373 000.543 000.179: require('blink.cmp.fuzzy.download')
|
||||
046.509 000.103 000.103: require('vim._system')
|
||||
048.895 000.054 000.054: sourcing /usr/local/share/nvim/runtime/plugin/editorconfig.lua
|
||||
048.899 000.113 000.059: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
049.084 000.130 000.130: sourcing /usr/local/share/nvim/runtime/plugin/gzip.vim
|
||||
049.087 000.184 000.054: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
049.191 000.055 000.055: sourcing /usr/local/share/nvim/runtime/plugin/man.lua
|
||||
049.194 000.103 000.048: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
049.654 000.005 000.005: require('vim.F')
|
||||
049.979 000.157 000.157: sourcing /usr/local/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim
|
||||
049.993 000.753 000.591: sourcing /usr/local/share/nvim/runtime/plugin/matchit.vim
|
||||
050.017 000.821 000.067: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
050.201 000.127 000.127: sourcing /usr/local/share/nvim/runtime/plugin/matchparen.vim
|
||||
050.204 000.177 000.050: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
050.938 000.185 000.185: sourcing /usr/local/share/nvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim
|
||||
050.950 000.697 000.512: sourcing /usr/local/share/nvim/runtime/plugin/netrwPlugin.vim
|
||||
050.953 000.744 000.047: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.070 000.064 000.064: sourcing /usr/local/share/nvim/runtime/plugin/osc52.lua
|
||||
051.073 000.116 000.052: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.296 000.115 000.115: sourcing /usr/local/share/nvim/runtime/plugin/rplugin.vim
|
||||
051.299 000.168 000.053: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.416 000.062 000.062: sourcing /usr/local/share/nvim/runtime/plugin/shada.vim
|
||||
051.418 000.115 000.053: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.534 000.013 000.013: sourcing /usr/local/share/nvim/runtime/plugin/spellfile.vim
|
||||
051.537 000.067 000.054: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.706 000.067 000.067: sourcing /usr/local/share/nvim/runtime/plugin/tarPlugin.vim
|
||||
051.708 000.123 000.056: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.860 000.052 000.052: sourcing /usr/local/share/nvim/runtime/plugin/tohtml.lua
|
||||
051.863 000.106 000.054: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
051.943 000.015 000.015: sourcing /usr/local/share/nvim/runtime/plugin/tutor.vim
|
||||
051.945 000.067 000.052: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
052.100 000.092 000.092: sourcing /usr/local/share/nvim/runtime/plugin/zipPlugin.vim
|
||||
052.103 000.148 000.056: sourcing nvim_exec2() called at /Users/andrewhaynes/Dotfiles/.config/nvim/init.lua:0
|
||||
052.189 046.167 016.413: require('config.lazy')
|
||||
052.492 000.302 000.302: require('config.keybinds')
|
||||
052.932 000.438 000.438: require('config.lsp-configs')
|
||||
054.037 000.135 000.135: require('kanagawa.utils')
|
||||
054.178 000.134 000.134: require('kanagawa.colors')
|
||||
054.581 000.114 000.114: require('kanagawa.lib.hsluv')
|
||||
054.585 000.217 000.104: require('kanagawa.lib.color')
|
||||
054.587 000.345 000.127: require('kanagawa.themes')
|
||||
054.865 000.100 000.100: require('kanagawa.highlights')
|
||||
054.988 000.121 000.121: require('kanagawa.highlights.editor')
|
||||
055.125 000.100 000.100: require('kanagawa.highlights.syntax')
|
||||
055.235 000.101 000.101: require('kanagawa.highlights.treesitter')
|
||||
055.340 000.097 000.097: require('kanagawa.highlights.lsp')
|
||||
055.516 000.172 000.172: require('kanagawa.highlights.plugins')
|
||||
056.060 002.188 000.883: sourcing /Users/andrewhaynes/.local/share/nvim/lazy/kanagawa.nvim/colors/kanagawa-dragon.vim
|
||||
056.344 000.009 000.009: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.350 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.353 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.356 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.358 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.361 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.364 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.366 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.369 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.371 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.385 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.389 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.407 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.410 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.412 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.415 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.417 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.420 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.422 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.425 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.427 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.430 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.432 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.435 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.437 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.440 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.442 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.445 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.447 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.450 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.452 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.454 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.457 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.460 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.462 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.465 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.467 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.469 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.472 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.474 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.477 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.479 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.482 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.484 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.486 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.489 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.491 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.494 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.496 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.499 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.502 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.504 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.507 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.509 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.539 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.542 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.544 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.547 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.549 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.551 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.554 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.556 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.558 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.560 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.563 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.565 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.567 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.570 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.572 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.575 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.577 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.579 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.582 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.584 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.586 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.589 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.591 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.594 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.596 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.601 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.604 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.606 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.620 000.003 000.003: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.630 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.636 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.641 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.647 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.652 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.657 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.662 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.764 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.771 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.800 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.805 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.811 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.816 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.820 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.825 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.830 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.834 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.838 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.843 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.846 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.851 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.929 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.933 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.945 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
056.953 000.006 000.006: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.102 000.004 000.004: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.108 000.003 000.003: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.229 000.003 000.003: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.236 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.241 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.249 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.256 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.260 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.265 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.273 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.277 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.282 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.286 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.291 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.297 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.301 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.307 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.312 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.317 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.321 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.325 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.330 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.334 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.343 000.005 000.005: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.350 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.354 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.359 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.460 000.003 000.003: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.466 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.470 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.474 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.479 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.483 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.506 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.573 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.580 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.585 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.589 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.594 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.711 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.718 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.725 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.731 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.735 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.740 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.744 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.748 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.752 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.758 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.820 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.877 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.932 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
057.987 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
058.005 000.002 000.002: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
058.009 000.001 000.001: sourcing nvim_exec2() called at ColorScheme Autocommands for "*":0
|
||||
058.202 052.300 002.980: sourcing /Users/andrewhaynes/.config/nvim/init.lua
|
||||
058.216 001.055: sourcing vimrc file(s)
|
||||
058.471 000.047 000.047: sourcing /usr/local/share/nvim/runtime/filetype.lua
|
||||
058.773 000.054 000.054: sourcing /usr/local/share/nvim/runtime/syntax/synload.vim
|
||||
058.838 000.281 000.226: sourcing /usr/local/share/nvim/runtime/syntax/syntax.vim
|
||||
058.848 000.304: inits 3
|
||||
060.705 001.856: reading ShaDa
|
||||
062.011 001.307: opening buffers
|
||||
062.126 000.115: BufEnter autocommands
|
||||
062.130 000.004: editing files in windows
|
||||
062.356 000.170 000.170: require('noice.config.views')
|
||||
062.586 000.119 000.119: require('noice.ui.msg')
|
||||
062.589 000.231 000.111: require('noice.config.status')
|
||||
062.707 000.117 000.117: require('noice.config.format')
|
||||
062.808 000.099 000.099: require('noice.config.icons')
|
||||
062.941 000.107 000.107: require('noice.config.preset')
|
||||
063.132 000.103 000.103: require('noice.config.cmdline')
|
||||
063.250 000.115 000.115: require('noice.config.highlights')
|
||||
063.526 000.108 000.108: require('noice.config.routes')
|
||||
064.213 000.156 000.156: require('noice.lsp')
|
||||
064.385 000.169 000.169: require('vim.lsp.buf')
|
||||
064.504 000.117 000.117: require('noice.lsp.signature')
|
||||
064.654 000.140 000.140: require('noice.lsp.message')
|
||||
064.910 000.130 000.130: require('vim.lsp.completion')
|
||||
064.946 000.290 000.160: require('vim.lsp.handlers')
|
||||
065.053 000.104 000.104: require('noice.lsp.progress')
|
||||
065.264 000.103 000.103: require('noice.text.markdown')
|
||||
065.267 000.200 000.097: require('noice.lsp.override')
|
||||
065.375 000.106 000.106: require('noice.util.hacks')
|
||||
065.483 000.104 000.104: require('snacks.picker')
|
||||
065.705 000.209 000.209: require('snacks.picker.config.sources')
|
||||
065.808 000.100 000.100: require('noice.integrations.snacks')
|
||||
065.911 000.101 000.101: require('noice.commands')
|
||||
066.058 000.104 000.104: require('noice.message.router')
|
||||
066.381 000.179 000.179: require('nui.object')
|
||||
066.398 000.338 000.159: require('noice.view')
|
||||
066.630 000.105 000.105: require('noice.view.backend.split')
|
||||
066.865 000.233 000.233: require('noice.view.nui')
|
||||
067.313 000.147 000.147: require('vim.version')
|
||||
068.424 001.389 001.242: require('nui.utils')
|
||||
068.437 001.534 000.145: require('noice.util.nui')
|
||||
068.705 000.136 000.136: require('nui.layout.utils')
|
||||
068.708 000.249 000.114: require('nui.split.utils')
|
||||
069.071 000.096 000.096: require('noice.view.backend.popup')
|
||||
071.593 000.141 000.141: require('noice.view.backend.virtualtext')
|
||||
071.799 000.186 000.186: require('noice.view.backend.snacks')
|
||||
072.228 000.149 000.149: require('noice.view.backend.mini')
|
||||
072.432 000.112 000.112: require('noice.source.notify')
|
||||
072.591 000.146 000.146: require('noice.ui')
|
||||
073.010 000.151 000.151: require('noice.text.block')
|
||||
073.218 000.123 000.123: require('noice.message.filter')
|
||||
073.219 000.479 000.204: require('noice.message')
|
||||
073.236 000.637 000.158: require('noice.ui.cmdline')
|
||||
073.357 000.119 000.119: require('noice.ui.popupmenu')
|
||||
073.530 000.149 000.149: require('vim.treesitter._fold')
|
||||
073.680 004.406: VimEnter autocommands
|
||||
074.235 000.249 000.249: require('snacks.util')
|
||||
074.260 000.556 000.307: require('snacks.dashboard')
|
||||
076.879 000.246 000.246: require('vim.ui')
|
||||
076.904 000.786 000.540: require('snacks.input')
|
||||
077.269 000.360 000.360: require('snacks.picker.config')
|
||||
077.737 000.466 000.466: require('snacks.picker.config.highlights')
|
||||
078.043 000.303 000.303: require('snacks.picker.config.defaults')
|
||||
078.168 000.124 000.124: require('snacks.picker.config.layouts')
|
||||
080.389 000.127 000.127: require('vim.termcap')
|
||||
080.412 000.011 000.011: require('vim.text')
|
||||
080.434 004.021: UIEnter autocommands
|
||||
080.436 000.001: before starting main loop
|
||||
081.088 000.114 000.114: require('noice.message.manager')
|
||||
081.194 000.101 000.101: require('noice.ui.state')
|
||||
081.471 000.108 000.108: require('nui.text')
|
||||
081.476 000.224 000.116: require('nui.line')
|
||||
081.586 000.098 000.098: require('noice.util.ffi')
|
||||
081.612 000.639: first screen update
|
||||
081.613 000.001: --- NVIM STARTED ---
|
||||
|
||||
Reference in New Issue
Block a user