Apply lua linter formatting

Remove snippets
Update python path on venv selection
Use basedpyright language server for better import resolution
This commit is contained in:
Daniel McKnight 2025-06-08 22:46:02 -07:00
parent c068921d55
commit 33588e1afc
4 changed files with 24 additions and 16 deletions

View file

@ -1,15 +1,15 @@
return {
{
"L3MON4D3/LuaSnip",
dependencies = {
"saadparwaiz1/cmp_luasnip", -- Snippets source for nvim-cmp
"rafamadriz/friendly-snippets", -- Collection of snippets
},
},
-- {
-- "L3MON4D3/LuaSnip",
-- dependencies = {
-- "saadparwaiz1/cmp_luasnip", -- Snippets source for nvim-cmp
-- "rafamadriz/friendly-snippets", -- Collection of snippets
-- },
-- },
{
"hrsh7th/nvim-cmp",
config = function()
require("luasnip.loaders.from_vscode").lazy_load() -- Load snippets from friendly-snippets
-- require("luasnip.loaders.from_vscode").lazy_load() -- Load snippets from friendly-snippets
local cmp = require("cmp")
cmp.setup({
@ -31,7 +31,7 @@ return {
["<CR>"] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
}),
sources = cmp.config.sources({
--{ name = "nvim_lsp" },
{ name = "nvim_lsp" }, -- Show suggestions from LSP
{ name = "luasnip" }, -- For luasnip users.
}, {
{ name = "buffer" },