neovim type of stuff

This commit is contained in:
2026-03-15 13:53:38 +02:00
parent 01278e4351
commit e7db7f7581
6 changed files with 97 additions and 7 deletions

View File

@@ -26,18 +26,19 @@ return {
formatters_by_ft = {
lua = { 'stylua' },
go = { 'gofmt' },
python = { 'ruff', "black", stop_after_first = true},
python = { 'ruff', 'black', stop_after_first = true },
javascript = { 'biome', 'prettier', stop_after_first = true },
typescript = { 'biome', 'prettier', stop_after_first = true },
html = { 'biome', 'prettier', stop_after_first = true },
html = { 'prettier', stop_after_first = true },
css = { 'biome', 'prettier', stop_after_first = true },
rust = { 'rustfmt', lsp_format = 'fallback' },
json = { 'biome', 'prettier', stop_after_first = true },
astro = { 'biome', 'prettier', stop_after_first = true },
astro = { 'prettier', 'biome', stop_after_first = true },
vue = { 'biome', 'prettier' },
svelte = { 'biome', 'prettier', stop_after_first = true },
svelte = { 'prettier', 'biome', stop_after_first = true },
yaml = { 'prettier' },
php = { 'pint', stop_after_first = true },
typst = { 'typstyle', stop_after_first = true },
},
formatters = {
biome = {

View File

@@ -0,0 +1,6 @@
return {
'm4xshen/hardtime.nvim',
lazy = false,
dependencies = { 'MunifTanjim/nui.nvim' },
opts = {},
}