README.md | 22 +++++++++++++++++++++- diff --git a/README.md b/README.md index cb286d07aba08d85b3082ddd696baf1c76317670..366a906aaf2a26d71e37809f2fb3b8400f17ccad 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,31 @@ \ 'filetype': 'sh', \ 'path': '/usr/local/bin/bash-language-server', \ 'args': ['start'] \ }, + \ { + \ 'filetype': 'vim', + \ 'path': '/usr/local/bin/vim-language-server', + \ 'args': ['--stdio'] + \ }, + \ { + \ 'filetype': ['go', 'gomod'], + \ 'path': '/usr/local/bin/gopls', + \ 'args': [] + \ }, + \ { + \ 'filetype': ['python'], + \ 'path': '/usr/local/bin/pyls', + \ 'args': [] + \ }, + \ { + \ 'filetype': ['fortran'], + \ 'path': '/usr/local/bin/fortls', + \ 'args': ['--nthreads=1', '--use_signature_help', '--hover_signature'] + \ } \ ] call lsp#addServer(lspServers) ``` -The above lines add the LSP servers for C, C++, Javascript, Typescript and Shell script file types. +The above lines add the LSP servers for C, C++, Javascript, Typescript, Shell script, Vim script, Go and Python file types. To add a LSP server, the following information is needed: