diff options
| author | Freya Murphy <freya@freyacat.org> | 2023-12-04 19:22:07 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2023-12-04 19:22:07 -0500 |
| commit | 2e0f1541d649c648b4c8998fa38102e9f8322d5e (patch) | |
| tree | 86f324b24d17bf78f1ffaee78b214c76aa6411f2 /.config/nvim/lua/lspconfig | |
| parent | fix neovim having two titles, fix man (diff) | |
| download | dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.tar.gz dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.tar.bz2 dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.zip | |
update mako, nvim add prolog
Diffstat (limited to '.config/nvim/lua/lspconfig')
| -rw-r--r-- | .config/nvim/lua/lspconfig/prolog_lsp.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/nvim/lua/lspconfig/prolog_lsp.lua b/.config/nvim/lua/lspconfig/prolog_lsp.lua new file mode 100644 index 0000000..85ea353 --- /dev/null +++ b/.config/nvim/lua/lspconfig/prolog_lsp.lua @@ -0,0 +1,21 @@ +local configs = require 'lspconfig.configs' +local util = require 'lspconfig/util' + +configs.prolog_lsp = { + default_config = { + cmd = {"swipl", + "-g", "use_module(library(lsp_server)).", + "-g", "lsp_server:main", + "-t", "halt", + "--", "stdio"}; + filetypes = {"prolog"}; + root_dir = util.root_pattern("pack.pl"); + }; + docs = { + description = [[ + https://github.com/jamesnvc/prolog_lsp + + Prolog Language Server + ]]; + } +} |