openscad & kitty

enable nvim openscad and switch to kitty
This commit is contained in:
2026-03-28 13:55:32 +01:00
parent 234e6c0813
commit 090fb01c0a
13 changed files with 182 additions and 45 deletions

View File

@@ -50,12 +50,6 @@
tex = [
"tex-fmt"
];
openscad = [
"squeeze_blanks"
"trim_whitespace"
"trim_newlines"
"scadstyle"
];
"_" = [
"squeeze_blanks"
"trim_whitespace"
@@ -103,15 +97,6 @@
tex-fmt = {
command = "tex-fmt";
};
scadstyle = {
"inherit" = true;
prepend_args = [
"--indent-type"
"Spaces"
"--indent-width"
"2"
];
};
};
};
};

View File

@@ -1,5 +1,17 @@
{ ... }:
{
programs.nixvim.plugins.openscad.enable = true;
programs.nixvim.plugins.openscad = {
enable = true;
luaConfig.post = ''
vim.g.openscad_fuzzy_finder = 'skim'
-- when the pdf_command is run, the last argument will be the pdf filename
vim.g.openscad_pdf_command = 'zathura'
vim.g.openscad_cheatsheet_window_blend = 15 --%
vim.g.openscad_load_snippets = false
-- should the openscad project automatically be opened on startup
vim.g.openscad_auto_open = false
vim.g.openscad_default_mappings = true
'';
};
}