question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown function LfDefineDefaultColors

See original GitHub issue
  • vim or neovim?
    • vim
    • neovim
  • Output of vim --version or nvim --version: vim8.2-754, neovim-0.5-558
  • Output of :py3 print(sys.version): 3.8.3
  • Output of :echo g:Lf_Debug_Cmd: rg --no-messages --files -g “!.git” -g “!.svn” -g “!.hg” --hidden
  • Output of :echo g:Lf_FilesFromCache: 1
  • Operating system:
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Configurations related to LeaderF in vimrc:
    let g:Lf_CacheDirectory = $DotVimPath
    "let g:Lf_WindowPosition = 'popup'
    "let g:Lf_PreviewInPopup = 1
    let g:Lf_PreviewResult = {'Function': 0, 'BufTag': 0}
if s:gset.use_powerfont
    let g:Lf_StlSeparator = {'left': '', 'right': ''}
else
    let g:Lf_StlSeparator = {'left': '', 'right': ''}
endif
    let g:Lf_ShowDevIcons = 0
    let g:Lf_ShortcutF = ''
    let g:Lf_ShortcutB = ''
    let g:Lf_ReverseOrder = 1
    let g:Lf_ShowHidden = 1
    let g:Lf_GtagsAutoGenerate = 0
    let g:Lf_Gtagslabel = 'native-pygments'
    let g:Lf_WildIgnore = {
        \ 'dir': ['.git', '.svn', '.hg'],
        \ 'file': []
        \ }

Describe your question, feature request, or bug.

已经update到最新版leaderf,执行LeaderfFile命令,使用popup正常,不使用popup时,出现“Unknown function LfDefineDefaultColors”

目前,发现通过注释掉

https://github.com/Yggdroot/LeaderF/blob/adf7bb88039f1732f82401812e2a3c8baed8ac92/autoload/leaderf/colorscheme/popup.vim#L229

这一行时,在自己电脑上 使用popup和不使用popup 都可以正常工作。

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Yggdrootcommented, Jun 24, 2020

Fixed.

0reactions
likelxlcommented, Jul 17, 2020

测试了下,plug没问题,但是我在公司用的也是pack形式,奇怪 这个命令都输出不了 echo g:Lf_fuzzyEngine_C

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I specify a default Color parameter in C# 4.0?
To use a default, you can make the parameter nullable ( Color? ), and if it is null, then set it to Black....
Read more >
Default theme will be loaded regardless of theme.config #736
What i'm trying to do is have the FUI primary color be bounded to a css var(), the main issue is the usage...
Read more >
Colors and color functions
n specifies the number of desired colors (with a default of n = "all" ). ... newpal() allows defining new color palettes (as...
Read more >
Setting up Color Palettes in R
R has some default colors ready to go, but it's only natural to want to play around and try some different combinations. In...
Read more >
Setting Default Parameters | SamanthaMing.com
With ES6, you can set the default value right inside the function parameters... ... The default value only kicks if no value or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found