diff options
Diffstat (limited to 'dot-config/nvim/plugin/lsp.lua')
| -rw-r--r-- | dot-config/nvim/plugin/lsp.lua | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dot-config/nvim/plugin/lsp.lua b/dot-config/nvim/plugin/lsp.lua deleted file mode 100644 index 557063b..0000000 --- a/dot-config/nvim/plugin/lsp.lua +++ /dev/null @@ -1,34 +0,0 @@ -vim.pack.add({ - "https://github.com/neovim/nvim-lspconfig", - "https://github.com/mason-org/mason.nvim", - "https://github.com/stevearc/conform.nvim", -}) - -require("mason").setup() - -vim.lsp.enable({ - "expert", -- elixir - "lua_ls", -- lua - "prettier", - "ruff", --python - "tinymist", -- typst -}) - -require("conform").setup({ - -- Formatters - formatters_by_ft = { - elixir = { "mix" }, - javascript = { "prettier" }, - lua = { "stylua" }, - haskell = { "ormolu" }, - python = { "ruff format" }, - typescript = { "prettier" }, - typst = { "typstyle" }, - }, - - format_on_save = { - -- I recommend these options. See :help conform.format for details. - lsp_format = "fallback", - timeout_ms = 500, - }, -}) |
