Skip to content

Formatter in neovim #306

Answered by KillTheMule
DashieTM asked this question in Q&A
Sep 21, 2023 · 3 comments · 9 replies
Discussion options

You must be logged in to vote

Huh, I'm kinda having a dejavu, but ... it's working for me :) My config is much more simple though

nvim_lsp["typst_lsp"].setup{
  on_attach = on_attach,
  root_dir = function(fname) return util.path.dirname(fname) end,
  settings = {
    exportPdf = "never",
    experimentalFormatterMode = "on",
  },
}

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
7 replies
@DashieTM
Comment options

@KillTheMule
Comment options

@DashieTM
Comment options

@KillTheMule
Comment options

Answer selected by DashieTM
@DashieTM
Comment options

Comment options

You must be logged in to vote
2 replies
@avonmoll
Comment options

@KillTheMule
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants