Skip to content

Commit

Permalink
Update the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jan 23, 2020
1 parent b37aa44 commit 69f26bf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,7 @@ If Deoppet was installed prior to Python support being added to Neovim,
## Configuration Examples

```vim
call deoppet#initialize()
call deoppet#custom#option('snippets_dirs',
\ globpath(&runtimepath, 'neosnippets', 1, 1))
```
16 changes: 12 additions & 4 deletions doc/deoppet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,28 @@ deoppet#custom#option({dict})
buffer.
If {dict} is available, the key is {option-name} and the value
is {value}.
Note: The all options are in |deoppet-options|. >
Note: The all options are in |deoppet-options|.

call deoppet#custom#option({
\ })
<
------------------------------------------------------------------------------
KEY MAPPINGS *deoppet-key-mappings*

------------------------------------------------------------------------------
OPTIONS *deoppet-options*

*deoppet-options-snippets_dir*
snippets_dirs
Snippets directories list.
Note: deoppet does not include any of default snippets.
To load snippets, you need to set the option.

Default: []

==============================================================================
EXAMPLES *deoppet-examples*
>
call deoppet#initialize()
call deoppet#custom#option('snippets_dirs',
\ globpath(&runtimepath, 'neosnippets', 1, 1))
<
==============================================================================
FREQUENTLY ASKED QUESTIONS (FAQ) *deoppet-faq*
Expand Down

0 comments on commit 69f26bf

Please sign in to comment.