nvim-config/lua/community.lua

105 lines
3.5 KiB
Lua

-- if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroCommunity: import any community modules here
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
-- This guarantees that the specs are processed before any user plugins.
---@type LazySpec
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.lua" },
-- import/override with your plugins folder
-- colorscheme
{ import = "astrocommunity.colorscheme.everforest" },
-- completion
-- { import = "astrocommunity.completion.codeium-vim" },
-- { import = "astrocommunity.completion.copilot-lua-cmp" },
-- diagnostics
{ import = "astrocommunity.diagnostics.lsp_lines-nvim" },
{ import = "astrocommunity.diagnostics.trouble-nvim" },
-- docker
{ import = "astrocommunity.docker.lazydocker" },
-- editing-support
{ import = "astrocommunity.editing-support.treesj" },
{ import = "astrocommunity.editing-support.todo-comments-nvim" },
{ import = "astrocommunity.editing-support.rainbow-delimiters-nvim" },
{ import = "astrocommunity.editing-support.auto-save-nvim" },
{ import = "astrocommunity.editing-support.refactoring-nvim" },
-- { import = "astrocommunity.editing-support.vim-doge" }, -- docs generator
-- { import = "astrocommunity.editing-support.nvim-origami" }, -- fold key bindings
{ import = "astrocommunity.editing-support.wildfire-nvim" },
-- file-explorer
{ import = "astrocommunity.file-explorer.oil-nvim" },
-- git
{ import = "astrocommunity.git.gitgraph-nvim" },
{ import = "astrocommunity.git.neogit" },
-- icon
{ import = "astrocommunity.icon.mini-icons" },
-- lsp
{ import = "astrocommunity.lsp.inc-rename-nvim" },
{ import = "astrocommunity.lsp.lsp-signature-nvim" },
-- motion
{ import = "astrocommunity.motion.hop-nvim" },
-- pack
{ import = "astrocommunity.pack.bash" },
{ import = "astrocommunity.pack.docker" },
-- { import = "astrocommunity.pack.full-dadbod" }, -- databases
{ import = "astrocommunity.pack.html-css" },
{ import = "astrocommunity.pack.json" },
{ import = "astrocommunity.pack.jj" },
-- { import = "astrocommunity.pack.just" },
{ import = "astrocommunity.pack.java" },
{
"mfussenegger/nvim-jdtls",
opts = {
settings = {
java = {
configuration = {
updateBuildConfiguration = "interactive",
runtimes = {
{
name = "Java-17",
path = os.getenv("HOME") .. "/.local/share/mise/installs/java/corretto-17/",
default = true,
},
{
name = "Java-8",
path = os.getenv("HOME") .. "/.local/share/mise/installs/java/adoptopenjdk-8.0.392+8/",
},
},
},
},
},
},
},
{ import = "astrocommunity.pack.markdown" },
-- { import = "astrocommunity.pack.python" },
{ import = "astrocommunity.pack.rust" },
-- { import = "astrocommunity.pack.terraform" },
{ import = "astrocommunity.pack.typescript" },
{ import = "astrocommunity.pack.yaml" },
-- quickfix
{ import = "astrocommunity.quickfix.quicker-nvim" },
-- scrolling
{ import = "astrocommunity.scrolling.nvim-scrollbar" },
-- test
-- { import = "astrocommunity.test.neotest" }, -- doesn't detect when a test fails v5.2.5
-- { import = "astrocommunity.test.nvim-coverage" }, -- doesn't appear to detect coverage reports
-- workflow
-- { import = "astrocommunity.workflow.hardtime-nvim" },
}