Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 5216df8

Browse files
lsp: disable markdown and prettier format on save
Markdown formatting too agressive with Material for MkDoc features
1 parent a5d7cad commit 5216df8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,14 @@ return {
3737
},
3838
ignore_filetypes = { -- disable format on save for specified filetypes
3939
"lua",
40+
"markdown",
4041
},
4142
},
4243
disabled = { -- disable formatting capabilities for the listed language servers
4344
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
4445
-- "lua_ls",
46+
"prettier",
47+
"prettierd",
4548
},
4649
timeout_ms = 1000, -- default format timeout
4750
-- filter = function(client) -- fully override the default formatting function

0 commit comments

Comments
 (0)