Skip to content

Instantly share code, notes, and snippets.

View vhyrro's full-sized avatar

vhyrro

View GitHub Profile
@vhyrro
vhyrro / test.lua
Last active October 28, 2023 11:02
installer.lua tests
local buffer = vim.api.nvim_create_buf(true, true)
vim.api.nvim_buf_set_name(buffer, "rocks.nvim installer")
vim.api.nvim_win_set_buf(0, buffer)
local function resize_ui()
local size = vim.api.nvim_win_get_width(0)
vim.opt.textwidth = size % 2 == 0 and size or size - 1
vim.cmd("%center")
end
@vhyrro
vhyrro / test.lua
Last active October 27, 2023 19:06
test
vim.api.nvim_open_win(0, true, {
row = 3,
col = 3,
width = 20,
height = 20,
relative = "editor",
})

Creating Modules for Neorg

The magic behind the scenes, or in other words understanding the inner workings of neorg.


Table of Contents:

core.norg.concealer

Display Markup as Icons, not Text

The concealer module converts verbose markup elements into beautified icons for your viewing pleasure.

@vhyrro
vhyrro / NFF-0.1-spec.md
Last active June 26, 2021 17:44
Neorg 0.1 File Format Specification Proposal

The Neorg 0.1 Specification

Yes I know it's ironic to have this file in markdown.

This file details all of the rules, concepts and design choices that went into creating the first true iteration of the Neorg File Format version 0.1

Table of Contents