diff --git a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua index ba24920..a80fc69 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 extension if you use something else end, }), }, diff --git a/README.md b/README.md index 4dd16c7..b1b6025 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ - [Neovim](https://neovim.io/) (Version 0.8 or Later) - [Nerd Font](https://www.nerdfonts.com/) - I use Meslo Nerd Font - [Ripgrep](https://github.com/BurntSushi/ripgrep) - For Telescope Fuzzy Finder +- If working with typescript/javascript and the typescript language server like me. You might need to install node. If you're on mac, like me, you can install iTerm2, Neovim and Ripgrep with homebrew. ```bash