diff --git a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua index ba24920..f9ce475 100644 --- a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua +++ b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua @@ -22,7 +22,7 @@ null_ls.setup({ diagnostics.eslint_d.with({ -- js/ts linter -- only enable eslint if root has .eslintrc.js (not in youtube nvim video) condition = function(utils) - return utils.root_has_file(".eslintrc.js") + return utils.root_has_file(".eslintrc.js") -- change file name if you use something else end, }), },