diff options
| author | Glenn <25990657+saltsucker@users.noreply.github.com> | 2021-11-29 10:31:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-29 11:31:08 +0100 |
| commit | fb44a4895b24c74a21a4e0f1f0828571809e4f04 (patch) | |
| tree | 6d7a456718515a9552b71e9822575c5ade5014c5 /lua | |
| parent | installers/npm: use global style (#289) (diff) | |
| download | mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.tar mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.tar.gz mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.tar.bz2 mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.tar.lz mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.tar.xz mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.tar.zst mason-fb44a4895b24c74a21a4e0f1f0828571809e4f04.zip | |
Added some clarity to eslint readme (#282)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/eslint/README.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/servers/eslint/README.md b/lua/nvim-lsp-installer/servers/eslint/README.md index 5feebfda..3bbcbb8b 100644 --- a/lua/nvim-lsp-installer/servers/eslint/README.md +++ b/lua/nvim-lsp-installer/servers/eslint/README.md @@ -8,7 +8,9 @@ setting. This is done when setting up the LSP server, like so: ```lua local lsp_installer = require "nvim-lsp-installer" -function common_on_attach(client, bufnr) ... end +function common_on_attach(client, bufnr) + -- add your code here +end lsp_installer.on_server_ready(function (server) local opts = { @@ -56,3 +58,5 @@ lsp_installer.on_server_ready(function (server) server:setup(opts) end) ``` + +*NOTE*: You will have to install the [`eslint` package](https://www.npmjs.com/package/eslint) either locally or globally for the server to run successfully. |
