Mercurial > vim-gutentags
comparison doc/gutentags.txt @ 218:d7fdcb1c6a65
Merge pull request 170 from Github.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 12 Jun 2018 21:57:22 -0700 |
parents | 39547ffc8867 fcb0415dceac |
children | 34aa86c552db |
comparison
equal
deleted
inserted
replaced
216:425157bdd024 | 218:d7fdcb1c6a65 |
---|---|
233 lets you completely control what the status line will print. | 233 lets you completely control what the status line will print. |
234 | 234 |
235 For instance: | 235 For instance: |
236 function! s:get_gutentags_status(mods) abort | 236 function! s:get_gutentags_status(mods) abort |
237 let l:msg = '' | 237 let l:msg = '' |
238 if index(a:mods, 'ctags') > 0 | 238 if index(a:mods, 'ctags') >= 0 |
239 let l:msg .= '♨' | 239 let l:msg .= '♨' |
240 endif | 240 endif |
241 if index(a:mods, 'cscope') > 0 | 241 if index(a:mods, 'cscope') >= 0 |
242 let l:msg .= '♺' | 242 let l:msg .= '♺' |
243 endif | 243 endif |
244 return l:msg | 244 return l:msg |
245 endfunction | 245 endfunction |
246 | 246 |