diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
| commit | f8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch) | |
| tree | c1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/vacuum.lua | |
| parent | feat: angularls #3746 (diff) | |
| download | nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.gz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.bz2 nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.lz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.xz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.zst nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.zip | |
docs: cleanup
- brief should live at the top of each file
- fix indentation for some docs
Diffstat (limited to 'lsp/vacuum.lua')
| -rw-r--r-- | lsp/vacuum.lua | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lsp/vacuum.lua b/lsp/vacuum.lua index 2f96334e..709f8b0b 100644 --- a/lsp/vacuum.lua +++ b/lsp/vacuum.lua @@ -1,19 +1,19 @@ ---@brief --- ---Vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. --- --- You can install vacuum using mason or follow the instructions here: https://github.com/daveshanley/vacuum --- --- The file types are not detected automatically, you can register them manually (see below) or override the filetypes: --- --- ```lua --- vim.filetype.add { --- pattern = { --- ['openapi.*%.ya?ml'] = 'yaml.openapi', --- ['openapi.*%.json'] = 'json.openapi', --- }, --- } --- ``` +--- +--- You can install vacuum using mason or follow the instructions here: https://github.com/daveshanley/vacuum +--- +--- The file types are not detected automatically, you can register them manually (see below) or override the filetypes: +--- +--- ```lua +--- vim.filetype.add { +--- pattern = { +--- ['openapi.*%.ya?ml'] = 'yaml.openapi', +--- ['openapi.*%.json'] = 'json.openapi', +--- }, +--- } +--- ``` return { cmd = { 'vacuum', 'language-server' }, filetypes = { 'yaml.openapi', 'json.openapi' }, |
