- vim or neovim?
vim --version or nvim --version:
NVIM v0.3.0-dev
Build type: RelWithDebInfo
Lua 5.1
Compilation: /usr/bin/x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/neovim-xCPrEf/neovim-0.2.2ubuntu2+git201804222147-ffb8904-f2f288d/build/config -I/build/neovim-xCPrEf/neovim-0.2.2ubuntu2+git201804222147-ffb8904-f2f288d/src -I/build/neovim-xCPrEf/neovim-0.2.2ubuntu2+git201804222147-ffb8904-f2f288d/.deps/usr/include -I/usr/include -I/build/neovim-xCPrEf/neovim-0.2.2ubuntu2+git201804222147-ffb8904-f2f288d/build/src/nvim/auto -I/build/neovim-xCPrEf/neovim-0.2.2ubuntu2+git201804222147-ffb8904-f2f288d/build/include
Compiled by buildd@lcy01-amd64-007
- Output of
:echo has("python"): 0
- Output of
:echo has("python3"): 1
- Output of
:echo &pythondll(only vim, not neovim):
- Output of
:echo &pythonthreedll(only vim, not neovim):
- Output of
:py print(sys.version):
- Output of
:py3 print(sys.version):
- Operating system:
- Configurations related to LeaderF in vimrc:
" LeaderF
let g:Lf_ShortcutF = '<leader>ff'
let g:Lf_ShortcutB = '<leader>fb'
nnoremap <leader>fm :LeaderfMru<cr>
nnoremap <leader>fc :LeaderfFunction<cr>
nnoremap <leader>ft :LeaderfTag<cr>
let g:Lf_RootMarkers = g:root_markers
let g:Lf_WorkingDirectoryMode = 'Ac'
let g:Lf_WindowHeight = 0.35
let g:Lf_CacheDirectory = expand('~/.vim/cache')
let g:Lf_ShowRelativePath = 1
let g:Lf_StlColorscheme = 'default'
let g:Lf_StlSeparator = { 'left': '', 'right': '' }
let g:Lf_NormalMap = {
\ "File": [["<ESC>", ':exec g:Lf_py "fileExplManager.quit()"<CR>'],
\ ["<F6>", ':exec g:Lf_py "fileExplManager.quit()"<CR>'] ],
\ "Buffer": [["<ESC>", ':exec g:Lf_py "bufExplManager.quit()"<CR>'],
\ ["<F6>", ':exec g:Lf_py "bufExplManager.quit()"<CR>'] ],
\ "Mru": [["<ESC>", ':exec g:Lf_py "mruExplManager.quit()"<CR>']],
\ "Tag": [["<ESC>", ':exec g:Lf_py "tagExplManager.quit()"<CR>']],
\ "Function": [["<ESC>", ':exec g:Lf_py "functionExplManager.quit()"<CR>']],
\ "Colorscheme": [["<ESC>", ':exec g:Lf_py "colorschemeExplManager.quit()"<CR>']],
\ }
Steps to reproduce
project organization:
<project_root>
.git
src
a.py
b.py
...
Run vim a.py in src, then run LeaderfFile, try to find b.py
Actual behaviour
leaderf try to open src/b.py instead of b.py, which is invalid.
Expected behaviour
open b.py
vim --versionornvim --version::echo has("python"): 0:echo has("python3"): 1:echo &pythondll(only vim, not neovim)::echo &pythonthreedll(only vim, not neovim)::py print(sys.version)::py3 print(sys.version):Steps to reproduce
project organization:
Run
vim a.pyinsrc, then runLeaderfFile, try to findb.pyActual behaviour
leaderf try to open
src/b.pyinstead ofb.py, which is invalid.Expected behaviour
open
b.py