|
| 1 | +*vim-lsp-bash.txt* Sets up vim-lsp for Bash script. |
| 2 | + |
| 3 | +============================================================================= |
| 4 | +CONTENTS *vim-lsp-bash-contents* |
| 5 | + |
| 6 | + 1. Introduction .......... |vim-lsp-bash-introduction| |
| 7 | + 2. Install ............... |vim-lsp-bash-install| |
| 8 | + a. Plugin .............. |vim-lsp-bash-install-plugin| |
| 9 | + b. Language Server ..... |vim-lsp-bash-install-language-server| |
| 10 | + 3. License ............... |vim-lsp-bash-license| |
| 11 | + |
| 12 | +============================================================================= |
| 13 | +INTRODUCTION *vim-lsp-bash-introduction* |
| 14 | + |
| 15 | +vim-lsp, https://github.com/prabirshrestha/vim-lsp, is a vim plugin that |
| 16 | +enables the use of use of the Language Service Protocol. vim-lsp-bash |
| 17 | +provides the language server setup for Bash script. So for you to use vim-lsp |
| 18 | +in your Bash script project, all you need to do is have vim-lsp and |
| 19 | +vim-lsp-bash installed and you'll have a working setup. |
| 20 | + |
| 21 | +See: :help vim-lsp.txt for more information on that plugin. |
| 22 | + |
| 23 | +============================================================================= |
| 24 | +INSTALL *vim-lsp-bash-install* |
| 25 | + |
| 26 | +PLUGIN *vim-lsp-bash-install-plugin* |
| 27 | + |
| 28 | +To get the full lsp experience (with autocomplete and code navigation |
| 29 | +features). Use the following setup (using vim-plug) to install plugins |
| 30 | + |
| 31 | + Plug 'prabirshrestha/asyncomplete.vim' |
| 32 | + Plug 'prabirshrestha/async.vim' |
| 33 | + Plug 'prabirshrestha/vim-lsp' |
| 34 | + Plug 'prabirshrestha/asyncomplete-lsp.vim' |
| 35 | + Plug 'lgranie/vim-lsp-bash' |
| 36 | + |
| 37 | + |
| 38 | +LANGUAGE SERVER *vim-lsp-bash-install-language-server* |
| 39 | + |
| 40 | +You must install the Bash script language service so that we can get the LSP |
| 41 | +functionality for Bash script. To do so, you'll need to: |
| 42 | + |
| 43 | +1. Install NPM and Node.js |
| 44 | +2. Install the language service. |
| 45 | + |
| 46 | + npm install -g bash-language-server |
| 47 | + |
| 48 | +============================================================================= |
| 49 | +LICENSE *vim-lsp-bash-license* |
| 50 | + |
| 51 | +The MIT License (MIT) |
| 52 | + |
| 53 | +Full license text: |
| 54 | +https://github.com/lgranie/vim-lsp-bash/blob/master/LICENSE |
| 55 | + |
| 56 | +vim:tw=78:ts=8:ft=help:norl:noet:fen: |
0 commit comments