abh - HTMLify profile
files of /abh/nvim/lua/helpers/
-- [[ helpers funcitons and functnalitis ]] --
local luarocks = require("luarocks")
local helpers = {
{ "run-code" },
local luarocks = require("luarocks")
local helpers = {
{ "run-code" },
-- [[ logger.lua ]] --
local M = {}
function M.log()
local cr, cc = unpack(vim.api.nvim_win_get_cursor(0))
vim.cmd(":
local M = {}
function M.log()
local cr, cc = unpack(vim.api.nvim_win_get_cursor(0))
vim.cmd(":
-- [[ notes ]] --
local notes_dir = vim.fn.stdpath("data") .. "/notes/"
vim.fn.mkdir(notes_dir, "p")
local Notes = {};
local notes_dir = vim.fn.stdpath("data") .. "/notes/"
vim.fn.mkdir(notes_dir, "p")
local Notes = {};
--[[ ReWrite ]]--
local M = {}
M.write_string = ""
M.write_mode = ""
M.last_writes = {}
local M = {}
M.write_string = ""
M.write_mode = ""
M.last_writes = {}
-- [[ run-code.lua ]] --
local M = {}
function M.run_code()
local filetype = vim.bo.filetype;
if filetype == "text" th
local M = {}
function M.run_code()
local filetype = vim.bo.filetype;
if filetype == "text" th
-- [[ Shifter ]] --
M = {}
function M.shift_up()
local l, c = unpack(vim.api.nvim_win_get_cursor(0))
vim.cmd("norm k")
M = {}
function M.shift_up()
local l, c = unpack(vim.api.nvim_win_get_cursor(0))
vim.cmd("norm k")
-- [[ Toggle Bool ]] --
local M = {}
function M.toggle_bool_value(bool)
if bool == "true" then return "false" end
if b
local M = {}
function M.toggle_bool_value(bool)
if bool == "true" then return "false" end
if b