Mercurial > vim
comparison runtime/autoload/haskellcomplete.vim @ 25773:11b656e74444
Update runtime files
Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 21:55:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 22:00:10 +0200 |
parents | 8ac85adee561 |
children |
comparison
equal
deleted
inserted
replaced
25772:55753c17b73d | 25773:11b656e74444 |
---|---|
52 return start | 52 return start |
53 endif | 53 endif |
54 | 54 |
55 if b:completingLangExtension | 55 if b:completingLangExtension |
56 if a:base ==? "" | 56 if a:base ==? "" |
57 " Return all posible Lang extensions | 57 " Return all possible Lang extensions |
58 return s:langExtensions | 58 return s:langExtensions |
59 else | 59 else |
60 let l:matches = [] | 60 let l:matches = [] |
61 for extension in s:langExtensions | 61 for extension in s:langExtensions |
62 if extension =~? '^' . a:base | 62 if extension =~? '^' . a:base |
68 endif | 68 endif |
69 | 69 |
70 | 70 |
71 elseif b:completingOptionsGHC | 71 elseif b:completingOptionsGHC |
72 if a:base ==? "" | 72 if a:base ==? "" |
73 " Return all posible GHC options | 73 " Return all possible GHC options |
74 return s:optionsGHC | 74 return s:optionsGHC |
75 else | 75 else |
76 let l:matches = [] | 76 let l:matches = [] |
77 for flag in s:optionsGHC | 77 for flag in s:optionsGHC |
78 if flag =~? '^' . a:base | 78 if flag =~? '^' . a:base |
84 endif | 84 endif |
85 | 85 |
86 | 86 |
87 elseif b:completingModule | 87 elseif b:completingModule |
88 if a:base ==? "" | 88 if a:base ==? "" |
89 " Return all posible modules | 89 " Return all possible modules |
90 return s:commonModules | 90 return s:commonModules |
91 else | 91 else |
92 let l:matches = [] | 92 let l:matches = [] |
93 for module in s:commonModules | 93 for module in s:commonModules |
94 if module =~? '^' . a:base | 94 if module =~? '^' . a:base |