1
Fork 0

Switched nvim back to prettier (for now)

This commit is contained in:
Matei Adriel 2023-02-02 01:33:12 +01:00
parent 15247fa82d
commit 5e696cf9d0
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -12,7 +12,8 @@ function M.config()
local null_ls = require("null-ls")
local sources = {
null_ls.builtins.formatting.prettierd.with({ extra_filetypes = {} }), -- format ts files
null_ls.builtins.formatting.prettier.with({ extra_filetypes = {} }), -- format ts files
-- null_ls.builtins.formatting.prettierd.with({ extra_filetypes = {} }), -- format ts files
null_ls.builtins.formatting.stylua.with({}), -- format lua code
-- null_ls.builtins.formatting.lua_format.with({}), -- format lua code
}

View file

@ -17,6 +17,7 @@ let
stylua # Lua
ormolu # Haskell
nodePackages_latest.purs-tidy # Purescript
nodePackages_latest.prettier # Js & friends
nodePackages_latest.prettier_d_slim # Js & friends
# Others