close-buffers.vim icon indicating copy to clipboard operation
close-buffers.vim copied to clipboard

Error on function 97_bclose

Open frannylac opened this issue 2 years ago • 0 comments

Hello,

Version: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 13 2020 15:49:09) .vimrc:

" #############################################################################
set nocompatible
filetype off

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'digitaltoad/vim-pug'
Plugin 'othree/html5.vim'
Plugin 'JamshedVesuna/vim-markdown-preview'
Plugin 'preservim/nerdtree'
Plugin 'groenewege/vim-less'
Plugin 'Asheq/close-buffers.vim'

call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
" #############################################################################

" SINTAXIS MONOKAY
syntax on
colorscheme monokai

" 4 ESPACIOS PARA TABULAR
set tabstop=4
" AL INSERTAR >, USAR 4 ESPACIOS
set shiftwidth=4
" INTERCAMBIAR TABULADO POR ESPACIOS
set expandtab
" AUTO IDENTACIÓN
set autoindent
" MOSTRAR NROS DE LÍNEA
set number
" MOSTRAR COMO TÍTULO DE VENTANA, EL NOMBRE DE ARCHIVO ABIERTO EN EL BUFFER
" ACTUAL
set titlestring=%t
" MARKDOWN PREVIEW
let vim_markdown_preview_github=1

" AVOID WRAPPING END OF LINE
set nowrap

" PHPFOLDING
map <F5> <Esc>:EnableFastPHPFolds<Cr>
map <F6> <Esc>:EnablePHPFolds<Cr>
map <F7> <Esc>:DisablePHPFolds<Cr>

" NERDTree: OPEN TREE WITH KEY
nnoremap <F8> <Esc>:NERDTree<CR>

" Vim-Less
nnoremap <Leader>m :w <BAR> !lessc % > %:p:r.css<CR><space>
nnoremap <Leader>dm :w <BAR> !lessc % > %:p:r.css

When I use :Bdelete hidden I got this error:

Se ha detectado un error al procesar function <SNR>97_bclose:
línea    1
E117: Función desconocida: trim
E15: La expresión no es válida: trim(a:option)
línea    2
E121: Variable sin definir: l:option
E116: Argumentos inválidos para la función: index(s:options, l:option) < 0
E15: La expresión no es válida: index(s:options, l:option) < 0
línea    6
E121: Variable sin definir: l:option
E15: La expresión no es válida: (l:option == 'menu')

After enter key pressed nothing happens.

If I'll found a solution, I will post again. Regards

frannylac avatar Aug 27 '21 16:08 frannylac