Apply a codebase-wide comment audit against the comment conventions: split banned semicolons and multi-sentence lines into one sentence per line, cut cross-file and history narration, trim file-top headers to a single purpose line, and drop verbosity that did not earn its place. Prose docs (CLAUDE.md, install.md) get the same one-sentence-per-line and no-semicolon treatment.
27 lines
771 B
Lua
27 lines
771 B
Lua
-- Imperative configuration that has no typed nixvim option: the colorscheme call and autocmds.
|
|
|
|
-- gbprod/nord.nvim.
|
|
require("nord").setup({
|
|
transparent = true,
|
|
})
|
|
vim.cmd.colorscheme("nord")
|
|
|
|
-- Conceal markdown syntax in markdown buffers.
|
|
-- conceallevel is window-local, so it is set with opt_local when the filetype
|
|
-- is applied to the buffer's window.
|
|
vim.api.nvim_create_autocmd("FileType", {
|
|
pattern = "markdown",
|
|
callback = function()
|
|
vim.opt_local.conceallevel = 2
|
|
end,
|
|
})
|
|
|
|
-- Turn line blame off again once the Neogit status buffer is closed.
|
|
vim.api.nvim_create_autocmd("BufUnload", {
|
|
callback = function(args)
|
|
if vim.bo[args.buf].filetype == "NeogitStatus" then
|
|
require("gitsigns").toggle_current_line_blame(false)
|
|
end
|
|
end,
|
|
})
|