Skip to content

Commit 147b962

Browse files
committed
Adds rust analyser config
1 parent d84cb45 commit 147b962

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

init.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,11 @@ local servers = {
653653
-- clangd = {},
654654
-- gopls = {},
655655
-- pyright = {},
656-
-- rust_analyzer = {},
656+
rust_analyzer = {
657+
rustfmt = {
658+
overrideCommand = 'leptosfmt --stdin --rustfmt'
659+
}
660+
},
657661
-- tsserver = {},
658662
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
659663

0 commit comments

Comments
 (0)