aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/tclsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/tclsp.lua')
-rw-r--r--lsp/tclsp.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/lsp/tclsp.lua b/lsp/tclsp.lua
new file mode 100644
index 00000000..7560ea67
--- /dev/null
+++ b/lsp/tclsp.lua
@@ -0,0 +1,22 @@
+---@brief
+---
+--- https://github.com/nmoroze/tclint
+---
+--- `tclsp`, a language server for Tcl
+---
+--- `tclsp` can be installed via `pipx`:
+--- ```sh
+--- pipx install tclint
+--- ```
+---
+--- Or via `pip`:
+--- ```sh
+--- pip install tclint
+--- ```
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'tclsp' },
+ filetypes = { 'tcl', 'sdc', 'xdc', 'upf' },
+ root_markers = { 'tclint.toml', '.tclint', 'pyproject.toml', '.git' },
+}