James McCoy wrote:
> Since +autocmd was graduated, running a vim built with small/tiny
> features will attempt to perform filetype detection. This fails loudly
> because there is no +eval.
>
> $ ./src/vim --version
> VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 17 2019 22:20:05)
> Included patches: 1-946
> Compiled by jamessan@odin
> Small version without GUI. Features included (+) or not (-):
> +acl -extra_search -mouse_sgr -tcl
> -arabic -farsi -mouse_sysmouse -termguicolors
> +autocmd -file_in_path -mouse_urxvt -terminal
> -autochdir -find_in_path -mouse_xterm +terminfo
> -autoservername -float +multi_byte -termresponse
> -balloon_eval -folding -multi_lang -textobjects
> -balloon_eval_term -footer -mzscheme -textprop
> -browse +fork() -netbeans_intg -timers
> +builtin_terms -gettext -num64 -title
> -byte_offset -hangul_input -packages -toolbar
> -channel +iconv -path_extra -user_commands
> -cindent -insert_expand -perl -vartabs
> -clientserver -job -persistent_undo +vertsplit
> -clipboard +jumplist -printer +virtualedit
> -cmdline_compl -keymap -profile +visual
> +cmdline_hist -lambda -python +visualextra
> -cmdline_info -langmap -python3 -viminfo
> -comments -libcall -quickfix +vreplace
> -conceal -linebreak -reltime +wildignore
> -cryptv -lispindent -rightleft -wildmenu
> -cscope +listcmds -ruby +windows
> +cursorbind -localmap +scrollbind +writebackup
> -cursorshape -lua -signs -X11
> -dialog -menu -smartindent -xfontset
> -diff -mksession -startuptime -xim
> -digraphs -modify_fname -statusline -xpm
> -dnd -mouse -sun_workshop -xsmp
> -ebcdic -mouse_dec -syntax -xterm_clipboard
> -emacs_tags -mouse_gpm +tag_binary -xterm_save
> -eval -mouse_jsbterm -tag_old_static
> +ex_extra -mouse_netterm -tag_any_white
> system vimrc file: "$VIM/vimrc"
> user vimrc file: "$HOME/.vimrc"
> 2nd user vimrc file: "~/.vim/vimrc"
> user exrc file: "$HOME/.exrc"
> defaults file: "$VIMRUNTIME/defaults.vim"
> fall-back for $VIM: "/usr/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=1
> Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lm -ltinfo
> -lselinux -lacl -lattr -lgpm -ldl
>
> $ ./src/vim --clean
> Error detected while processing /usr/share/vim/vim81/filetype.vim:
> line 10:
> E319: Sorry, the command is not available in this version: let
> did_load_filetypes = 1
> line 13:
> E319: Sorry, the command is not available in this version: let s:cpo_save =
> &cpo
> line 45:
> E319: Sorry, the command is not available in this version: func!
> s:StarSetf(ft)
> ...
Strange that this wasn't mentioned before. Very few users must use the
tiny version then.
Skipping the line in defaults.vim that enables filetype detection fixes
it for me. Anything else that causes trouble?
--
The fastest way to get an engineer to solve a problem is to declare that the
problem is unsolvable. No engineer can walk away from an unsolvable problem
until it's solved.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.