Skip to content

E121: Undefinierte Variable: b:undo_ftplugin #42

@krischik

Description

@krischik

When starting GVim on an Ada project on the following errors are displayed.

image

In this case GVim is started with in server mode with the following script populating the tag list with all ada sources:

pushd "${PROJECT_HOME}/${in_Sub_Project}"
    gvim --servername "${PROJECT_NAME}"			    \
	1>~/Library/Logs/${PROJECT_NAME}-${0:t:r}.out	    \
	2>~/Library/Logs/${PROJECT_NAME}-${0:t:r}.err	    &

    sleep 5;

    if test -e "${PROJECT_HOME}/Utilities/Functions.vim"; then
	gvim --servername "${PROJECT_NAME}" --remote-send ":source ${PROJECT_HOME}/Utilities/Functions.vim<CR>"
    fi

    gvim --servername "${PROJECT_NAME}"	--remote-send ":TlistToggle<CR>"

    if test -e alire.toml; then
	gvim --servername "${PROJECT_NAME}" --remote-send ":TlistAddFiles ${PROJECT_HOME}/${in_Sub_Project}/src/*.ad?<CR>"

	if test -e "src/${in_Sub_Project}.ads"; then
	    gvim --servername "${PROJECT_NAME}" --remote-send ":edit src/${in_Sub_Project}.ads<CR>"
	elif test -e "src/${in_Sub_Project}.adb"; then
	    gvim --servername "${PROJECT_NAME}" --remote-send ":edit src/${in_Sub_Project}.adb<CR>"
	else
	    gvim --servername "${PROJECT_NAME}"	--remote-send ":compiler alire<CR>"
	fi
    fi

popd;

It seems that the compiler plugin is loaded before the filetype plugin.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions