Add rust plugins
This commit is contained in:
+8
-2
@@ -2,13 +2,14 @@ local M = {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
vim.lsp.enable("rust_analyzer")
|
||||
-- vim.lsp.enable("rust_analyzer")
|
||||
vim.lsp.enable("yamlls")
|
||||
vim.lsp.enable("luals")
|
||||
vim.lsp.enable("sqls")
|
||||
vim.lsp.enable("ty")
|
||||
vim.lsp.enable("svelte")
|
||||
vim.lsp.enable("harper_ls")
|
||||
vim.lsp.enable("sourcekit")
|
||||
vim.lsp.enable("harper_ls")
|
||||
|
||||
-- Setup gopls with inlay hints
|
||||
vim.lsp.config("gopls", {
|
||||
@@ -71,6 +72,11 @@ local M = {
|
||||
event = { "CmdlineEnter" },
|
||||
ft = { "go", "gomod" },
|
||||
},
|
||||
{
|
||||
"mrcjkb/rustaceanvim",
|
||||
version = "^9",
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
dependencies = { "rafamadriz/friendly-snippets" },
|
||||
|
||||
Reference in New Issue
Block a user