tangled
alpha
login
or
join now
da157.id
/
nixvim-cfg
0
fork
atom
0xda157's nixvim config
0
fork
atom
overview
issues
pulls
pipelines
add gleam formatting
0xda157
3 months ago
fe40814a
bf7e0b5c
+13
-9
1 changed file
expand all
collapse all
unified
split
modules
plugins
conform
default.nix
+13
-9
modules/plugins/conform/default.nix
···
12
12
rustfmt
13
13
shfmt
14
14
clang-tools
15
15
+
gleam
15
16
];
16
17
17
18
keymaps = singleton {
···
65
66
};
66
67
in
67
68
{
69
69
+
# keep-sorted start block=true
70
70
+
"_" = [ "trim_whitespace" ];
71
71
+
bash = [ "shfmt" ];
72
72
+
c = [ "clangd" ];
73
73
+
cpp = [ "clangd" ];
68
74
# html = prettier;
75
75
+
gleam = [ "gleam" ];
69
76
css = prettier;
70
77
javascript = prettier;
71
78
javascriptreact = prettier;
72
72
-
typescript = prettier;
73
73
-
typescriptreact = prettier;
74
74
-
# markdown = prettier;
75
75
-
python = [ "black" ];
76
79
lua = [ "stylua" ];
77
80
nix = {
78
81
__unkeyed-1 = "nix fmt";
79
82
__unkeyed-2 = "nixfmt";
80
83
stop_after_first = true;
81
84
};
85
85
+
# markdown = prettier;
86
86
+
python = [ "black" ];
82
87
rust = [ "rustfmt" ];
83
83
-
bash = [ "shfmt" ];
84
84
-
zsh = [ "shfmt" ];
85
88
sh = [ "shfmt" ];
86
86
-
c = [ "clangd" ];
87
87
-
cpp = [ "clangd" ];
88
88
-
"_" = [ "trim_whitespace" ];
89
89
+
typescript = prettier;
90
90
+
typescriptreact = prettier;
91
91
+
zsh = [ "shfmt" ];
92
92
+
# keep-sorted end
89
93
};
90
94
};
91
95
luaConfig.post = ''