null-ls and session
This commit is contained in:
@@ -11,6 +11,9 @@ return {
|
||||
},
|
||||
opts = {
|
||||
async = true,
|
||||
format = {
|
||||
timeout_ms = 5000,
|
||||
},
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
-- Conform will run multiple formatters sequentially
|
||||
@@ -20,10 +23,10 @@ return {
|
||||
-- Conform will run the first available formatter
|
||||
javascript = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
|
||||
typescript = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
|
||||
prisma = { "null-ls", lsp_format = false },
|
||||
format_on_save = {
|
||||
-- These options will be passed to conform.format()
|
||||
timeout_ms = 500,
|
||||
lsp_format = "fallback",
|
||||
timeout_ms = 5000,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user