feat(keybinds, lua func, cmp): QOL changes basically

- removed hindering material like nvim adding more comments upon
  pressing `Enter`
- removed snippets, not needed + disrupted commenting
- added more keybinds (telescope.nvim, wrap around pairs, venv
  selection)
- added QOL changes like venv-selector + ecolog.nvim w/
- added blink.cmp provders (ecolog + convential commits)
This commit is contained in:
devaine 2026-08-16 20:36:12 -05:00
commit bd2f808931
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
13 changed files with 206 additions and 109 deletions

46
lua/plugins/lsp.lua Normal file → Executable file
View file

@ -52,6 +52,33 @@ return {
init_options = { preferences = { disableSuggestions = false } },
})
vim.lsp.config("pylsp", {
settings = {
pylsp = {
plugins = {
pycodestyle = {
ignore = { "E501", "W503", "E265" },
},
},
},
},
})
local base_on_attach = vim.lsp.config.eslint.on_attach
vim.lsp.config("pylsp", {
on_attach = function(client, bufnr)
if not base_on_attach then
return
end
base_on_attach(client, bufnr)
vim.api.nvim_create_autocmd("BufWritePre", {
buffer = bufnr,
command = "LspEslintFixAll",
})
end,
})
vim.lsp.enable({
"lua_ls",
"clangd",
@ -61,19 +88,8 @@ return {
"html",
"tailwindcss",
"pylsp",
})
end,
},
{
"esmuellert/nvim-eslint",
config = function()
require("nvim-eslint").setup({
settings = {
workingDirectory = function(bufnr)
return { directory = vim.fs.root(bufnr, { "package.json" }) }
end,
},
"eslint-lsp",
"pyright",
})
end,
},
@ -89,6 +105,6 @@ return {
},
})
vim.lsp.enable("jdtls")
end
}
end,
},
}