Skip to content

Commit

Permalink
switch from LazyVim to AstroNvim; work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaku committed Jan 27, 2024
1 parent 49f46ee commit 666cf2e
Show file tree
Hide file tree
Showing 5 changed files with 1,390 additions and 2 deletions.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ return {
},

-- Set colorscheme to use
colorscheme = "astrodark",
-- colorscheme = "astrodark",
colorscheme = "everforest",
-- colorscheme = "gruvbox-material",

-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
diagnostics = {
Expand Down
24 changes: 24 additions & 0 deletions plugins/community.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,28 @@ return {

-- { import = "astrocommunity.colorscheme.catppuccin" },
-- { import = "astrocommunity.completion.copilot-lua-cmp" },

{ import = "astrocommunity.color.modes-nvim" },
-- { import = "astrocommunity.colorscheme.catppuccin" },
{ import = "astrocommunity.colorscheme.everforest" },
{ import = "astrocommunity.colorscheme.tokyonight-nvim" },
{ import = "astrocommunity.editing-support.comment-box-nvim" }, -- :CB
{ import = "astrocommunity.editing-support.dial-nvim" }, -- <C-A>/<C-X> with optional g prefix
-- { import = "astrocommunity.editing-support.mini-splitjoin" },
{ import = "astrocommunity.editing-support.nvim-treesitter-endwise" },
-- { import = "astrocommunity.editing-support.refactoring-nvim" }, -- needs NeoVim nightly!
{ import = "astrocommunity.editing-support.text-case-nvim" }, -- ga
{ import = "astrocommunity.editing-support.todo-comments-nvim" }, -- <leader>z
{ import = "astrocommunity.editing-support.treesj" }, -- <leader>m
-- { import = "astrocommunity.editing-support.true-zen-nvim" }, -- TODO: this doesn't restore tab & window focus
{ import = "astrocommunity.git.git-blame-nvim" }, -- FIXME: don't need this because gitsigns already does it???
-- { -- further customize the options set by the community
-- "f-person/git-blame.nvim",
-- opts = {
-- init = function()
-- vim.g.gitblame_highlight_group = "SpecialKey"
-- vim.g.gitblame_date_format = "%r"
-- end,
-- },
-- },
}
2 changes: 1 addition & 1 deletion plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ return {
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
-- "lua"
"lua"
})
end,
}
Loading

0 comments on commit 666cf2e

Please sign in to comment.