Bug ID 1205034
Summary vim-plugin-salt errors in sls.vim (NERDCustomDelimiters)
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee screening-team-bugs@suse.de
Reporter georg.pfuetzenreuter@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hi,

after installing `vim-plugin-salt`, opening .sls files in Vim presents the
following:

(1/1) Installing: vim-plugin-salt-20170630-51.1.noarch ...[done]
$ vim director.sls
Error detected while processing
/usr/share/vim/vim90/suse.vimrc[10]../usr/share/vim/vim90/syntax/syntax.vim[43]..BufRead
Autocommands for "*.sls"..function DetectSls[5]..FileType Autocommands for
"*"..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script
/usr/share/vim/site/syntax/sls.vim:
line   67:
E723: Missing end of Dictionary '}': 
line   68:
E10: \ should be followed by /, ? or &
line   69:
E10: \ should be followed by /, ? or &
Press ENTER or type command to continue

Opening non-.sls files still works.

I can work around the issue by editing /usr/share/vim/site/syntax/sls.vim and
commenting the following lines:

 67 " let g:NERDCustomDelimiters = {
 68 "   \ 'sls': { 'left': '#' },
 69 " \ }

However I don't actually know what this does.

Maybe someone here does? :-)


You are receiving this mail because: