Closed alexeygumirov closed 3 years ago
I think it is typo in the floaterm.py code. I checked the plugin functions and there is floaterm#util#getbuflines
function (with s in the end).
I changed function name locally on my PC in the floaterm.py and error is gone.
Please, fix the typo in the repo.
BR, Alexey
Thanks for pointing it out. I'll fix it tomorrow as I am on the bed now... Or could it be convenient for you to draft a PR?
Thanks for pointing it out. I'll fix it tomorrow as I am on the bed now... Or could it be convenient for you to draft a PR?
I made PR.
Sorry for the late.... Slept last night
Describe the bug
I am using Deoplete with Floaterm. When I enable Deoplete and start getting auto-completion options, I have the following exception:
It looks like floaterm.py in the Python code for Deoplete calls non-existing function
floaterm#util#getbufline
. I re-installed floaterm and then I just checked the source code here in repo. I got the same exception.To Reproduce
call plug#end() color PaperColor set termguicolors let g:airline_theme='papercolor' syntax on set autoindent set nocompatible set inccommand=split set encoding=utf-8 set path+=** set shell=/usr/bin/bash set number relativenumber set showcmd filetype indent on filetype plugin on set wildmenu set showmatch set incsearch set hlsearch set ignorecase set smartcase set cursorline set hidden let mapleader = " " set splitbelow splitright
let g:deoplete#enable_at_startup = 0 autocmd Filetype python call deoplete#enable() autocmd Filetype markdown call deoplete#enable() autocmd Filetype javascript call deoplete#enable() autocmd Filetype sh call deoplete#enable() autocmd Filetype go call deoplete#enable()
command! LF FloatermNew lf let g:floaterm_height = 0.9 let g:floaterm_width = 0.9 let g:floaterm_rootmarkers = ['.git', '.gitignore'] hi Floaterm guibg=black let g:lf_replace_netrw = 1 let g:lf_map_keys = 0 nmapo :LF
Screenshots(Optional, GIF is better)