updates
This commit is contained in:
parent
24474d3f3c
commit
b98b1e0835
3 changed files with 32 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
{"words":["nvim","builtins","stylua","rustfmt","pendo","tanstack","ripgrep","Typeahead","overscan","autorun","mediatype","BIOINF","Transitioner","pkce","ilike","arrayify","arrayified","komodo","wezterm","gcloud","pbpaste","Hasher","semvers","upserted","dtos","Yeatts","Mahon","Beaubier","Taussing","chakra","langchain","openai","getattr","llms","docstore","kwargs","svgr","healthcheck","venv","virtualenv","ringofstorms","nestjs","oneshot","templating","tiktoken","pydantic","NCCN","clsx","reactflow","Convo","DSAB","pgvector","postprocess","stylelua","sqlx","genemichaels","williamboman","substr","findfile","Hammerspoon","eventtap","OSTYPE","sccache","binstall","elif","autofocus","colours","Resizer","esac","pannable","zoomable","elkjs","Arrayible","Falsey","xyflow","leftnav","topnav","nodrag","nowheel","janky","draghandle","Sandboxed","Dismissable"],"language":"en","flagWords":[],"version":"0.2"}
|
{"words":["nvim","builtins","stylua","rustfmt","pendo","tanstack","ripgrep","Typeahead","overscan","autorun","mediatype","BIOINF","Transitioner","pkce","ilike","arrayify","arrayified","komodo","wezterm","gcloud","pbpaste","Hasher","semvers","upserted","dtos","Yeatts","Mahon","Beaubier","Taussing","chakra","langchain","openai","getattr","llms","docstore","kwargs","svgr","healthcheck","venv","virtualenv","ringofstorms","nestjs","oneshot","templating","tiktoken","pydantic","NCCN","clsx","reactflow","Convo","DSAB","pgvector","postprocess","stylelua","sqlx","genemichaels","williamboman","substr","findfile","Hammerspoon","eventtap","OSTYPE","sccache","binstall","elif","autofocus","colours","Resizer","esac","pannable","zoomable","elkjs","Arrayible","Falsey","xyflow","leftnav","topnav","nodrag","nowheel","janky","draghandle","Sandboxed","Dismissable","dashdraw"],"version":"0.2","language":"en","flagWords":[]}
|
||||||
|
|
|
@ -43,7 +43,7 @@ return {
|
||||||
lualine_z = { "location" },
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
refresh = {
|
refresh = {
|
||||||
statusline = 200,
|
-- statusline = 200,
|
||||||
},
|
},
|
||||||
winbar = {
|
winbar = {
|
||||||
lualine_a = {
|
lualine_a = {
|
||||||
|
|
30
lua/plugins_disabled/profile.lua
Normal file
30
lua/plugins_disabled/profile.lua
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
return {
|
||||||
|
"stevearc/profile.nvim",
|
||||||
|
config = function()
|
||||||
|
local should_profile = os.getenv("NVIM_PROFILE")
|
||||||
|
if should_profile then
|
||||||
|
require("profile").instrument_autocmds()
|
||||||
|
if should_profile:lower():match("^start") then
|
||||||
|
require("profile").start("*")
|
||||||
|
else
|
||||||
|
require("profile").instrument("*")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function toggle_profile()
|
||||||
|
local prof = require("profile")
|
||||||
|
if prof.is_recording() then
|
||||||
|
prof.stop()
|
||||||
|
vim.ui.input({ prompt = "Save profile to:", completion = "file", default = "profile.json" }, function(filename)
|
||||||
|
if filename then
|
||||||
|
prof.export(filename)
|
||||||
|
vim.notify(string.format("Wrote %s", filename))
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
else
|
||||||
|
prof.start("*")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.keymap.set("", "<f1>", toggle_profile)
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue