Skip to content

Commit

Permalink
Update lazyvim
Browse files Browse the repository at this point in the history
  • Loading branch information
aminfara committed Dec 22, 2023
1 parent 54a86c8 commit 6dda873
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 108 deletions.
5 changes: 1 addition & 4 deletions .stylua.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
column_width = 120
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
no_call_parentheses = false
column_width = 120
57 changes: 0 additions & 57 deletions lazyvim/lazy-lock.json

This file was deleted.

3 changes: 2 additions & 1 deletion lazyvim/lua/config/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
-- bootstrap lazy.nvim
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable",
lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)

Expand Down
7 changes: 3 additions & 4 deletions lazyvim/lua/plugins/example.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- stylua: ignore
if true then return {} end

-- every spec file under config.plugins will be loaded automatically by lazy.nvim
-- every spec file under the "plugins" directory will be loaded automatically by lazy.nvim
--
-- In your plugin files, you can:
-- * add extra plugins
Expand Down Expand Up @@ -44,8 +44,7 @@ return {
dependencies = { "hrsh7th/cmp-emoji" },
---@param opts cmp.ConfigSchema
opts = function(_, opts)
local cmp = require("cmp")
opts.sources = cmp.config.sources(vim.list_extend(opts.sources, { { name = "emoji" } }))
table.insert(opts.sources, { name = "emoji" })
end,
},

Expand Down Expand Up @@ -196,7 +195,7 @@ return {
-- use mini.starter instead of alpha
{ import = "lazyvim.plugins.extras.ui.mini-starter" },

-- add jsonls and schemastore ans setup treesitter for json, json5 and jsonc
-- 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
Expand Down
42 changes: 0 additions & 42 deletions lazyvim/lua/plugins/text.lua

This file was deleted.

0 comments on commit 6dda873

Please sign in to comment.