summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDonnie West <me@donniewest.com>2019-10-29 20:12:05 -0500
committerDonnie West <me@donniewest.com>2019-11-08 16:44:05 -0600
commite2a67812de81f9316710ce4ad52c2c461f2a1787 (patch)
treea2ea72ed77c0b11812a4bffdcf3175d3f15e29fd /doc
parente6ee613e001bdf94bd4ba75d03fd8deaf0d0e5b5 (diff)
downloadale-e2a67812de81f9316710ce4ad52c2c461f2a1787.zip
Add tagged entry for symbols to documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index f2f915c8..64e8a574 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -706,6 +706,47 @@ g:ale_completion_excluded_words *g:ale_completion_excluded_words*
let b:ale_completion_excluded_words = ['it', 'describe']
<
+g:ale_completion_symbols *g:ale_completion_symbols*
+
+ Type: |Dictionary|
+
+
+ A mapping from completion types to symbols for completions. See
+ |ale-symbols| for more information.
+
+ By default, this mapping only uses built in Vim completion kinds, but it can
+ be updated to use any unicode character for the completion kind. For
+ example: >
+ let g:ale_completion_symbols = {
+ \ 'text': '',
+ \ 'method': '',
+ \ 'function': '',
+ \ 'constructor': '',
+ \ 'field': '',
+ \ 'variable': '',
+ \ 'class': '',
+ \ 'interface': '',
+ \ 'module': '',
+ \ 'property': '',
+ \ 'unit': 'v',
+ \ 'value': 'v',
+ \ 'enum': 't',
+ \ 'keyword': 'v',
+ \ 'snippet': 'v',
+ \ 'color': 'v',
+ \ 'file': 'v',
+ \ 'reference': 'v',
+ \ 'folder': 'v',
+ \ 'enum_member': 'm',
+ \ 'constant': 'm',
+ \ 'struct': 't',
+ \ 'event': 'v',
+ \ 'operator': 'f',
+ \ 'type_parameter': 'p',
+ \ '<default>': 'v'
+ \ })
+<
+
g:ale_completion_max_suggestions *g:ale_completion_max_suggestions*
Type: |Number|