mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2026-03-24 21:42:44 +00:00
Attempt to refactor config to be more maintainable
This commit is contained in:
3
lua/plugins/lang/kitty.lua
Normal file
3
lua/plugins/lang/kitty.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
{ "fladson/vim-kitty", ft = "kitty" },
|
||||
}
|
||||
10
lua/plugins/lang/lua.lua
Normal file
10
lua/plugins/lang/lua.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
14
lua/plugins/lang/markdown.lua
Normal file
14
lua/plugins/lang/markdown.lua
Normal 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
10
lua/plugins/lang/nix.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
nix = { "alejandra" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
21
lua/plugins/lang/python.lua
Normal file
21
lua/plugins/lang/python.lua
Normal 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" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
4
lua/plugins/lang/rust.lua
Normal file
4
lua/plugins/lang/rust.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
-- Analysis and inlay hints are absolutely essential
|
||||
{ "mrcjkb/rustaceanvim", version = "^6", lazy = false },
|
||||
}
|
||||
3
lua/plugins/lang/scallop.lua
Normal file
3
lua/plugins/lang/scallop.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
{ "scallop-lang/vim-scallop", ft = "scallop" },
|
||||
}
|
||||
Reference in New Issue
Block a user