chore: uptodate v5

This commit is contained in:
huyjaky
2025-08-22 14:43:56 +07:00
commit e553f7585d
38 changed files with 1730 additions and 0 deletions

24
lua/plugins/none-ls.lua Normal file
View File

@@ -0,0 +1,24 @@
-- Formatting and Linting
return {
-- None-ls formatting
{
"nvimtools/none-ls.nvim",
dependencies = {
"nvimtools/none-ls-extras.nvim",
"jay-babu/mason-null-ls.nvim",
},
opts = function(_, opts)
local null_ls = require("null-ls")
opts.sources = {
require("none-ls.formatting.ruff").with({ extra_args = { "--extend-select", "F" } }),
require("none-ls.formatting.ruff_format"),
}
return opts
end,
},
-- Disabled formatting plugins
{ "rafamadriz/friendly-snippets", enabled = false },
{ "JoosepAlviste/nvim-ts-context-commentstring", enabled = false },
{ "windwp/nvim-ts-autotag", enabled = false },
}