Attempt to refactor config to be more maintainable

This commit is contained in:
2025-12-22 17:08:53 +00:00
parent 7125fd8858
commit baf431168a
13 changed files with 223 additions and 184 deletions

View File

@@ -0,0 +1,3 @@
return {
{ "fladson/vim-kitty", ft = "kitty" },
}

10
lua/plugins/lang/lua.lua Normal file
View File

@@ -0,0 +1,10 @@
return {
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
lua = { "stylua" },
},
},
},
}

View File

@@ -0,0 +1,14 @@
return {
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {},
ft = "markdown",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"echasnovski/mini.nvim",
"nvim-tree/nvim-web-devicons",
},
---@module 'render-markdown'
---@type render.md.UserConfig
},
}

10
lua/plugins/lang/nix.lua Normal file
View File

@@ -0,0 +1,10 @@
return {
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
nix = { "alejandra" },
},
},
},
}

View File

@@ -0,0 +1,21 @@
return {
{
"benomahony/uv.nvim",
ft = { "python" },
dependencies = {
"folke/snacks.nvim",
"nvim-telescope/telescope.nvim",
},
opts = {
picker_integration = true,
},
},
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
python = { "ruff" },
},
},
},
}

View File

@@ -0,0 +1,4 @@
return {
-- Analysis and inlay hints are absolutely essential
{ "mrcjkb/rustaceanvim", version = "^6", lazy = false },
}

View File

@@ -0,0 +1,3 @@
return {
{ "scallop-lang/vim-scallop", ft = "scallop" },
}