Skip to content

Commit 6dff9d0

Browse files
committed
Improve docstring
1 parent f2f90d4 commit 6dff9d0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

haskell-completions.el

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,17 @@ situation, e.g. is it needed to complete pragma, module name,
252252
arbitrary identifier, etc. Returns nil in case it is
253253
impossible to grab prefix.
254254
255+
Possible prefix types are:
256+
257+
* haskell-completions-pragma-name-prefix
258+
* haskell-completions-ghc-option-prefix
259+
* haskell-completions-language-extension-prefix
260+
* haskell-completions-module-name-prefix
261+
* haskell-completions-identifier-prefix
262+
* haskell-completions-general-prefix
263+
264+
the last type is used in cases when completing things inside comments.
265+
255266
If provided optional MINLEN parameter this function will return
256267
result only if prefix length is not less than MINLEN."
257268
(when (haskell-completions-can-grab-prefix)

0 commit comments

Comments
 (0)