Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove importing Extras from the example #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions lua/plugins/example.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,11 @@ return {
},

-- for typescript, LazyVim also includes extra specs to properly setup lspconfig,
-- treesitter, mason and typescript.nvim. So instead of the above, you can use:
{ import = "lazyvim.plugins.extras.lang.typescript" },
-- treesitter, mason and typescript.nvim. So instead of the above, you can use
-- { import = "lazyvim.plugins.extras.lang.typescript" } in config/lazy.lua or
-- installing Extras with :LazyExtras. Do not import Extras from plugins/ folder
-- as it might lead to unintended consequences for configuration. See
-- https://github.com/LazyVim/LazyVim/issues/2567

-- add more treesitter parsers
{
Expand Down Expand Up @@ -192,12 +195,6 @@ return {
end,
},

-- use mini.starter instead of alpha
{ import = "lazyvim.plugins.extras.ui.mini-starter" },

-- add jsonls and schemastore packages, and setup treesitter for json, json5 and jsonc
{ import = "lazyvim.plugins.extras.lang.json" },

-- add any tools you want to have installed below
{
"williamboman/mason.nvim",
Expand Down