neovim 0.11

This commit is contained in:
λmolinae 2025-05-25 15:09:40 -06:00
parent 3ec79a04d6
commit c551043634
17 changed files with 62 additions and 98 deletions

View file

@ -7,11 +7,5 @@ return {
disable_filetype = { "TelescopePrompt", "vim" },
map_cr = true,
},
config = function(opts)
require("nvim-autopairs").setup(opts)
local cmp_autopairs = require "nvim-autopairs.completion.cmp"
local cmp = require('cmp')
require("cmp").event:on("confirm_done", cmp_autopairs.on_confirm_done())
end
}
}

23
lua/plugins/blink.lua Normal file
View file

@ -0,0 +1,23 @@
return {
{
"saghen/blink.cmp",
dependencies = {
"L3MON4D3/LuaSnip"
},
version = "1.*",
---@module "blink.cmp"
---@type blink.cmp.Config
opts = {
keymap = { preset = "super-tab" },
appearance = {
nerd_font_variant = "mono"
},
completion = { documentation = { auto_show = false } },
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = { implementation = "prefer_rust_with_warning" }
},
opts_extend = { "sources.default" }
}
}

View file

@ -1,31 +0,0 @@
return {
{
"hrsh7th/nvim-cmp",
dependencies = {
{ "hrsh7th/cmp-nvim-lua" },
{ "hrsh7th/cmp-nvim-lsp-signature-help" },
{ "hrsh7th/cmp-cmdline" },
{ "hrsh7th/cmp-path" },
{ "hrsh7th/cmp-buffer" },
},
opts = function()
require "config.plugins.cmp"
end,
},
{
"hrsh7th/cmp-nvim-lsp",
dependencies = {},
config = function()
local lspconfig = require('lspconfig')
local capabilities = require('cmp_nvim_lsp').default_capabilities()
end,
},
{
"L3MON4D3/LuaSnip",
dependencies = {
"saadparwaiz1/cmp_luasnip",
"rafamadriz/friendly-snippets"
},
opts = {}
}
}

View file

@ -1,9 +0,0 @@
return {
{
"neovim/nvim-lspconfig",
dependencies= {},
config = function()
local lspconfig = require("lspconfig")
end,
},
}

View file

@ -14,9 +14,11 @@ return {
{
"mason-org/mason-lspconfig.nvim",
dependencies = {
"mason-org/mason.nvim",
"neovim/nvim-lspconfig",
},
opts = {
ensure_installed = { "lua_ls" },
automatic_enable = true
},
},

View file

@ -7,7 +7,7 @@ return {
dependencies = {},
opts = {
auto_install = true,
ensure_installed = { "lua" },
ensure_installed = { "lua", "c", "vimdoc" },
highlight = { enable = true },
indent = { enable = true }
}

View file

@ -9,7 +9,7 @@ return {
opts = {
options = {
icons_enabled = true,
theme = 'pywal16-nvim',
theme = 'tokyonight',
component_separators = { left = "|", right = "|" },
section_separators = { left = "", right = "" },
},
@ -24,7 +24,7 @@ return {
mode = "buffers",
diagnostics = "nvim_lsp",
offsets = {
{
{
filetype = "neo-tree", text = "File Explorer",
text_align = "center", separator = true
}