diff --git a/nvchad/configs/null-ls.lua b/nvchad/configs/null-ls.lua index cfdb3e0..f2c9b5f 100644 --- a/nvchad/configs/null-ls.lua +++ b/nvchad/configs/null-ls.lua @@ -7,16 +7,13 @@ end local b = null_ls.builtins local sources = { - -- webdev stuff - b.formatting.deno_fmt, -- choosed deno for ts/js files cuz its very fast! - b.formatting.prettier.with { filetypes = { "html", "markdown", "css" } }, -- so prettier works only on these filetypes + b.formatting.prettier, + b.diagnostics.eslint_d, + b.code_actions.eslint_d, -- Lua b.formatting.stylua, - - -- cpp - b.formatting.clang_format, } null_ls.setup { diff --git a/nvchad/configs/overrides.lua b/nvchad/configs/overrides.lua index 6a1afdc..a81116d 100644 --- a/nvchad/configs/overrides.lua +++ b/nvchad/configs/overrides.lua @@ -7,7 +7,7 @@ M.treesitter = { "html", "css", "javascript", - "c", + "typescript", "markdown", "markdown_inline", }, @@ -29,8 +29,8 @@ M.mason = { "css-lsp", "html-lsp", "typescript-language-server", - "deno", - "prettier" + "eslint_d", + "prettier", }, }