summaryrefslogtreecommitdiff
path: root/dot-config/nvim/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/nvim/plugin')
-rw-r--r--dot-config/nvim/plugin/lsp.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot-config/nvim/plugin/lsp.lua b/dot-config/nvim/plugin/lsp.lua
index 3cd726b..557063b 100644
--- a/dot-config/nvim/plugin/lsp.lua
+++ b/dot-config/nvim/plugin/lsp.lua
@@ -9,6 +9,7 @@ require("mason").setup()
vim.lsp.enable({
"expert", -- elixir
"lua_ls", -- lua
+ "prettier",
"ruff", --python
"tinymist", -- typst
})
@@ -17,9 +18,11 @@ require("conform").setup({
-- Formatters
formatters_by_ft = {
elixir = { "mix" },
+ javascript = { "prettier" },
lua = { "stylua" },
haskell = { "ormolu" },
python = { "ruff format" },
+ typescript = { "prettier" },
typst = { "typstyle" },
},