I'm a new user and I have just installed GVim on my linux. I just have ~/.vimrc file and no .vim folder may be because I did not install any plugins.
When I try to refresh (by :e) or reopen the buffer containing a specific type of files (*.inp). I get the following error.
Error detected while processing BufRead Autocommands for "*.inp"..function dist#ft#Check_inp..FileType Autocommands for "*"..function <SNR>17_LoadFTPlugin: line 3: E1269: Cannot create a Vim9 script variable in a function: s:cpo_save
My ~/.vimrc looks as follows:
colorscheme evening set guifont=Monospace\ 11 " visualizes line number set number set nocompatible syntax enable syntax on " autoupdates file set autoread filetype plugin indent on " sets the window to maximized when opened set lines=999 columns=999 " updates file after buffer change au FocusGained,BufEnter *.* :checktime " keymap for :e = reloading the current buffer nnoremap <F5> :edit<CR> " list the contents of the current folder nnoremap <F6> :!ls<CR> " source ~/.vimrc nnoremap <F7> :so $MYVIMRC<CR>
Could somebody please explain to me why I get this message and how to solve it ?