This commit is contained in:
Harivansh Rathi 2026-02-20 18:17:00 -05:00
parent 3b6293a458
commit ecfa272a40
6 changed files with 24 additions and 61 deletions

View file

@ -1,21 +1,24 @@
return {
{ "neovim/nvim-lspconfig", lazy = false },
{ "williamboman/mason.nvim", lazy = false, opts = {} },
-- Autocompletion
{
"williamboman/mason-lspconfig.nvim",
lazy = false,
"saghen/blink.cmp",
dependencies = { "rafamadriz/friendly-snippets" },
version = "1.*",
event = "InsertEnter",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
ensure_installed = {
"lua_ls",
"pyright",
"rust_analyzer",
"gopls",
"clangd",
"bashls",
"jsonls",
"html",
"cssls",
keymap = { preset = "default" },
appearance = { nerd_font_variant = "mono" },
completion = { documentation = { auto_show = true } },
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = { implementation = "prefer_rust_with_warning" },
},
opts_extend = { "sources.default" },
},
}