Rename modules directory
All checks were successful
/ check (push) Successful in 55s

This commit is contained in:
Oliver Davies 2025-08-18 12:00:00 +01:00
parent a0575bdb2a
commit 703bf836de
210 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{
flake.modules.nixvim.custom.extraFiles."after/ftplugin/gitcommit.lua".text =
# lua
''
vim.opt_local.colorcolumn = "50,72"
vim.opt_local.spell = true
vim.opt_local.textwidth = 72
'';
}

View file

@ -0,0 +1,11 @@
{
flake.modules.nixvim.custom = {
extraFiles."after/ftplugin/just.lua".text =
# lua
''
local opt = vim.opt_local
opt.shiftwidth = 4
'';
};
}

View file

@ -0,0 +1,22 @@
{
flake.modules.nixvim.custom = {
plugins.cmp-path.enable = true;
extraFiles."after/ftplugin/markdown.lua".text =
# lua
''
local opt = vim.opt_local
opt.spell = true
opt.wrap = true
local cmp = require "cmp"
local sources = cmp.get_config().sources
-- TODO: confirm these aren't aleady in the list of sources to avoid duplicate suggestions.
table.insert(sources, { name = "path" })
cmp.setup.buffer { sources = sources }
'';
};
}