Compare commits

...
2 Commits
Author SHA1 Message Date
christoph ad6a2d471f Modules/Packages: Add inotify-tools 2026-07-01 01:51:59 +02:00
christoph d9b0685aa4 Modules/Neovim: Update latex snippets 2026-07-01 01:51:45 +02:00
3 changed files with 41 additions and 1 deletions
+2
View File
@@ -29,6 +29,7 @@
enableMcpIntegration = true;
};
# NOTE: Starts extremely slow
ghostty = {
enable = true;
enableFishIntegration = true;
@@ -43,6 +44,7 @@
adjust-cursor-thickness = 1;
cursor-click-to-move = true;
gtk-single-instance = true;
# link-previews = true;
};
+38 -1
View File
@@ -1,3 +1,18 @@
local ls = require("luasnip")
local s = ls.snippet
local sn = ls.snippet_node
local isn = ls.indent_snippet_node
local t = ls.text_node
local i = ls.insert_node
local f = ls.function_node
local c = ls.choice_node
local d = ls.dynamic_node
local r = ls.restore_node
local extras = require("luasnip.extras")
local rep = extras.rep
local fmt = require("luasnip.extras.fmt").fmt
local fmta = require("luasnip.extras.fmt").fmta
return {
-- The first list contains manually expanded snippts
--
@@ -18,7 +33,7 @@ return {
-- \begin{environment}
s(
"beg",
{ trig = "beg", name = "begin/end", descr = "begin/end environment (generic)" },
fmta(
[[
\begin{<>}
@@ -28,6 +43,28 @@ return {
{ i(1), i(0), rep(1) }
)
),
s(
{ trig = "item", name = "itemize", dscr = "bullet points (itemize)" },
fmta(
[[
\begin{itemize}
\item <>
\end{itemize}
]],
{ i(0) }
)
),
s(
{ trig = "enum", name = "enumerate", dscr = "bullet points (enumerate)" },
fmta(
[[
\begin{enumerate}
\item <>
\end{enumerate}
]],
{ i(0) }
)
),
}, {
-- The second list contains autosnippets
}
+1
View File
@@ -39,6 +39,7 @@ in {
tokei # Text file statistics in a project
ttyper
wiki-tui
inotify-tools
# Nix
nix-search-tv # Search nixpkgs, nur, nixos options and homemanager options