aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/pasls.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-18 17:44:38 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-04-18 17:44:38 +0200
commitf8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch)
treec1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/pasls.lua
parentfeat: angularls #3746 (diff)
downloadnvim-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/pasls.lua')
-rw-r--r--lsp/pasls.lua33
1 files changed, 17 insertions, 16 deletions
diff --git a/lsp/pasls.lua b/lsp/pasls.lua
index e148213a..ef544c9d 100644
--- a/lsp/pasls.lua
+++ b/lsp/pasls.lua
@@ -1,21 +1,22 @@
-local util = require 'lspconfig.util'
-
---@brief
---
--- https://github.com/genericptr/pascal-language-server
---
--- An LSP server implementation for Pascal variants that are supported by Free Pascal, including Object Pascal. It uses CodeTools from Lazarus as backend.
---
--- First set `cmd` to the Pascal lsp binary.
---
--- Customization options are passed to pasls as environment variables for example in your `.bashrc`:
--- ```bash
--- export FPCDIR='/usr/lib/fpc/src' # FPC source directory (This is the only required option for the server to work).
--- export PP='/usr/lib/fpc/3.2.2/ppcx64' # Path to the Free Pascal compiler executable.
--- export LAZARUSDIR='/usr/lib/lazarus' # Path to the Lazarus sources.
--- export FPCTARGET='' # Target operating system for cross compiling.
--- export FPCTARGETCPU='x86_64' # Target CPU for cross compiling.
--- ```
+--- https://github.com/genericptr/pascal-language-server
+---
+--- An LSP server implementation for Pascal variants that are supported by Free Pascal, including Object Pascal. It uses CodeTools from Lazarus as backend.
+---
+--- First set `cmd` to the Pascal lsp binary.
+---
+--- Customization options are passed to pasls as environment variables for example in your `.bashrc`:
+--- ```bash
+--- export FPCDIR='/usr/lib/fpc/src' # FPC source directory (This is the only required option for the server to work).
+--- export PP='/usr/lib/fpc/3.2.2/ppcx64' # Path to the Free Pascal compiler executable.
+--- export LAZARUSDIR='/usr/lib/lazarus' # Path to the Lazarus sources.
+--- export FPCTARGET='' # Target operating system for cross compiling.
+--- export FPCTARGETCPU='x86_64' # Target CPU for cross compiling.
+--- ```
+
+local util = require 'lspconfig.util'
+
return {
cmd = { 'pasls' },
filetypes = { 'pascal' },