Optimized neovim config

This commit is contained in:
Michael Chalupiak
2025-08-24 02:58:30 -04:00
parent 1114797040
commit cf051a191f
8 changed files with 331 additions and 159 deletions

View File

@@ -2,15 +2,18 @@ return {
{
'mason-org/mason.nvim',
event = 'VeryLazy',
opts = {},
},
{
'neovim/nvim-lspconfig',
event = 'VeryLazy',
},
{
"mason-org/mason-lspconfig.nvim",
event = 'VeryLazy',
opts = {},
dependencies = {
{ "mason-org/mason.nvim", opts = {} },
@@ -30,7 +33,7 @@ return {
{
'saghen/blink.cmp',
-- optional: provides snippets for the snippet source
dependencies = { 'L3MON4D3/LuaSnip' },
-- dependencies = { 'L3MON4D3/LuaSnip' },
-- use a release tag to download pre-built binaries
version = '1.*',
@@ -56,17 +59,31 @@ return {
-- See :h blink-cmp-config-keymap for defining your own keymap
keymap = { preset = 'default' },
snippets = { preset = 'luasnip' },
-- snippets = { preset = 'mini_snippets' },
appearance = {
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant = 'mono'
},
cmdline = {
completion = { menu = { auto_show = true } },
},
-- (Default) Only show the documentation popup when manually triggered
completion = {
documentation = { auto_show = false },
list = {
selection = {
preselect = true,
auto_insert = false,
},
},
ghost_text = {
enabled = true,
show_with_menu = true,
},
menu = {
auto_show = true,
draw = {
components = {
-- customize the drawing of kind icons