xaizek / vim-inccomplete (License: Vim) (since 2018-12-07)
Vim plugin for #include directive completion in C family of languages.
Commit ff258993f688ab515d9e2b100f8577a636911d7c

Group files from the same source together
Author: xaizek
Author date (UTC): 2019-04-19 10:02
Committer name: xaizek
Committer date (UTC): 2019-04-19 10:02
Parent(s): 1ae4bd8e6228e13a6fd833ced5e341aa041b1484
Signing key: 99DC5E4DB05F6BE2
Tree: c7336054655c7ff4f36476eb9dc87d6a16404930
File Lines added Lines deleted
plugin/inccomplete.vim 7 1
File plugin/inccomplete.vim changed (mode: 100644) (index 1e1ce74..62c1598)
1 1 " Name: inccomplete " Name: inccomplete
2 2 " Author: xaizek <xaizek@posteo.net> " Author: xaizek <xaizek@posteo.net>
3 " Version: 1.8.49
3 " Version: 1.8.50
4 4 " License: Same terms as Vim itself (see :help license) " License: Same terms as Vim itself (see :help license)
5 5 " "
6 6 " See :help inccomplete for documentation. " See :help inccomplete for documentation.
 
... ... function s:IgnoreCaseComparer(i1, i2)
245 245 if a:i1['dir'] != a:i2['dir'] if a:i1['dir'] != a:i2['dir']
246 246 return a:i1['dir'] ? -1 : 1 return a:i1['dir'] ? -1 : 1
247 247 endif endif
248 if a:i1['menu'] != a:i2['menu']
249 return a:i1['menu'] < a:i2['menu'] ? -1 : 1
250 endif
248 251 return a:i1['abbr'] == a:i2['abbr'] ? 0 : return a:i1['abbr'] == a:i2['abbr'] ? 0 :
249 252 \ (a:i1['abbr'] > a:i2['abbr'] ? 1 : -1) \ (a:i1['abbr'] > a:i2['abbr'] ? 1 : -1)
250 253 endfunction endfunction
 
... ... function s:Comparer(i1, i2)
252 255 if a:i1['dir'] != a:i2['dir'] if a:i1['dir'] != a:i2['dir']
253 256 return a:i1['dir'] ? -1 : 1 return a:i1['dir'] ? -1 : 1
254 257 endif endif
258 if a:i1['menu'] != a:i2['menu']
259 return a:i1['menu'] < a:i2['menu'] ? -1 : 1
260 endif
255 261 return a:i1['abbr'] ==# a:i2['abbr'] ? 0 : return a:i1['abbr'] ==# a:i2['abbr'] ? 0 :
256 262 \ (a:i1['abbr'] ># a:i2['abbr'] ? 1 : -1) \ (a:i1['abbr'] ># a:i2['abbr'] ? 1 : -1)
257 263 endfunction endfunction
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vim-inccomplete

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vim-inccomplete

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master