mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
fix format
This commit is contained in:
@@ -14,7 +14,7 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
log_level = vim.log.levels.DEBUG,
|
log_level = vim.log.levels.DEBUG,
|
||||||
notify_on_error = true,
|
notify_on_error = true,
|
||||||
format_on_save = {
|
format_after_save = {
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
lsp_format = 'fallback',
|
lsp_format = 'fallback',
|
||||||
async = true,
|
async = true,
|
||||||
@@ -32,7 +32,8 @@ return {
|
|||||||
javascriptreact = { 'eslint_d' },
|
javascriptreact = { 'eslint_d' },
|
||||||
typescript = { 'eslint_d' },
|
typescript = { 'eslint_d' },
|
||||||
typescriptreact = { 'eslint_d' },
|
typescriptreact = { 'eslint_d' },
|
||||||
['*'] = { 'codespell', 'trim_whitespace' },
|
-- ['*'] = { 'codespell' },
|
||||||
|
['_'] = { 'trim_whitespace' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user