forked from neoclide/coc.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coc.txt
3618 lines (2357 loc) · 102 KB
/
coc.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
*coc-nvim.txt* NodeJS client for Vim & Neovim.
Version: 0.0.80
Author: Qiming Zhao <chemzqm at gmail.com>
License: MIT license
CONTENTS *coc-contents*
Introduction |coc-introduction|
Requirements |coc-requirements|
Installation |coc-installation|
Configuration |coc-configuration|
Completion |coc-completion|
Interface |coc-interface|
Key mappings |coc-key-mappings|
Variables |coc-variables|
Functions |coc-functions|
Commands |coc-commands|
Autocmds |coc-autocmds|
Highlights |coc-highlights|
Tree |coc-tree|
Tree mappings |coc-tree-mappings|
Tree filter |coc-tree-filter|
List |coc-list|
List command |coc-list-command|
List command options |coc-list-options|
List configuration |coc-list-configuration|
List mappings |coc-list-mappings|
list sources |coc-list-sources|
Location |coc-list-location|
Extensions |coc-list-extensions|
Diagnostics |coc-list-diagnostics|
Outline |coc-list-outline|
Symbols |coc-list-symbols|
Services |coc-list-services|
Commands |coc-list-commands|
Links |coc-list-links|
Sources |coc-list-completion-sources|
Lists |coc-list-lists|
Dialog |coc-dialog|
Dialog basic |coc-dialog-basic|
Dialog confirm |coc-dialog-confirm|
Dialog input |coc-dialog-input|
Dialog menu |coc-dialog-menu|
Dialog picker |coc-dialog-picker|
Statusline support |coc-status|
Manual |coc-status-manual|
Airline |coc-status-airline|
Lightline |coc-status-lightline|
FAQ |coc-faq|
Changelog |coc-changelog|
==============================================================================
INTRODUCTION *coc-introduction*
Coc.nvim enhances your (Neo)Vim to match the user experience provided by
VSCode through a rich plugin (or extension) ecosystem and support for Language
Server Protocol.
Some of its key features include:~
- APIs compatible with both Vim8 and Neovim.
- Loading VSCode-like extensions.
- Configuring coc.nvim and its extensions with a JSON configuration file.
- Configuring Language Servers implemented according to Language Server
Protocol (LSP).
It is designed for best possible integration with other Vim plugins.
Note: This plugin doesn't come with support for any specific language. You
will need to install a coc extension or set up the language server yourself.
Note: This plugin doesn't change any of your existing key-mappings. You will
need to create key-mappings by yourself, see README for examples.
Note: Automatic completion plugins can't play nicely together, you can disable
automatic completion of coc.nvim through `"suggest.autoTrigger": "none"` (or
`"suggest.autoTrigger": "trigger"`) in your settings file.
==============================================================================
REQUIREMENTS *coc-requirements*
Neovim >= 0.3.2 or Vim >= 8.0.1453, for best experience, use neovim >= 0.4.0
or vim >= 8.2.0750.
NodeJS https://nodejs.org/ >= 12.12.0.
Yarn https://yarnpkg.com/ required to build coc.nvim from typescript source
code.
==============================================================================
INSTALLATION *coc-installation*
If you're using [vim-plug](https://github.com/junegunn/vim-plug), add this to
your `init.vim` or `.vimrc`: >
Plug 'neoclide/coc.nvim', {'branch': 'release'}
<
And run: >
:PlugInstall
For other plugin managers, make sure to use code from the release branch.
You can also use Vim's native package management: >
#!/bin/sh
# for vim8
mkdir -p ~/.vim/pack/coc/start
cd ~/.vim/pack/coc/start
curl --fail -L https://github.com/neoclide/coc.nvim/archive/release.tar.gz|tar xzfv -
# for neovim
mkdir -p ~/.local/share/nvim/site/pack/coc/start
cd ~/.local/share/nvim/site/pack/coc/start
curl --fail -L https://github.com/neoclide/coc.nvim/archive/release.tar.gz|tar xzfv -
==============================================================================
CONFIGURATION *coc-configuration*
The configuration of coc.nvim is stored in `coc-settings.json` file. You can
open it through |:CocConfig|. This will open (or create) a global settings
files in folder returned by |coc#util#get_config_home()|
To create a local configuration project for a specific workspace, use
|:CocLocalConfig|: this will create `.vim/coc-settings.json` in the current
workspace folder.
The global configuration file can be created in another directory by setting
`g:coc_config_home` in your `.vimrc` or `init.vim`: >
let g:coc_config_home = '/path/you/prefer'
When creating a local configuration file, it's possible to use
|b:coc_root_patterns| for resolve the root directory from the filepath of
opened buffer.
Since the configuration files are all in JSON format, it's suggested to enable
JSON completion and validation by install the `coc-json` extension: >
:CocInstall coc-json
<
Check https://github.com/neoclide/coc.nvim/wiki/Using-the-configuration-file
for more details.
Built-in configurations:~
*coc-config-http*
"http.proxy":~
HTTP proxy URI, used for extensions that send request, default: `""`
"http.proxyStrictSSL":~
Controls whether the proxy server certificate should be verified
against the list of supplied CAs, default: `true`
"http.proxyAuthorization":~
The value to send as the `Proxy-Authorization` header for every
network request.
"http.proxyCA":~
CA (file) to use as Certificate Authority.
*coc-config-suggest*
"suggest.enablePreselect":~
Enable preselect feature on Neovim, default: `false`
"suggest.labelMaxLength":~
Maximum length of label shown in 'pum', default: `200`
"suggest.enablePreview":~
Add preview option to 'completeopt', default: `false`
"suggest.floatEnable":~
Enable floating window for documentation when possible, default: `true`
"suggest.floatConfig":~
Configuration of floating window/popup, see |coc-config-float|.
Excludes properties: "title", "close" and "maxHeight".
"suggest.detailMaxLength":~
Max length of detail that will be shown in popup menu, default: `100`
"suggest.detailField":~
Where to add the detail in complete item when it's less than max
length, default: `"preview"` when floating documentation is enabled.
Valid options: ["abbr", "menu", "preview"]
"suggest.autoTrigger":~
How should completion be triggered, default: `"always"`
Valid options: ["always", "trigger", "none"]
- `always`: trigger suggest on word characters and trigger
characters.
- `trigger`: trigger suggest on trigger characters only.
- `none`: no auto trigger at all.
"suggest.languageSourcePriority":~
Priority of language sources, default: `99`
"suggest.numberSelect":~
Input number to select complete item, it could be wrong when
using '<up>' and '<down>' to select complete item, default: `false`
"suggest.disableKind":~
Remove kind field from Vim complete item, default: `false`
"suggest.disableMenu":~
Remove menu field from Vim complete item, default: `false`
"suggest.snippetIndicator":~
The character used in completion item abbreviation to indicate it
expands as code snippet, default: `"~"`
"suggest.maxCompleteItemCount":~
Maximum number of complete items shown in Vim, default: `50`
"suggest.preferCompleteThanJumpPlaceholder":~
Confirm completion instead of jump to next placeholder when completion
activates, default: `false`
"suggest.snippetsSupport":~
Enable snippets expands expand on confirm completion. When set to
`false` coc.nvim would set language client option:
`CompletionClientCapabilities.completionItem.snippetSupport` to
`false` as well.
Note: the language server may still send completion items with
snippets when falsy.
"suggest.fixInsertedWord":~
Inserted word replaces the next one, default: `true`
"suggest.localityBonus":~
Boost suggestions that appear closer to the cursor position,
default: `true`
"suggest.triggerAfterInsertEnter":~
Trigger completion after |InsertEnter|. Requires "suggest.autoTrigger"
to be set, default: `false`
"suggest.timeout":~
Timeout for completion (unit: milliseconds), default: `5000`
"suggest.minTriggerInputLength":~
Number of characters in the current word after which the completion
triggers, default: `1`
"suggest.triggerCompletionWait":~
Delay between typing the trigger character and completion start which
initiates server synchronization, default: `100`
"suggest.echodocSupport":~
Add function signature to `user_data.signature` to support `echodoc.vim`,
default: `false`
"suggest.acceptSuggestionOnCommitCharacter":~
The server provides a set of commit characters: these characters can
trigger completion item acceptance. This also inserts commit character
after the completion item text. Requires `CompleteChanged` event to work,
default: `false`
"suggest.noselect":~
Prevent Vim from selecting the first item on completion start,
default: `true`
"suggest.keepCompleteopt":~
When enabled, 'completeopt' is not overridden. Autocompletion will be
disabled if 'completeopt' doesn't have 'noinsert' and 'noselect',
default: `false`
"suggest.lowPrioritySourceLimit":~
Max items count for source priority lower than `90`.
"suggest.highPrioritySourceLimit":~
Max items count for source priority bigger than or equal to `90`.
"suggest.disableMenuShortcut":~
Disable shortcut of completion source in menu, default: `false`
"suggest.removeDuplicateItems":~
Remove completion items with duplicated word for all sources, snippet
items are excluded, default: `false`
"suggest.defaultSortMethod":~
Default sorting behavior for suggested completion items, default:
`length`
"suggest.invalidInsertCharacters":~
Invalid character for strip valid word when inserting text of complete
item, default: ` ,(,<,{,[,\r,\n`
"suggest.asciiCharactersOnly":~
Suggest ASCII characters only, default: `false`
"suggest.completionItemKindLabels":~
Set custom labels to completion item kinds, default: `{}`.
Example configuration: with https://nerdfonts.com: >
"suggest.completionItemKindLabels": {
"keyword": "\uf1de",
"variable": "\ue79b",
"value": "\uf89f",
"operator": "\u03a8",
"constructor": "\uf0ad",
"function": "\u0192",
"reference": "\ufa46",
"constant": "\uf8fe",
"method": "\uf09a",
"struct": "\ufb44",
"class": "\uf0e8",
"interface": "\uf417",
"text": "\ue612",
"enum": "\uf435",
"enumMember": "\uf02b",
"module": "\uf40d",
"color": "\ue22b",
"property": "\ue624",
"field": "\uf9be",
"unit": "\uf475",
"event": "\ufacd",
"file": "\uf723",
"folder": "\uf114",
"snippet": "\ue60b",
"typeParameter": "\uf728",
"default": "\uf29c"
}
<
*coc-config-documentHighlight*
"documentHighlight.priority":~
Match priority used by document highlight, see ':h matchadd'.
Default `-1`
*coc-config-diagnostic*
"diagnostic.enable":~
Display diagnostics, default: `true`
"diagnostic.highlighLimit":~
Limit count for highlighted diagnostics, too many diagnostic
highlights could make vim stop responding.
default: `1000`
"diagnostic.autoRefresh":~
Enable automatically refresh diagnostics, use
|CocAction('diagnosticRefresh')| action to refresh diagnostics when it's
disabled.
"diagnostic.enableSign":~
Enable signs for diagnostics, default: `true`
"diagnostic.enableMessage":~
When to enable show messages of diagnostics.
Valid options: ["always","jump","never"], always means including
cursor hold and after jump to another diagnostic.
default: `"always"`
"diagnostic.enableHighlightLineNumber":~
Enable highlighting line numbers for diagnostics, only works with
neovim and `diagnostic.enableSign` is true.
default: `true`
"diagnostic.locationlistUpdate"~
Update locationlist on diagnostics change, only works with
locationlist opened by :CocDiagnostics command and first window of
associated buffer.
default: `true`
"diagnostic.level":~
Filter diagnostics by severity, default: `"hint"`
Valid options: ["hint", "information", "warning", "error"]
"diagnostic.messageDelay":~
How long to wait (in milliseconds) before displaying the diagnostic
message with echo or float.
Default: `200`
"diagnostic.checkCurrentLine":~
Show all diagnostics of the current line if none of them are at the
current position, default: `false`
"diagnostic.messageTarget":~
Diagnostic message target, default: `"float"`
Valid options: ["echo", "float"]
"diagnostic.refreshOnInsertMode":~
Refresh diagnostics when in insert mode, default: `false`
"diagnostic.displayByAle":~
Use ALE for displaying diagnostics. This will disable coc.nvim for
displaying diagnostics. Restart to make changes take the effect,
default: `false`
"diagnostic.virtualText":~
Use Neovim virtual text to display diagnostics, default: `false`
"diagnostic.virtualTextAlignRight":~
Make virtual text align to the right of window, default: `false`
"diagnostic.virtualTextWinCol":~
Window column number to align virtual text, default: `null`
"diagnostic.virtualTextCurrentLineOnly":~
Only show virtualText diagnostic on current cursor line, default:
`true`
"diagnostic.virtualTextPrefix":~
The prefix added for virtual text diagnostics, default: `" "`
"diagnostic.virtualTextLines":~
The number of non-empty lines from a diagnostic to display, default: `3`
"diagnostic.virtualTextLineSeparator":~
The text that will mark a line end from the diagnostic message,
default: `" \\ "`
"diagnostic.highlightOffset":~
Offset number of buffer.addHighlight, Neovim only, default: `1000`
"diagnostic.signPriority":~
Priority of diagnostic sign, default to `10`, check |sign-priority|.
"diagnostic.errorSign":~
Sign of error diagnostics shown in the 'signcolumn', default: `">>"`
"diagnostic.warningSign":~
Sign of warning diagnostics shown in the 'signcolumn', default: `"⚠"`
"diagnostic.infoSign":~
Sign of info diagnostics shown in the 'signcolumn', default: `">>"`
"diagnostic.hintSign":~
Sign of hint diagnostics shown in the 'signcolumn', default: `">>"`
"diagnostic.floatConfig"~
Configuration of floating window/popup, see |coc-config-float|.
"diagnostic.filetypeMap":~
A map between buffer filetype and the filetype assigned to diagnostics.
To syntax highlight diagnostics with their parent buffer type use
`"default": "bufferType"`, default: `{}`
"diagnostic.format":~
Define the diagnostic format.
Available parts: source, code, severity, message
Default: `[%source%code] [%severity] %message`
"diagnostic.separateRelatedInformationAsDiagnostics":~
Separate related information as diagnostics, default: `false`
"signature.enable":~
Enable signature help when trigger character typed. Requires service
restart on change, default: `true`
"signature.floatConfig":~
Configuration of floating window/popup for signature documents, see
|coc-config-float|.
"signature.triggerSignatureWait":~
Timeout for signature request trigger (milliseconds), default: `500`.
Change to higher value for slow Language Servers.
"signature.target":~
Target of signature help, use `"float"` when possible by default.
Valid options: ["float", "echo"]
"signature.preferShownAbove":~
Show signature help's floating window above cursor when possible.
Requires restart on change, default: `true`
"signature.hideOnTextChange":~
Hide signature help's floating window when text changed. Requires
restart on change, default: `false`
*coc-config-refactor*
"refactor.saveToFile":~
Save changes to file when write refactor buffer with |:write| command,
set to false if you want save buffer by yourself.
"refactor.openCommand":~
Open command for refactor window, default: `vsplit`
"refactor.beforeContext":~
Print num lines of leading context before each match, default: `3`
"refactor.afterContext":~
Print num lines of trailing context after each match, default: `3`
*coc-config-hover*
"hover.target":~
Target to show hover information, default is floating window when
possible.
Valid options: ["preview", "echo", "float"]
"hover.previewMaxHeight":~
Max height of preview window for hover, default: `12`
"hover.floatConfig":~
Configuration of floating window/popup for hover documents, see
|coc-config-float|.
"hover.autoHide":~
Automatically hide hover float window on CursorMove or InsertEnter,
default `true`.
*coc-config-dialog*
"dialog.maxWidth": ~
Maximum width of dialog window.
"dialog.maxHeight": ~
Maximum height of dialog window.
"dialog.confirmKey":~
Confirm key for confirm selection used by menu and picker, you can
always use <esc> to cancel, default to `<cr>`.
"dialog.pickerButtons":~
Show buttons for picker dialog window/popup, default `true`.
"dialog.pickerButtonShortcut":~
Show shortcut in buttons of picker dialog window/popup, used when
dialog.pickerButtons is true, default `true`.
"dialog.floatHighlight":~
Highlight group for dialog window/popup, default to 'CocFloating'.
"dialog.floatBorderHighlight":~
Highlight group for border of dialog window/popup, default to
'CocFloating'.
*coc-config-notification*
"notification.marginTop": ~
Margin top for notification dialog, default to `1`.
"notification.marginRight": ~
Margin right for notification dialog, default to `1`.
"notification.maxWidth": ~
Maximum content width of notification dialog, default to `60`.
"notification.maxHeight": ~
Maximum content height of notification dialog, default to `10`.
"notification.highlightGroup": ~
Highlight group of notification dialog, default to `CocFloating`.
"notification.minProgressWidth": ~
Minimum width of progress notification, default to `30`.
*coc-config-codelens*
"codeLens.enable":~
Enable `codeLens` feature. Requires Neovim with virtual text feature,
default: `false`.
"codeLens.separator":~
Separator text for `codeLens` in virtual text, default: `"‣"`.
"codeLens.subseparator":~
Subseparator text for multiple `codeLens`es in virtual text, default: `" "`
"workspace.ignoredFiletypes":~
Filetypes to ignore for workspace folder resolution,
default: `["markdown","log","txt","help"]`
Note: This is the filetype after mapping by `g:coc_filetype_map`.
"workspace.bottomUpFiletypes":~
Filetypes that should have workspace folder should resolved from
base directory of file.
"workspace.workspaceFolderCheckCwd":~
Whether the cwd directory should be checked first when resolving
workspace folder of current buffer.
*coc-config-list*
"list.indicator":~
The character used as first character in prompt line, default: `">"`
"list.alignColumns":~
Whether to align lists in columns, default: `false`
"list.height":~
Height of split list window, default: `10`
"list.signOffset":~
Sign offset of list, should be different from other plugins, default:
`900`
"list.selectedSignText":~
Sign text for selected lines, default: `"*"`
"list.limitLines":~
Limit lines shown in the list buffer, default: `30000`
"list.maxPreviewHeight":~
Max height for preview window of list, default: `12`
"list.matchHighlightGroup":~
Highlight group used for matched texts in list window.
default: `"Search"`
"list.previewHighlightGroup":~
Highlight group used for highlighting the range in preview window,
default: `"Search"`
"list.previewToplineStyle":~
Topline style for list previews
default: `"offset"`
Valid options: ["offset","middle"]
"list.previewToplineOffset":~
Topline offset for list previews
default: `3`
"list.nextKeymap":~
Key for selecting next line in the insert mode, default: `"<C-j>"`
"list.previousKeymap":~
Key for selecting previous line in the insert mode, default: `"<C-k>"`
"list.extendedSearchMode": ~
Enable extended search mode which allows multiple search patterns
delimited by spaces, default: `true`
"list.normalMappings":~
Custom key mappings in the normal mode, default: `{}`
"list.insertMappings":~
Custom key mappings in the insert mode, default: `{}`
"list.interactiveDebounceTime":~
Debounce time for input change on interactive mode, default: `100`
"list.previewSplitRight":~
Use vsplit for preview window, default: `false`
"list.source.symbols.excludes":~
Patterns of minimatch for filepath to exclude from symbols list,
default: `[]`
"list.source.outline.ctagsFilestypes":~
Filetypes that should use `ctags` for outline instead of language server,
default: `[]`
"list.source.diagnostics.pathFormat":~
Decide how the filepath is shown in the list.
Valid options: ["full", "short", "filename", "hidden"].
default: `"full"`
"list.source.diagnostics.includeCode":~
Whether to show the diagnostic code in the list.
default: `true`
*coc-config-preferences*
"coc.preferences.enableMessageDialog"~
Enable messages shown in notification dialog, default: `false`
"coc.preferences.maxFileSize":~
Maximum file size in bytes that coc.nvim should handle, default: `'10MB'`
"coc.preferences.promptWorkspaceEdit":~
Prompt confirm from user for workspace edit.
default: `true`
"coc.preferences.useQuickfixForLocations":~
Use Vim's quickfix list for jump locations. Requires restart on change,
default: `false`
"coc.preferences.extensionUpdateCheck":~
Interval for checking extension updates, default: `"daily"`
Valid options: ["daily","weekly","never"]
"coc.preferences.snippetStatusText":~
Text shown in 'statusline' to indicate snippet session is activate.
Check |coc-status| for statusline integration.
Default: `"SNIP"`
"coc.preferences.colorSupport":~
Enable color highlight if Language Server support it, default: `true`
"coc.preferences.currentFunctionSymbolAutoUpdate":~
Automatically update the value of `b:coc_current_function` on `CursorHold`
event, default: `false`
"coc.preferences.formatOnSaveFiletypes":~
Filetypes for which formatting triggers after saving, default: `[]`
Note: This is the filetype after mapping by `g:coc_filetype_map`.
"coc.preferences.enableFloatHighlight":~
Enable highlight for floating window, default: `true`
"coc.preferences.rootPatterns":~
Root patterns to resolve `workspaceFolder` from parent folders of opened
files, resolved from up to down, default:
`[".git",".hg",".projections.json"]`
"coc.preferences.watchmanPath":~
Executable path for https://facebook.github.io/watchman/, detected
from $PATH by default, default: `null`
"coc.preferences.jumpCommand":~
Command used for location jump performed for goto definition, goto
references etc, default: `"edit"`
Valid options: ["edit", "split", "vsplit", "tabe", "drop", "tab drop"]
"coc.preferences.messageLevel":~
Message level for filter echoed messages default: `"more"`
Valid options: ["more", "warning", "error"]
"coc.preferences.formatOnType":~
Set to true to enable format on type, default: `false`
"coc.preferences.bracketEnterImprove":~
Improve handling of pressing enter inside brackets (`<> {} [] ()`) by
create a new empty line in the middle, the indent is calculated by vim,
checkout |indentexpr| for details.
Works with |coc#on_enter()|, default: `true`
"coc.preferences.formatOnTypeFiletypes":~
Filetypes that should run format on typing, default: `[]`
Note: takes effect when `coc.preferences.formatOnType` set `true`.
Note: This is the filetype after mapping by `g:coc_filetype_map`.
"coc.preferences.listOfWorkspaceEdit":~
List should contains changed locations after workspace edit, default
to vim's quickfix, default: `quickfix`
"coc.preferences.floatActions":~
Set to false to disable float/popup support for actions menu.
Default: `true`
"coc.preferences.promptInput":~
Use prompt buffer in float window for user input.
Default: `true`
"coc.preferences.enableMarkdown":~
Tell the language server that markdown text format is supported,
note that you may have additional escaped characters for markdown
text.
"coc.preferences.silentAutoupdate"~
Not open split window with update status when performing auto update.
"coc.preferences.willSaveHandlerTimeout"~
Will save handler timeout, default: `500`
"coc.preferences.semanticTokensHighlights"~
Enable semanticTokens highlight if language server support it.
Default: `true`
Note: this configuration is expected to change in the future.
"coc.preferences.renameFillCurrent"~
Disable to stop Refactor-Rename float/popup window from populating
with old name in the New Name field.
Default: `true`
*coc-config-cursors*
"cursors.cancelKey":~
Key used for cancel cursors session, default: `<esc>`
"cursors.nextKey":~
Key used for jump to next cursors position. , default: `<C-n>`
"cursors.previousKey":~
Key used for jump to previous cursors position, default: `<C-p>`
*coc-config-tree*
"tree.closedIcon": ~
Closed icon of tree view, use '' to make it look better when you
have patched font, default: '+'.
"tree.openedIcon": ~
Opened icon of tree view, use '' to make it look better when you
have patched font, default: '-'
"tree.key.toggleSelection":~
Trigger key to select/unselect item, default: <space>
"tree.key.toggle":~
Trigger key to toggle expand state of tree node, default: 't'
"tree.key.actions":~
Trigger key to invoke actions, default: <tab>
"tree.key.collapseAll":~
Trigger key to collapse all tree node, default: 'M'
"tree.key.invoke":~
Trigger key to invoke default command of current node or selection,
default: <cr>
"tree.key.close":~
Trigger key to dispose the tree and close tree window, default: <esc>
"tree.key.activeFilter":~
Trigger key active filter, only works when tree view support filter,
default: 'f'
"tree.key.selectNext":~
Trigger key to select next item during filter, default <C-j>
"tree.key.selectPrevious":~
Trigger key to select previous item during filter, default <C-k>
*coc-config-outline*
"outline.splitCommand":~
Window split command used by outline, default 'botright 30vs'
"outline.followCursor":~