1
0

Moved snippets folder, Added Oil and conform to windows config, improved lsp and telescope config

This commit is contained in:
2024-09-26 16:05:29 +02:00
parent 71f08e66aa
commit 0411f4b928
8 changed files with 87 additions and 12 deletions

View File

@@ -0,0 +1,21 @@
return {
"stevearc/conform.nvim",
event = { "BufWritePre"},
cmd = { "ConformInfo"},
opts = {
formatters_by_ft = {
php = { "pint"},
lua = { "stylua"},
javascript = { "prettierd", "prettier", stop_after_first = true },
typescript = { "prettierd", "prettier", stop_after_first = true },
},
format_on_save = { timeout_ms = 500 },
default_format_ops = {
lsp_format = "fallback"
},
},
config = function ()
require("conform").setup()
end
}