mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 16:31:33 +00:00
Parse " (Hidden)" and cope with it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34a92b7f82
commit
88b3a68490
@ -155,6 +155,13 @@ function! ClangComplete(findstart, base)
|
||||
let l:value = l:value[:l:spacecolonspace-1]
|
||||
endif
|
||||
|
||||
" Chop off " (Hidden)", if present, and move it to the menu.
|
||||
let l:hidden = stridx(l:value, " (Hidden)")
|
||||
if l:hidden != -1
|
||||
let l:menu .= " (Hidden)"
|
||||
let l:value = l:value[:l:hidden-1]
|
||||
endif
|
||||
|
||||
" Handle Pattern. TODO: Make clang less weird.
|
||||
if l:value == "Pattern"
|
||||
let l:value = l:menu
|
||||
|
Loading…
x
Reference in New Issue
Block a user