openscad & kitty
enable nvim openscad and switch to kitty
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user