feat: disable avante by defatul and added pythoin mason packages

This commit is contained in:
root
2025-08-07 17:51:08 +00:00
parent 8a6bb48755
commit b05ed0b5aa
5 changed files with 72 additions and 51 deletions
+1 -1
View File
@@ -6,6 +6,6 @@
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.lua" },
{ import = "astrocommunity.completion.avante-nvim" },
-- { import = "astrocommunity.completion.avante-nvim" },
-- import/override with your plugins folder
}
+1 -1
View File
@@ -1,4 +1,4 @@
-- if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
return {
{ -- further customize the options set by the community
@@ -1,4 +1,3 @@
local vue = require "plugins.mason.vue"
-- Customize Mason
---@type LazySpec
@@ -9,7 +8,10 @@ return {
-- overrides `require("mason-tool-installer").setup(...)`
opts = {
-- Make sure to use the names found in `:Mason`
ensure_installed = vue,
ensure_installed = {
-- { "vue-language-server", version = "1.8.27" },
"black",
},
},
},
}
+24 -14
View File
@@ -1,16 +1,26 @@
-- config.lua
local config = {
-- lspconfig
"eslint-lsp",
"stylelint-lsp",
"tailwindcss-language-server",
"typescript-language-server",
-- "vue-language-server",
{ "vue-language-server", version = "1.8.27" },
-- Customize Mason
-- null_ls
"stylelint",
"prettier",
---@type LazySpec
return {
-- use mason-tool-installer for automatically installing Mason packages
{
"WhoIsSethDaniel/mason-tool-installer.nvim",
-- overrides `require("mason-tool-installer").setup(...)`
opts = {
-- Make sure to use the names found in `:Mason`
ensure_installed = {
-- lspconfig
"eslint-lsp",
"stylelint-lsp",
"tailwindcss-language-server",
"typescript-language-server",
-- "vue-language-server",
{ "vue-language-server", version = "1.8.27" },
-- null_ls
"stylelint",
"prettier",
},
},
},
}
return config