switching to lazy extras manager

This commit is contained in:
Zynh0722 2023-12-14 03:49:45 -08:00
parent 17ec6bdf5d
commit b7b1127aac
4 changed files with 63 additions and 48 deletions

View file

@ -1,6 +1,13 @@
{ {
"extras": [ "extras": [
"lazyvim.plugins.extras.lang.rust" "lazyvim.plugins.extras.dap.core",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.lang.java",
"lazyvim.plugins.extras.lang.rust",
"lazyvim.plugins.extras.lang.tailwind",
"lazyvim.plugins.extras.lang.typescript",
"lazyvim.plugins.extras.ui.mini-animate"
], ],
"news": { "news": {
"NEWS.md": "2123" "NEWS.md": "2123"

View file

@ -11,15 +11,15 @@ require("lazy").setup({
-- add LazyVim and import its plugins -- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" }, { "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- import any extras modules here -- import any extras modules here
{ import = "lazyvim.plugins.extras.lang.json" }, -- { import = "lazyvim.plugins.extras.lang.json" },
{ import = "lazyvim.plugins.extras.lang.tailwind" }, -- { import = "lazyvim.plugins.extras.lang.tailwind" },
-- { import = "lazyvim.plugins.extras.lang.clangd" }, -- { import = "lazyvim.plugins.extras.lang.clangd" },
{ import = "lazyvim.plugins.extras.lang.typescript" }, -- { import = "lazyvim.plugins.extras.lang.typescript" },
-- { import = "lazyvim.plugins.extras.lang.rust" }, -- { import = "lazyvim.plugins.extras.lang.rust" },
-- { import = "lazyvim.plugins.extras.formatting.prettier" }, -- { import = "lazyvim.plugins.extras.formatting.prettier" },
{ import = "lazyvim.plugins.extras.editor.aerial" }, -- { import = "lazyvim.plugins.extras.editor.aerial" },
{ import = "lazyvim.plugins.extras.lang.tailwind" }, -- { import = "lazyvim.plugins.extras.lang.tailwind" },
{ import = "lazyvim.plugins.extras.ui.mini-animate" }, -- { import = "lazyvim.plugins.extras.ui.mini-animate" },
-- import/override with your plugins -- import/override with your plugins
{ import = "plugins" }, { import = "plugins" },
}, },

View file

@ -1,38 +1,49 @@
return {} -- return {}
-- return { return {
-- { {
-- "neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
-- ---@class PluginLspOpts ---@class PluginLspOpts
-- opts = { opts = {
-- ---@type lspconfig.options -- -@type lspconfig.options
-- servers = { servers = {
-- -- pyright will be automatically installed with mason and loaded with lspconfig -- pyright will be automatically installed with mason and loaded with lspconfig
-- rust_analyzer = { rust_analyzer = {
-- mason = false, mason = false,
-- settings = { settings = {
-- ["rust-analyzer"] = { ["rust-analyzer"] = {
-- imports = { rustfmt = {
-- granularity = { overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" },
-- group = "module", },
-- }, imports = {
-- }, granularity = {
-- cargo = { group = "module",
-- buildScripts = { },
-- enable = false, },
-- }, cargo = {
-- }, buildScripts = {
-- files = { enable = false,
-- excludeDirs = { },
-- "pe-template", },
-- }, files = {
-- }, excludeDirs = {
-- procMacro = { "pe-template",
-- enable = true, },
-- }, },
-- }, procMacro = {
-- }, enable = true,
-- }, },
-- }, },
-- }, },
-- }, },
-- } tailwindcss = {
init_options = {
userLanguages = {
rust = "html",
},
},
filetypes = { "rust" },
},
},
},
},
}

View file

@ -1,3 +0,0 @@
return {
{ import = "lazyvim.plugins.extras.lang.typescript" },
}