Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
22
.config/nvim/lsp/prolog_ls.lua
Normal file
22
.config/nvim/lsp/prolog_ls.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://github.com/jamesnvc/lsp_server
|
||||
---
|
||||
--- Language Server Protocol server for SWI-Prolog
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = {
|
||||
'swipl',
|
||||
'-g',
|
||||
'use_module(library(lsp_server)).',
|
||||
'-g',
|
||||
'lsp_server:main',
|
||||
'-t',
|
||||
'halt',
|
||||
'--',
|
||||
'stdio',
|
||||
},
|
||||
filetypes = { 'prolog' },
|
||||
root_markers = { 'pack.pl' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue