Linux configuration stuffs
1return {
2 {
3 "mason-org/mason-lspconfig.nvim",
4 event = "VeryLazy",
5 dependencies = {
6 "mason-org/mason.nvim",
7 "nvim-mini/mini.icons",
8 "neovim/nvim-lspconfig"
9 },
10 config = function()
11 require("mason").setup()
12 require("mason-lspconfig").setup({
13 ensure_installed = {
14 "lua_ls",
15 "rust_analyzer",
16 },
17 })
18 end,
19 },
20 {
21 "saghen/blink.cmp",
22 event = "VeryLazy",
23 version = "1.*",
24 opts = {
25 keymap = {
26 preset = 'super-tab',
27
28 ['<C-w><C-a>'] = { 'show', 'show_documentation', 'hide_documentation' },
29 },
30
31 completion = {
32 menu = { border = 'rounded' },
33 },
34
35 signature = {
36 enabled = true,
37 window = {
38 border = 'rounded'
39 },
40 },
41
42
43 sources = {
44 default = { 'lsp', 'path', 'buffer' }
45 },
46 },
47 opts_extend = { "sources.default" }
48 }
49}