mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-19 16:27:45 +02:00
Compare commits
No commits in common. "7931d193b69fa6000eb592962d96d03c5b0738a4" and "f789c139cbe87f23f01d2c5e4c9652b15716b58a" have entirely different histories.
7931d193b6
...
f789c139cb
@ -1,5 +1,4 @@
|
||||
Bonitur
|
||||
Königinnensubstanz
|
||||
Magazinbeute
|
||||
Magazinbeuten
|
||||
Pollenhose
|
||||
|
@ -1,19 +1,12 @@
|
||||
return {
|
||||
-- improved refactoring
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
config = function()
|
||||
require("conform").setup({
|
||||
'stevearc/conform.nvim',
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
python = { "isort", "black" },
|
||||
markdown = { "mdformat" },
|
||||
tex = { "latexindent" },
|
||||
lua = { "stylua" },
|
||||
},
|
||||
})
|
||||
require("conform").formatters.latexindent = {
|
||||
prepend_args = { "-y=defaultIndent: ' '" },
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,15 +8,11 @@ return {
|
||||
config = function()
|
||||
require("null-ls").setup({
|
||||
sources = {
|
||||
-- latex
|
||||
require("null-ls").builtins.formatting.latexindent,
|
||||
-- lua
|
||||
require("null-ls").builtins.formatting.stylua,
|
||||
-- python
|
||||
require("null-ls").builtins.formatting.isort,
|
||||
require("null-ls").builtins.formatting.black,
|
||||
-- markdown
|
||||
require("null-ls").builtins.formatting.mdformat,
|
||||
-- python
|
||||
require("null-ls").builtins.formatting.black,
|
||||
require("null-ls").builtins.formatting.isort,
|
||||
}
|
||||
})
|
||||
end
|
||||
@ -26,11 +22,7 @@ return {
|
||||
opts = {
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
"black",
|
||||
"isort",
|
||||
"latexindent",
|
||||
"mdformat",
|
||||
"stylua",
|
||||
"isort", "black", "mdformat"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
column_width = 100
|
||||
line_endings = "Unix"
|
||||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
quote_style = "AutoPreferDouble"
|
||||
call_parentheses = "Always"
|
||||
collapse_simple_statement = "Never"
|
||||
|
||||
[sort_requires]
|
||||
enabled = true
|
Loading…
x
Reference in New Issue
Block a user