nvim: Add htmx lsp and mdslw markdown formatting
mdslw will format markdown sentence-wise, in addition to 80-col width. Let's see if it's gonna be useful or super annoying.
This commit is contained in:
parent
ac01db2d6d
commit
eb6e72c58d
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ local languages = {
|
|||
dap = { "delve" },
|
||||
},
|
||||
graphql = { format = { graphql = { "prettier" } } },
|
||||
html = { format = { html = { "prettier", "rustywind" } } },
|
||||
html = { lsp = { htmx = {} }, format = { html = { "prettier", "rustywind" } } },
|
||||
julia = { lsp = { julials = {} }, ts = { "julia" } },
|
||||
json = {
|
||||
lsp = { jsonls = {} },
|
||||
|
|
@ -103,7 +103,7 @@ local languages = {
|
|||
lsp = { marksman = {} },
|
||||
ts = { "markdown", "markdown_inline" },
|
||||
lint = { markdown = { "markdownlint" } },
|
||||
format = { markdown = { "prettier", "injected" } },
|
||||
format = { markdown = { "prettier", "mdslw", "injected" } },
|
||||
},
|
||||
nim = { lsp = { nim_langserver = {} }, ts = { "nim", "nim_format_string" }, format = { nim = { "nimpretty" } } },
|
||||
nu = nushell(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue