conf
This commit is contained in:
parent
c8b414ad47
commit
03cb61d4a5
5 changed files with 56 additions and 7 deletions
|
|
@ -62,7 +62,7 @@
|
|||
taskwarrior3
|
||||
thunderbird
|
||||
typst
|
||||
typst-fmt
|
||||
# typst-fmt
|
||||
tinymist
|
||||
vial
|
||||
wezterm
|
||||
|
|
|
|||
|
|
@ -29,6 +29,36 @@ in {
|
|||
home.file.".config/direnv/lib/uv.sh".source = ./uv.sh;
|
||||
|
||||
programs = {
|
||||
bacon = {
|
||||
enable = true;
|
||||
settings.jobs.default = {
|
||||
command = [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"--"
|
||||
"-A"
|
||||
"clippy::bool_to_int_with_if"
|
||||
"-A"
|
||||
"clippy::collapsible_else_if"
|
||||
"-A"
|
||||
"clippy::collapsible_if"
|
||||
"-A"
|
||||
"clippy::derive_partial_eq_without_eq"
|
||||
"-A"
|
||||
"clippy::get_first"
|
||||
"-A"
|
||||
"clippy::if_same_then_else"
|
||||
"-A"
|
||||
"clippy::len_without_is_empty"
|
||||
"-A"
|
||||
"clippy::map_entry"
|
||||
"-A"
|
||||
"clippy::while_let_on_iterator"
|
||||
];
|
||||
need_stdout = false;
|
||||
};
|
||||
};
|
||||
|
||||
bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@
|
|||
"bash"
|
||||
"gas"
|
||||
"sql"
|
||||
"scheme"
|
||||
];
|
||||
language = [
|
||||
{
|
||||
|
|
@ -179,6 +180,14 @@
|
|||
name = "toml";
|
||||
auto-format = true;
|
||||
}
|
||||
{
|
||||
name = "typst";
|
||||
language-servers = ["tinymist"];
|
||||
}
|
||||
{
|
||||
name = "scheme";
|
||||
language-servers = ["steel"];
|
||||
}
|
||||
];
|
||||
language-servers = {
|
||||
rust-analyzer.config = {
|
||||
|
|
@ -214,6 +223,12 @@
|
|||
sqls = {
|
||||
command = "sqls";
|
||||
};
|
||||
tinymist = {
|
||||
command = "tinymist";
|
||||
};
|
||||
steel-language-server = {
|
||||
command = "steel-language-server";
|
||||
};
|
||||
};
|
||||
grammar = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -178,3 +178,7 @@ def fixme [] {
|
|||
}
|
||||
source ~/.cache/starship/init.nu
|
||||
source ~/.zoxide.nu
|
||||
def --env z [path: string = "~"] {
|
||||
zo $path
|
||||
l
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue