diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-04-18 09:33:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-18 09:33:33 -0700 |
| commit | c72c2dd49c0b8186bc34a843e563cc491e84e6d6 (patch) | |
| tree | 2eb6b3df596e22da629710a31fe0c691f9c6903b /lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| parent | update stylelint_lsp documentation (diff) | |
| download | nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.tar nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.tar.gz nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.tar.bz2 nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.tar.lz nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.tar.xz nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.tar.zst nvim-lspconfig-c72c2dd49c0b8186bc34a843e563cc491e84e6d6.zip | |
Merge pull request #851 from bmatcuk/master
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/stylelint_lsp.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/lspconfig/stylelint_lsp.lua b/lua/lspconfig/stylelint_lsp.lua index 972389a8..9028864c 100644 --- a/lua/lspconfig/stylelint_lsp.lua +++ b/lua/lspconfig/stylelint_lsp.lua @@ -20,6 +20,7 @@ configs.stylelint_lsp = { settings = {}; }, docs = { + package_json = "https://raw.githubusercontent.com/bmatcuk/coc-stylelintplus/master/package.json"; description = [[ https://github.com/bmatcuk/stylelint-lsp @@ -28,6 +29,18 @@ https://github.com/bmatcuk/stylelint-lsp ```sh npm i -g stylelint-lsp ``` + +Can be configured by passing a `settings.stylelintplus` object to `stylelint_lsp.setup`: + +```lua +require'lspconfig'.stylelint_lsp.setup{ + settings = { + stylelintplus = { + -- see available options in stylelint-lsp documentation + } + } +} +``` ]]; default_config = { root_dir = [[ root_pattern('.stylelintrc', 'package.json') ]]; |
