From f8b5cbe6312b568def1f91d747e2cdb8984fdf2e Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 18 Apr 2025 17:44:38 +0200 Subject: docs: cleanup - brief should live at the top of each file - fix indentation for some docs --- lsp/ada_ls.lua | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'lsp/ada_ls.lua') diff --git a/lsp/ada_ls.lua b/lsp/ada_ls.lua index 82a89a93..c3a05e32 100644 --- a/lsp/ada_ls.lua +++ b/lsp/ada_ls.lua @@ -2,23 +2,23 @@ local util = require 'lspconfig.util' ---@brief --- --- https://github.com/AdaCore/ada_language_server --- --- Installation instructions can be found [here](https://github.com/AdaCore/ada_language_server#Install). --- --- Workspace-specific [settings](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) such as `projectFile` can be provided in a `.als.json` file at the root of the workspace. --- Alternatively, configuration may be passed as a "settings" object to `vim.lsp.config('ada_ls', {})`: --- --- ```lua --- vim.lsp.config('ada_ls', { --- settings = { --- ada = { --- projectFile = "project.gpr"; --- scenarioVariables = { ... }; --- } --- } --- }) --- ``` +--- https://github.com/AdaCore/ada_language_server +--- +--- Installation instructions can be found [here](https://github.com/AdaCore/ada_language_server#Install). +--- +--- Workspace-specific [settings](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) such as `projectFile` can be provided in a `.als.json` file at the root of the workspace. +--- Alternatively, configuration may be passed as a "settings" object to `vim.lsp.config('ada_ls', {})`: +--- +--- ```lua +--- vim.lsp.config('ada_ls', { +--- settings = { +--- ada = { +--- projectFile = "project.gpr"; +--- scenarioVariables = { ... }; +--- } +--- } +--- }) +--- ``` return { cmd = { 'ada_language_server' }, filetypes = { 'ada' }, -- cgit v1.2.3-70-g09d2