|
1 |
| -*vim-liq.txt* A short multi line description of your plugin |
| 1 | +*vim-liq.txt* A language server protocol client for VIM |
2 | 2 |
|
3 | 3 | ===============================================================================
|
4 | 4 | CONTENTS *vim-liq*
|
5 | 5 |
|
6 | 6 | 1. Intro .................................................. |vim-liq-intro|
|
7 | 7 | 2. Requirements .................................... |vim-liq-requirements|
|
8 | 8 | 3. Usage .................................................. |vim-liq-usage|
|
| 9 | + 3.1 Key bingings .................................... |vim-liq-keybindings| |
9 | 10 | 4. Licence .............................................. |vim-liq-licence|
|
10 | 11 | ===============================================================================
|
11 | 12 | 1. Intro *vim-liq-intro*
|
12 | 13 |
|
13 |
| -Overview of plugin |
| 14 | +vim-liq is a vim client for the Language Server Protocol (LSP). vim-liq stands |
| 15 | +for something along the lines of vim- "Language IQ" or "Lingustic |
| 16 | +Intelligence". |
| 17 | + |
14 | 18 |
|
15 | 19 | 2. Requirements *vim-liq-requirements*
|
16 | 20 |
|
17 |
| -What additional programs are required to run the plugin |
| 21 | +Vim 8, or later, with support for: |
| 22 | + |
| 23 | + - python (2.7) |
| 24 | + - autocommands |
| 25 | + - quickfix |
| 26 | + - timers |
| 27 | + - async calls |
| 28 | + |
| 29 | +python 2.7 or later (including python3) is needed to run the python |
| 30 | +language server (pyls). |
| 31 | + |
18 | 32 |
|
19 | 33 | 3. Usage *vim-liq-usage*
|
20 | 34 |
|
21 |
| -How to use the plugin. What functions does it give the user? |
| 35 | +The following high level, LSP, features have support: |
| 36 | + |
| 37 | + * Completion |
| 38 | + * References |
| 39 | + * Diagnostics |
| 40 | + * Definition |
| 41 | + * Symbols |
| 42 | + |
| 43 | +See https://github.com/Microsoft/language-server-protocol for details on the |
| 44 | +language server protocol features. |
| 45 | + |
| 46 | +Diagnostics is automatically enabled and uses vim signs. When moving to a line |
| 47 | +with a diagnostics mark the message for that line is displayed in the |
| 48 | +command-line. |
| 49 | + |
| 50 | +To disable the usage of signs set the following in your .vimrc:: |
| 51 | + |
| 52 | + let g:langIQ_disablesigns = 1 |
| 53 | + |
| 54 | + |
| 55 | +3.1. Key bindings *vim-liq-keybindings* |
| 56 | + |
| 57 | +The plugin by default map the following keybindings: |
| 58 | + |
| 59 | +CTRL-Space: completion (insert mode) |
| 60 | +.: completion (insert mode) |
| 61 | +LEADER-d: goto definition (normal mode) |
| 62 | +LEADER-f: find references (normal mode) |
| 63 | + |
| 64 | +To disbale the default key bindings set the following in your .vimrc: |
| 65 | + |
| 66 | + let g:langIQ_disablekeymap = 1 |
22 | 67 |
|
23 | 68 | 4. Licence *vim-liq-licence*
|
24 | 69 |
|
|
0 commit comments