Skip to content

Commit 9d102e6

Browse files
committed
feat: Add vim-go and rustaceans-vim
1 parent 8998c90 commit 9d102e6

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

lua/plugins/go.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
return {
2+
"fatih/vim-go",
3+
ft = "go",
4+
build = ":GoUpdateBinaries",
5+
config = function()
6+
vim.g.go_fmt_command = "goimports"
7+
vim.g.go_auto_type_info = 1
8+
vim.g.go_def_mapping_enabled = 0
9+
end,
10+
}

lua/plugins/rust.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ return {
2727
})
2828
end,
2929
},
30+
{
31+
"mrcjkb/rustaceanvim",
32+
version = "^5",
33+
ft = { "rust" },
34+
},
3035
}

0 commit comments

Comments
 (0)